Posts in CakePHP

Remember Me: A CakePHP Persistent Login Plugin

After creating numerous CMS’s and getting client questions asking how come they don’t get automatically logged into their administration panel after 2 months of inactivity I decided to make Yet Another Remember Me Plugin (YARMP) – Yeh, I made that acronym up, it happens. Why... [+]

Form Keeper: Field Name Obfuscation for CakePHP Forms

I don’t like giving my end users information about the inner workings of the system they’re using. Even though the system itself might be secure in terms of what data it can take in, how it treats the data and what it returns, I still... [+]

Sign Me Up A CakePHP User...

Sign Me Up A CakePHP User Registration Plugin

Finding myself generating registration forms now and then for various sites, I found the whole process of replicating the same functionality over to different projects. It didn’t take long for me to realise that a plugin was the best answer to ease of replication and... [+]

SuperStack: A Simple CakePHP Cache Engine

SuperStack is a so simple it hurts CakePHP caching engine. The idea behind SuperStack is to use multiple existing CakePHP’s cache engines as a cache stack. For example, your primary cache server might be using Memcached, however Memcache cannot store the petabytes of data you... [+]

Tag Time: CakePHP Tag Plugin

Tag Time: CakePHP Tag Plugin

I needed to integrate a tagging system for a blogging website I was working on with CakePHP. Having read the blog post by teknoid I decided to create a CakePHP plugin along with some jQuery flare for the front end. GitHub: http://github.com/voidet/tag_time The plugin allows... [+]

Stay Out CakePHP Component

Stay Out CakePHP Component

I have recently been developing a new website which has found me in the position of writing a lot of session handling code. I came across the concept of logged out all sessions across multiple instances, and out came this CakePHP session flushing component stay... [+]

CakePHP Rainbow Table Protection Behaviour

So after looking over some security techniques and discovering the quite interestingly named Rainbow table password cracking mechanism I decided to look into a way around this table password cracker. The default way that CakePHP hashes its passwords into the database is via hashing from... [+]

CakePHP & Caching Until a Future Post

We had implemented a caching system for all find, pagination and pagination count methods with CakePHP. You can find a post on this here. The cache was expiring after every hour, however we failed to realise something. Our CMS system that we built allows posts... [+]

Pagination Caching With CakePHP

Pagination Caching With CakePHP

A site i was working with was using pagination quite extensively with lots of records and associations. This was producing unnecessary high load on the database and wait times on the production site. Caching had to be done. Unlike normal returned data from finds etc. Paginated... [+]

PHP: Random Salt String Generator

PHP: Random Salt String Generator

As i develop new CakePHP projects i like to spin the wheel with generating a “secure” salt string to be used in core.php. Instead of just bashing my head against the keyboard hoping for some random, usable, 40 character long string, i decided to let... [+]