10 Awesome jQuery Tutorials You Should Check Out Comments (0)
by Wez Pyke - February 8, 2010 in jQuery

jquery logo 10 Awesome jQuery Tutorials You Should Check Out

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.

(more...)

20 Stunning Wallpapers For Your Desktop Comments (0)
by Wez Pyke - February 5, 2010 in General

Everyone likes to have a nice wallpaper for their desktop so I have put a list together of the 20 best looking, simple and stylish wallpapers that I have found.

17 20 Stunning Wallpapers For Your Desktop

18 20 Stunning Wallpapers For Your Desktop

19 20 Stunning Wallpapers For Your Desktop

(more...)

jQuery Dropdown Suggestions Comments (0)
by Wez Pyke - January 30, 2010 in jQuery

jquery dropdown suggestionsFor this tutorial we are going to create a drop down box similar to the one on the Google homepage when you start typing.

The Markup

The first thing that we must do is create the markup HTML. We are also going to include a stylesheet called style.css, we will create the CSS further down the tutorial.
(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...)

PHP gallery with no page reloads using jQuery Comments (0)
by Wez Pyke - December 23, 2009 in PHP, Text Tutorials, jQuery

jquery gallery PHP gallery with no page reloads using jQueryFor 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...)

Twitter-like pagination using CodeIgniter and jQuery Comments (0)
by Wez Pyke - December 18, 2009 in PHP, Text Tutorials, jQuery

twitter pagination icon Twitter like pagination using CodeIgniter and jQueryIf 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 identical to Twitters.

First of all copy this SQL into your database to create a table that we will be using to grab rows from.

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

(more...)

Ajax Helper For CodeIgniter [Video] Comments (0)
by Wez Pyke - December 16, 2009 in PHP, Video Tutorials

Blip.tv Page

Link to helper

Twitter

Adding security to CodeIgniter forms with a custom library class Comments (1)
by Wez Pyke - in PHP, Text Tutorials

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 give you an idea of how to create classes for your own projects.

Creating the new class

First of all we need to create the file for the class, navigate to libraries then create a file called math_question.php.

All we are going to do within this class is generate two random numbers that will be added together.
(more...)

Useful websites and resources for learning CodeIgniter Comments (0)
by Wez Pyke - December 5, 2009 in PHP

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.

  1. CodeIgniter From Scratch
  2. From CodeIgniter to Ruby on Rails: A Conversion
  3. Smarty as a template engine in Code Igniter
  4. CodeIgniter Sample Auto-Complete Application
  5. Everything You Need to Get Started With CodeIgniter
  6. A Quick Code Igniter and JQuery Ajax Tutorial
  7. Speed Up your Web Application by CodeIgniter
  8. How to use CodeIgniter’s OpenID library to integrate OpenID in your existing user system.
  9. Pagination with Code Igniter
  10. CodeIgniter User Guide
Quick Tip: Resolving conflicting problems between jQuery and MooTools or any other Javascript library Comments (0)
by Wez Pyke - December 2, 2009 in Text Tutorials, jQuery

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 code, the Mootools code worked fine but the jQuery code did not. I done some searching and found that the two libraries were conflicting and all it takes is 2 extra lines of code to prevent this from happening.

(more...)

Older Posts »