Sponsor
Now Playing
- Alix Perez – I'm Free 3 hours ago
- Alix Perez – Intersections 3 hours ago
- Alix Perez – Forsaken 3 hours ago
- Glen E Ston – Ouroboros (Original Mix) 3 hours ago
- Black Sun Empire – Everything 3 hours ago
Posts tagged PHP
Protecting Files Against Hotlinking...
August 11, 2010
I recently had to lock down some important files that first required some level of authentication. The problem was the only way to guard against hotlinking or direct access to these files was to pipe the data through php after an Auth check. Using fread,... [+]
1
11Aug
Stay Out CakePHP Component
June 27, 2010
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... [+]
1
27Jun
Picking up where strtotime() left...
May 6, 2010
I was working on a project where dates were being calculated (sort of) based on user input. For example the user was able to type in “Next Saturday” or the “Second Sunday of the Month”. This wouldn’t really be sortable, as strtotime doesn’t exactly allow... [+]
0
06May
CakePHP & Caching Until a Future...
March 23, 2010
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... [+]
1
23Mar
Pagination Caching With CakePHP
February 9, 2010
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... [+]
14
09Feb
What's Been Doing?
October 29, 2009
Well it’s been a long time since I’ve posted pretty much anything on my pages of wisdom here. Which pretty much indicates that I’ve been busy. Very busy, and loving it. I’ve been buried in books and code. My previous employer got me back off... [+]
0
29Oct
CakePHP URL Shortener Service...
August 26, 2009
If you have just woken up from a 10 year long coma, you might realise that the internet has been dumbed down to 140 characters and services that offer “URL Shortening” are quite widely used. Well today, coma awakened or not, I will be writing... [+]
15
26Aug
My CakePHP Learning Experience
July 7, 2009
I first got into CakePHP roughly 3-4 months ago. It was a result of me dropping the Python & Django books and running back to the PHP world, which I was already familiar with. I simply didn’t have the time to wrap my head around... [+]
6
07Jul
My CakePHP Category Tree Helper
April 8, 2009
Hey everyone. Not so much a tutorial here, but more so a snippet of code to help some of you out. My problem was with the CakePHP tree component. The way that the tree organised data in CakePHP works is through establishing a neighbour like... [+]
0
08Apr
CakePHP Manual: People with no...
February 26, 2009
My net is capped at a lame speed of 6kbs. That’s what happens when you try to enjoy content on the internet and live in Australia. So when i’m trying to get some documentation for my CakePHP project i end up waiting like 5minutes for... [+]
0
26Feb
My First Contact With CakePHP
February 26, 2009
If you have been reading the blog lately you will of noticed that I have changed my development path from Django using Python to CakePHP, tada, using PHP. I spent quite alot of time attempting to elarn both Python and the Django framework together. Much... [+]
0
CakePHP: Using Apress & Packt
February 22, 2009
I love buying books. Taking one look at my bookcase makes this quite obvious. I do have quite a large selection of computer related books. I find that by reading into the subject matter, especially for programming, before acting on ideas or tasks provides a... [+]
0
22Feb
Using CakePHP Elements &...
February 17, 2009
This problem arose while i was trying to get a random phrase from a database into the <title> HTML elements across all views. Being fairly new to CakePHP i was overwhelmed by some people’s solutions to accessing models site wide. However they forgot what CakePHP... [+]
1
17Feb