root/tags/rel_0-15-0/README

Revision 305, 1.8 KB (checked in by john, 4 years ago)

updating package make

Line 
1== Welcome to Trax
2
3Trax is a web-application and persistance framework that includes everything
4needed to create database-backed web-applications according to the
5Model-View-Control pattern of separation. This pattern splits the view (also
6called the presentation) into "dumb" templates that are primarily responsible
7for 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
9the business logic and knows how to persist themselves to a database. The
10controller handles the incoming requests (such as Save New Account, Update
11Product, Show Post) by manipulating the model and directing data to the view.
12
13In Trax, the model is handled by what's called a object-relational mapping
14layer entitled Active Record. This layer allows you to present the data from
15database rows as objects and embellish these data objects with business logic
16methods.
17
18The 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== Building & Installing PHPonTrax PEAR Module
29From the commandline run the following command:
30php makepkg.php
31(Disregard any warning messages that say "not prefixed with package name "PHPonTrax"")
32After that runs it will make a build folder with the PEAR module called:
33PHPonTrax-<version>.tgz
34To install this newly generated PEAR module run the following command:
35pear install -a PHPonTrax-<version>.tgz
36If you have a previously installed version exists first run:
37pear uninstall trax/PHPonTrax
38
39== Getting Started
40http://wiki.phpontrax.com/How_do_I_install/upgrade_Trax%3F
41http://wiki.phpontrax.com/How_do_I_create_a_Trax_application%3F
42http://wiki.phpontrax.com/How_Tos
Note: See TracBrowser for help on using the browser.