| | 3 | Trax is a web-application and persistance framework that includes everything |
| | 4 | needed to create database-backed web-applications according to the |
| | 5 | Model-View-Control pattern of separation. This pattern splits the view (also |
| | 6 | called the presentation) into "dumb" templates that are primarily responsible |
| | 7 | for inserting pre-build data in between HTML tags. The model contains the |
| | 8 | "smart" domain objects (such as Account, Product, Person, Post) that holds all |
| | 9 | the business logic and knows how to persist themselves to a database. The |
| | 10 | controller handles the incoming requests (such as Save New Account, Update |
| | 11 | Product, Show Post) by manipulating the model and directing data to the view. |
| 4 | | |
| | 13 | In Trax, the model is handled by what's called a object-relational mapping |
| | 14 | layer entitled Active Record. This layer allows you to present the data from |
| | 15 | database rows as objects and embellish these data objects with business logic |
| | 16 | methods. |
| | 17 | |
| | 18 | The controller and view is handled by the Action Controller |
| | 19 | |
| | 20 | == Requirements |
| | 21 | |
| | 22 | * Database (MySQL, PostgreSQL, etc) (uses Pear::MDB2) |
| | 23 | * PHP 5.x |
| | 24 | * PEAR::MDB2, PEAR::Mail, PEAR::Mail_mime |
| | 25 | * Apache 1.3.x or 2.x |
| | 26 | * FreeBSD, Unix, Linux, MacOSX, Windows |
| | 27 | |
| | 28 | == Getting Started |
| | 29 | http://wiki.phpontrax.com/How_do_I_install/upgrade_Trax%3F |
| | 30 | http://wiki.phpontrax.com/How_do_I_create_a_Trax_application%3F |
| | 31 | http://wiki.phpontrax.com/How_Tos |