CakePHP Cookbook Documentation. Release 2.x (eng)
Book information
Description
October 20, 2012The CakePHP framework provides a robust base for your application. It can handle every aspect, from theuser’s initial request all the way to the final rendering of a web page. And since the framework follows theprinciples of MVC, it allows you to easily customize and extend most aspects of your application.The framework also provides a basic organizational structure, from filenames to database table names, keep-ing your entire application consistent and logical. This concept is simple but powerful. Follow the conven-tions and you’ll always know exactly where things are and how they’re organized.The best way to experience and learn CakePHP is to sit down and build something. To start off we’ll builda simple blog application.Welcome to CakePHP. You’re probably checking out this tutorial because you want to learn more about howCakePHP works. It’s our aim to increase productivity and make coding more enjoyable: we hope you’ll seethis as you dive into the code.This tutorial will walk you through the creation of a simple blog application. We’ll be getting and installingCake, creating and configuring a database, and creating enough application logic to list, add, edit, and deleteblog posts.Here’s what you’ll need:1. A running web server. We’re going to assume you’re using Apache, though the instructions for usingother servers should be very similar. We might have to play a little with the server configuration, butmost folks can get Cake up and running without any configuration at all. Make sure you have PHP5.2.8 or greater.2. A database server. We’re going to be usingMySQL server in this tutorial. You’ll need to know enoughabout SQL in order to create a database: Cake will be taking the reins from there. Since we’re usingMySQL, also make sure that you have pdo_mysql enabled in PHP.3. Basic PHP knowledge. The more object-oriented programming you’ve done, the better: but fear notif you’re a procedural fan.4. Finally, you’ll need a basic knowledge of the MVC programming pattern. A quick overview can befound in Understanding Model-View-Controller. Don’t worry, it’s only a half a page or so.
Similar books
Learning Laravel's Eloquent
MOBI
Learning Laravel's Eloquent
EPUB
Mastering Laravel (Code Only)
ZIP
128 рецептов php
PHP Beyond the Web: Shell Scripts, Desktop Software, System Daemons and More
MOBI
PHP Beyond the Web: Shell Scripts, Desktop Software, System Daemons and More
EPUB
Laravel 5 Essentials
MOBI
Laravel 5 Essentials
EPUB