November 10th, 2008
admin
Step 1: Open the directory “/root/app/config/”
Step 2: Rename the “database.php.default” into “database.php”
Step 3: Open the file, that contain the default variable as shown below. Change the array variable values
var $default = array(‘driver’ => ‘mysql’,
‘connect’ => ‘mysql_connect’,
‘host’ => ‘localhost’,
‘login’ => ‘user’,
‘password’ => ‘password’,
‘database’ => ‘project_name’,
‘prefix’ => ”);
driver : This can be mysql, postgres, sqlite, adodb or pear-drivername
connect : should use persistent database connections. For mysql this options are ‘mysql_pconnect’ or ‘mysql_connect’
host : name of your database server, such as localhost / mysql.domainname.com
login : user name for your database login
password : password for your database login
database : name of the database
prefix : The string that prefixes every table name in the database. If your tables don’t have prefixes, this to an empty string.
Step 4: Save and close the file.
Popularity: 1% [?]
Step 1 : Getting the most recent stable version
To install Cake PHP you first need to download the latest stable version from the CakePHP website at www.cakephp.org, once at the website click on Downloads > Release.
Download link : http://cakephp.org/downloads/index/nightly/1.2.x.x
Step 2: Unpacking
Now that you’ve downloaded the most recent release, place that compressed package on your web server in the webroot. Now you need to unpack the CakePHP package. There are two ways to do this, using a development setup, which allows you to easily view many CakePHP applications under a single domain, or using the production setup, which allows for a single CakePHP application on the domain.
Popularity: 1% [?]
Like Rails, CakePHP makes it easier for the user to interface with the database with active records. It also encourages use of the model-view-controller architectural pattern.
- Active, friendly community
- Flexible licensing
- Compatible with PHP4 and PHP5
- Integrated CRUD(Create, Read, Update & Delete) for database and simplified querying
- MVC architecture
- Request dispatcher with clean, custom URLs and routes
- Built-in validation
- Templating (PHP syntax with helper methods)
- View Helpers for AJAX, JavaScript, HTML Forms and more
- Email, Cookie, Security, Session, and Request Handling Components
- Flexible Access Control Lists (ACL)
- Application scaffolding
- Data sanitization
- Flexible caching
- Localization
- Works from any web site directory, with little to no Apache configuration involved
Popularity: 2% [?]
CakePHP started in 2005, when Ruby on Rails was gaining popularity. The community has since grown and spawned several sub-projects. CakePHP is not a port of Ruby on Rails to PHP, but appropriates many of its useful concepts.
The Mambo Foundation announced in 2007 that it would utilize the CakePHP framework for future versions of its widely used content management system, calling CakePHP a “solid choice and certainly one of the top frameworks available today.”
Popularity: 1% [?]
CakePHP is a free, open source, rapid development framework written in PHP. A structure of libraries, classes and run-time infrastructure for programmers creating web applications inspired originally by Ruby on Rails framework. The primary goal is to enable you to work in a structured and rapid manner–without loss of flexibility.
Popularity: 1% [?]