Wednesday, June 29, 2011

CodeIgniter from Scratch, Day 9 : File Uploading and Image Manipulation

Author: Burak Guzel

In lesson nine of our CodeIgniter series, we’ll build a small image gallery that allows you to upload files, and automatically create thumbnails.

Day 9 : File Uploading and Image Manipulation

Monday, June 27, 2011

CodeIgniter from Scratch: Day 8 – AJAX

Author: Burak Guzel

The CodeIgniter from Scratch series was unexpectedly, and significantly popular. Today, I’m pleased to announce that, with the help of one of my best authors, Burak, we’ll be continuing the series! Additionally, the most often requested topic is the subject for today’s screencast: combining CodeIgniter and jQuery.
Remember, it is not required that you watch the previous lessons in order to understand today’s screencast. It’s a self-contained article. However, if you’re new to CodeIgniter, we do recommend that you start from the beginning!

Day 8: AJAX

CodeIgniter from Scratch Day 7: Pagination

Author: Jeffrey Way

In these last two weeks, I’ve received bunches of requests for a CodeIgniter pagination screencast; so that’s what we’ll be reviewing today! As a bonus, we’ll also take a look at the super convenient HTML Table class.

Day 7: Pagination

Sunday, June 26, 2011

CodeIgniter From Scratch: Day 6 – Login

Author: Jeffrey Way

In today’s hour long video tutorial, we’ll be doing a lot! We’ll implement a login and signup form that will allow us to lock down certain sections of our fictional site. As you’ll find, working with sessions in CodeIgniter is a cinch!

Day 6

Watch the video here!


P.S. The Logout Button
I forgot to add the “logout” button during the screencast. There was so much to cover, that I was bound to forget something! Luckily, it’s really easy. Simply add a link, to the “members” area, which links to the login class, and a “logout” method (login/logout). Then, all we must do is destroy the user’s session, and redirect them back to the login form. Download the source code if confused.

function logout()
{
$this->session->sess_destroy();
$this->index();
}

Hope you Enjoy it!
Keep in mind that we’re just scratching the surface, in terms of flexibility and security. We can – and very well may – take things much further. But this should get you started!

Saturday, June 25, 2011

CodeIgniter From Scratch: Day 5 – CRUD

Author: Jeffrey Way

The most requested tutorial for day five of our CodeIgniter screencast series was for an introduction to CRUD operations. We’ll review how to easily create, read, update, and delete records using CI’s active-records class.

Day 5: CRUD Operations