5 PHP Frameworks you may not know about Comments (2)
by Wez Pyke - February 15, 2010 in PHP, frameworks, lists

php logo 5 PHP Frameworks you may not know about
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...)

Twitter-like pagination using CakePHP and jQuery Comments (0)
by Wez Pyke - January 11, 2010 in PHP, Text Tutorials

twitter pagination icon Twitter like pagination using CakePHP and jQueryI 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...)

10 CakePHP Tutorials You Should Read Comments (1)
by Wez Pyke - July 15, 2009 in General, PHP

cake logo 10 CakePHP Tutorials You Should ReadThere 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.

  1. Validation with CakePHP
  2. Theming with CakePHP
  3. Getting started quickly with Scriptaculous effects
  4. Drag 'n drop tutorial with the CakePHP 1.2 Ajax helper, Prototype framework and Scriptaculous library
  5. Secure CakePHP via Sessions & Magic (Login / Logout)
  6. CakePHP ACL Tutorial
  7. CakePHP Bake - Baking Models, Controllers and Views the CakePHP 1.2 Way
  8. Cascading Dynamic Meta Tags and Page Titles in CakePHP 1.2
  9. jQuery image upload & crop
  10. Uploader - Plugin