| 1 |
== Welcome to Trax |
|---|
| 2 |
|
|---|
| 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. |
|---|
| 12 |
|
|---|
| 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::DB) |
|---|
| 23 |
* PHP 5.x |
|---|
| 24 |
* PEAR::DB, PEAR::Mail, PEAR::Mail_mime |
|---|
| 25 |
* Apache 1.3.x or 2.x |
|---|
| 26 |
* FreeBSD, Unix, Linux, MacOSX, Windows |
|---|
| 27 |
|
|---|
| 28 |
== Getting Started |
|---|
| 29 |
goto: http://svn.phpontrax.com/wiki/HowToCreateATraxApplication |
|---|
| 30 |
|
|---|
| 31 |
== Small Demo Application |
|---|
| 32 |
goto: http://traxtest.mytechsupport.com |
|---|
| 33 |
download demo: http://www.phpontrax.com/downloads |
|---|
| 34 |
|
|---|