CakePHP 1.3.3 Admin Section Template Files

1st September 2010 CakePHP CakePHP 1.3

I've been getting to grips with the newest release of CakePHP which at the time of writing is 1.3.3. The first thing I usually do on an application is get a simple Admin section underway and here it is.

Everything has been included in a single zip file but you must first go through the motions of creating the database and update the database.php file as well as change a few things in the core.php file.

1 comment Read More

Using the Database for Sessions in CakePHP

31st August 2010 CakePHP CakePHP 1.3

Just a quick tip, I've been playing with the new 1.3.3 version of Cake recently and was trying to get the database sessions up and running but had difficultly finding the schema for the sessions table without using the command line to generate the table.

Here's the raw SQL that can be used to create the table. I'm sure it'll be useful in the future for me so I thought I'd share.

CREATE TABLE `cake_sessions` (
  `id` varchar(255) NOT NULL DEFAULT '',
  `data` text,
  `expires` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
);

Now you just need to modify the core.php file so that the database is used for Sessions instead of the default:

Configure::write('Session.save', 'database');
0 comments

Introducing Request a Feature

13th May 2010 PHP
Request a Feature

The latest script I've created to put on CodeCanyon enables visitors to request a feature on your website or web application. Users can then vote up that feature so that priority features can be implemented before others. The voting is done using Ajax with the jQuery library and has some basic IP based protection so that users can't just spam a feature and keep voting it up.

For an online demo click here and try requesting a feature and let me know what you think.

2 comments Read More

Get Watching Justified

12th May 2010 TV Show
Justified Banner Image

Started watching a really good show called Justified that I have to share with you good people.

It's only on the first season over in America and at the time of writing 8 episodes have aired. Get watching the first couple and let me know if you're into it!

0 comments

Ajax Store Locator

6th May 2010 PHP
Ajax Store Locator

Finally getting round to writing a post on the Ajax Store Locator I created to put on CodeCanyon. It's doing relatively well and thought I'd share.

For an online demo click here and try searching on the map.

0 comments Read More

Full Apps

Request a Feature Application Ajax Store Locator Application FilmDB Application TVDB Application CakeBattles Application CakeCatalog Application

Recently Watched Films

Mr Brooks Rec Pathology Diary of the Dead

TV Shows

The Shield Flight of the Conchords

Hosting

I've been using Dreamhost for my hosting for over 2 years and it's pretty good for what you pay. If you're signing up how about showing me some love and use this link so I get a referal bonus to help pay my server costs.

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