Full CakePHP 1.2 App Part 9

27th June 2008 CakePHP
Cake Catalog Main Index Page

I've been a bit slow on the updates recently, been super busy with life and everything but thats no excuse. In my last article I went through the process of turning a Photoshop design into HTML/CSS and now its time to get CakePHP involved.

In this article I'm going to transfer the design and code over to CakePHP by using a new Layout and making use of some elements, this isn't necessarilly hard to do but the process it quite involved so I'm going to break it down.

1 comment Read More

Full CakePHP 1.2 App Part 8

10th June 2008 CakePHP

Howdy and welcome to the 8th article I finally got my ass in gear and started to write it so here it is. Last time I went through my design process and came up with a Photoshop mockup of what the design will look like.

In this article I'm going to be coding up my design in HTML/CSS ready for integration with CakePHP. I always try to write clean and semantic code which validates so thats going be important during this article, I also try to avoid CSS hacks and seperate style sheets for the different browsers which means that testing your code at each step in a variety of browsers is a must.

1 comment Read More

Full CakePHP 1.2 App Part 7

31st May 2008 CakePHP
CakeCatalog Logo

Welcome to the 7th Article about creating an online application using CakePHP 1.2. In my previous post I went through the process of implementing a basic user authentication system which will require an admin user to enter a username/password to access any of the admin controller actions.

This article is going to be a bit of diversion away from coding and will focus on the design of the application. More specifically the front end of the application and how visitors will see the front page. I'm going to show you a few places I go for design inspiration and the process involved with coming up with a design for my dvd catalog application which I've coined "CakeCatalog".

2 comments Read More

Full CakePHP 1.2 App Part 6

22nd May 2008 CakePHP
CakePHP Login Screen

In this article I'm going to create a simple user authentication system whereby users will have to login to access any admin controller action. This is quite a basic application so I'm using the Session route of identifying a logged in user instead of the ACL route.

1 comment Read More

Full CakePHP 1.2 App Part 5

16th May 2008 CakePHP
DVD Catalog CakePHP Application

Welcome to the 5th Article in the series about creating a full CakePHP 1.2 Application, last time I setup the DVD Controller and View files and I'm now able to start adding DVDs to the system. As a side note I've put the application online at dvd.jamesfairhurst.co.uk so you can have a poke around and see how the application is shaping up.

In this Article I'm going to be dealing with the Genres section of the application so I can start to add / edit / delete Genres from the database. The relationship between DVDs and Genres is a HasAndBelongsToMany (HABTM) which means that a single DVD can have multiple Genres and a Genre can have multiple DVDs. I'm going to be looking at how CakePHP deals with this type of association and how to manually create these associations when saving related data.

0 comments Read More

Recently Watched Films

Rec Pathology Diary of the Dead Control

TV Shows

Flight of the Conchords Breaking Bad

Site by James Fairhurst 2008, all rights reserved and all that malarky