looking for a platform for handling business objects as well as application flow so people would not have to hard code each page transition and each business logic step in php.
What do people recommend?
What is a good platform for writing complex web apps in php?
You can use of of the many php MVC Framework. One of the most used one is phpMVC.
Quoted from their website "php.MVC implements the Model-View-Controller (MVC) design pattern, and encourages application design based on the Model 2 paradigm. This design model allows the Web page or other contents (View) to be mostly separated from the internal application code (Controller/Model), making it easier for designers and programmers to focus on their respective areas of expertise.
The framework provides a single entry point Controller. The Controller is responsible for allocating HTTP requests to the appropriate Action handler (Model) based on configuration mappings.
The Model contains the business logic for the application. The Controller then forwards the request to the appropriate View component, which is usually implemented using a combination of HTML with PHP tags in the form of templates. The resulting contents are returned to the client browser, or via another protocol such as SMTP.
php.MVC is a PHP port of Jakarta Struts. It currently supports many features of Struts, including declarative application configuration via the XML digester. For example, mappings from the various Action business logic components to appropriate results pages can be specified declaratively in the XML configuration file. "
Reply:Please consider that a "Good Platform" would take into account the environement that the application will be run in, goals for the application, and who is going to maintain the application.
I have successfully used Blueshoes, and Seagull in several contract projects. Blueshoes is pretty complex and has a learning curve, but is extremely useful framework, it also has some licensing restrictions that keep it in the corporate arena.
Seagull is actively developed and completely free. Seagull has TONS of documentation and a very active community.
Hope this helps.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment