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 [...]
PHP gallery with no page reloads using jQuery
For this tutorial we will be using the ImgBrowz0r class for the backend of the gallery, we will then write a jQuery script so that we can browse through the gallery created by ImgBrowz0r without no page reloads and a nice effect between page requests so the user knows the page has changed. We will [...]
Twitter-like pagination using CodeIgniter and jQuery
If you use Twitter you'll notice that there is a more button at the bottom at the bottom of your timeline, when you click this more tweets appear. This is Twitters way of paginating a page. In this tutorial I'll show you how to create a pagination system using CodeIgniter and jQuery that is almost [...]
Ajax Helper For CodeIgniter [Video]
Blip.tv Page Link to helper Twitter
Adding security to CodeIgniter forms with a custom library class
The class that we are going to create within CI will simply add a math question that the user will have to enter correctly to continue. This is useful to stop bots from mass submitting information to your forms. The class we are going to write is only very short and simple, but it will [...]
Useful websites and resources for learning CodeIgniter
Frameworks are becoming more and more popular because of the useful pre-built functions and organization of how files are meant to be stored and used. Here is a shortlist of 10 resources that should be useful for beginners looking to learn CodeIgniter. CodeIgniter From Scratch From CodeIgniter to Ruby on Rails: A Conversion Smarty as [...]
Quick Tip: Resolving conflicting problems between jQuery and MooTools or any other Javascript library
Recently I wrote quite a huge chunk of jQuery for a website and it worked fine. A few days later I checked back to make sure that everything was working correctly after modifying a few things, but to my surprise none of the jQuery code worked. The problem was that I had added some Mootools [...]
Uploading files to Rackspace Cloud (Mosso) using PHP API
Rackspace Cloud is a great VPS service, but when I recently done a project it needed the functionality of uploading directly from a website to the cloud. I did not find many tutorials on how to do this, so I thought I'd write a tutorial on it myself. Step 1: Download the required files The [...]
Google Wave invite
I recently got a Google Wave invite and it is awesome. I will probably receive invites to Google Wave soon so if you would like an invite leave your email below using scr.im and I will invite as many commenters as I can.
ASCIICasts: AJAX History and Bookmarks
View full tutorial In the last episode we added AJAX functionality to a paginated list of products. Instead of acting as normal HTML links, the paginated links had click events added to them via unobtrusive JavaScript so that when clicked they made an AJAX request that updated the main content of the page with a [...]