Want to become a better PHP programmer, cut your development time in more than half, create
ultra clean, and easy to maintain, enterprise quality applications,
complete with highly reusable code/components? or perhaps you just want to enjoy creating
software, instead of tedious, repetitive, boring SQL statements.
Php On Trax (formerly Php On Rails) is a web-application
and persistence framework that is based on Ruby on Rails and
includes everything needed to create database-backed web-applications according to the
Model-View-Control pattern of separation. This pattern splits the view (also
called the presentation) into "dumb" templates that are primarily responsible
for inserting pre-build data in between HTML tags. The model contains the
"smart" domain objects (such as Account, Product, Person, Post) that holds all
the business logic and knows how to persist themselves to a database. The
controller handles the incoming requests (such as Save New Account, Update
Product, Show Post) by manipulating the model and directing data to the view.
In Trax, the model is handled by what's called a object-relational mapping
layer entitled Active Record. This layer allows you to present the data from
database rows as objects and embellish these data objects with business logic
methods.