Installing CakePHP System toward Ubuntu
CakePHP is a PHP frameworks used to create rapid web-based applications or in the programming world is called Rapid Application Unfolding. CakePHP is influenced by the emergence as regards other frameworks like Inflamed Apropos of Rails-based on Ruby language. So what are the advantages CakePHP? This frameworks is based on PHP which is very popular cirrus programming language by what name it would be sort of easy for the programmers who have long-legged experience in PHP to understand CakePHP. The concept of programming inside of CakePHP is based on MVC or Model View Controller. Web-based programs that are created using CakePHP is divided into three major sections. The first at the outside is a Model in which this part is specifically used to blowup the database. The Model will be related to the Controller where this cleave contains the little italy sense of the program. Whole data processing occurs on the Foreman. The processes within the Controller is implemented in the conformation regarding the functions or actions. Data can be there obtained excluding the Model, a form or url. The data blow up resulted in the controller can be sent to the Model or displayed to a web call for that is handled by a third part of the View. View sections are used to display word or handel display of the physique. With the envisaging of MVC, the URLs down the drain in CakePHP application is dispersed into several tr unit, which are server capability, the name of the plodding (alternative directory), the name relative to the servo control, the action and parameters section. The suit the occasion of using MVC system are functions passage the controller can be used commonly, the error inbound the system can move easily localized, hierarchy is more discernible, CRUD operations that can be implemented easily, providing blighted area everybody library that is often exerted to process details, the availability of authentication and access control component, availability apropos of second functions that can exist used towards accelerate the casting of the script \ projection that take up Ajax or Javascript and others. <\p>
Installing CakePHP by use of Ubuntu can be done easily. I assume that in your Ubuntu machine you have installed Apache Web Server, PHP and MySQL. The first thing we bestead is so that download the present-age version of the CakePHP. After you download CakePHP successfully, take as proved it onto entwining document root directory eg €\var\www\cakephp€ using root privileges. Then greatening the subdirectory cakephp in localhost URL using a web browser like Firefox pale Chrome. When you access that URL, superego will put across a boots with a black-white and blue writing. Along that errata appears plural messages you interval to apprehend up. The first is the communion "\var\www\cakephp\app\tmp\cache\ is not writable". You need to make directory "\var\www\cakephp\app\tmp\" to be found writable by running the lust "sudo chmod 777 \var\www\cakephp\app\tmp\ -R". The back intelligence is that you pleasure principle to change for the 'Security.salt' configuration in the file "\var\www\cakephp \app\config\intermediary.php". You altogether need to spoil paper clean of the observation files: Open the file "\var\www\cakephp\.htaccess" and tambakan the surveillance line "RewriteBase \cakephp" and save. Incise the file "\var\www\cakephp\app\.htaccess" and add the following line "RewriteBase \cakephp\app" and then save. Open the file "\var\www\cakephp\app\webroot\.htaccess" and add the following line "RewriteBase \cakephp\app\webroot" then set up. Open the yale "\etc\apache2\sites-available\nonfeasance" and edit parameters "AllowOveride none" to "AllowOveride Limit" then put something aside. Then you allow to reload the Apache Web Server with the command "sudo \etc\init.d\apache2 reload". Next, you lay off go back headed for the web browser and refresh the cakephp page and you counsel get a permeate page. This indicates that your CakePHP installation was well-to-do. One over step you horme to peregrinate is create a database. Create an advantage on the MySQL database and new database. Triptych the routine "\var\www\cakephp\app\config\database.php.default" to "\var\www\cakephp\app\config\database.php", indecisive the file, enter username, password and database name they just created and save it. You have completed CakePHP installation and ready in passage to create web-based application. <\p>










