
There are many PHP frameworks available for developers to choose from when creating a project. Frameworks such as CodeIgniter, CakePHP, Symfony and Zend are the most popular frameworks used by developers.
In this article I will compile a list of 5 frameworks that many developers may not know of.
(more...)
I have already done this tutorial with CodeIgniter and jQuery it can be found here. I thought I would do this tutorial again but rewrite it for CakePHP because it is a popular PHP framework.
Before we start doing any PHP code make sure to copy in the code below into your MySQL database.
CREATE TABLE `tutorials`.`twitter_messages` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY , `username` VARCHAR( 30 ) NOT NULL , `message` VARCHAR( 140 ) NOT NULL ) ENGINE = INNODB
Create the controller
Under the folder named controller create a file and call it twitter_controller.php.
We create a class inside it called TwitterController and it will extend AppController. We then set the name of the controller to twitter and tell CakePHP which table we are using in our database.
(more...)
There are a number of frameworks available for PHP such as CodeIgnitor, Zend, Symfony, Kohana and many more. In this article you will find tutorials that I have found on the web that will help PHP programmers that are new to the MVC pattern or CakePHP.
CakePHP is an amazing framework if you know how to use it, but the documentation for CakePHP is quite badly written and can cause confusion for new users. Here are a few links to try and make life easier for new and experienced CakePHP users.
- Validation with CakePHP
- Theming with CakePHP
- Getting started quickly with Scriptaculous effects
- Drag 'n drop tutorial with the CakePHP 1.2 Ajax helper, Prototype framework and Scriptaculous library
- Secure CakePHP via Sessions & Magic (Login / Logout)
- CakePHP ACL Tutorial
- CakePHP Bake - Baking Models, Controllers and Views the CakePHP 1.2 Way
- Cascading Dynamic Meta Tags and Page Titles in CakePHP 1.2
- jQuery image upload & crop
- Uploader - Plugin
