Here is a recap of the posts from this week.
Build a Twitter-like site with CodeIgniter and jQuery Part 2

5 PHP Frameworks you may not know about

Creating a basic iPad application


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...)

jQuery is a great tool that everyone in web development should be using to make the functionality of their websites better, it's easy of use and good documentation is what makes jQuery such a successful framework. Although the documentation is good there are still a lot of tutorials out there that you should check out.
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 also be using the prettyPhoto plugin for jQuery to open up the actual images.
Getting ImgBrowz0r and prettyPhoto to work
The first thing I done was create a folder called jquery_gallery inside here is where all the files and folders are gonna be stored. I then created 4 folders inside jquery_gallery, the folders are called css, images, inc and js.
When you have downloaded the ImgBrowz0r class, copy the file into the inc folder.
(more...)
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 a template engine in Code Igniter
- CodeIgniter Sample Auto-Complete Application
- Everything You Need to Get Started With CodeIgniter
- A Quick Code Igniter and JQuery Ajax Tutorial
- Speed Up your Web Application by CodeIgniter
- How to use CodeIgniter’s OpenID library to integrate OpenID in your existing user system.
- Pagination with Code Igniter
- CodeIgniter User Guide
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 files you will need for this are located at the Rackspace Cloud website here. You can download the API for PHP, Java, Python, .NET and Ruby. But for this tutorial we will be using PHP.
(more...)
This is my screencast for the Nettuts/Screenr screencast competition. I feel as though I rushed it because I had to do it under 5 minutes but I hope you learn a thing or two from it.
Every website needs a way of contacting the people behind it and putting an email on a page is not such a good idea; because bots can easily pick up this email address and send spam to it. This is where a contact form comes in very useful because people can send you messages but do not get your email address. (more...)
A few days ago I was developing a website for a client. They required that there be a map showing where addresses are that were retrieved from a database. I have never properly looked at the Google Maps API before because I have never needed to use it; so for the first time I looked at it and gave it a try. Then after playing around with it for a bit i realised that reverse geocoding was needed to convert the address into latitude and longitude figures.
Because I was programming this website in PHP I thought I would have a look around for a PHP class to see if there was a quicker way of doing this. Luckily enough I found a PHP class called PHP GoogleMapAPI. It took me a few minutes to read through the documentation for this class but it was so straight forward and simple. All in all it takes only 6 lines of code using this class to create a google map and locate it to an address; because it does all the other work for you that you don't need to know about if you're not going to be programming Google Maps every day of your life.
In this tutorial you will learn about writing information to a text file and then retrieving the information you wrote to the text file. Retrieving the files that are in a directory and about arrays.
This is a quite basic script and there isn't much to write about it so if there is something that you don't understand look the function up within the PHP manual online.
(more...)
