cakephp

CakePHP is an open source web application framework for producing web applications. It is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License.

CakePHP on Wikipedia

Custom view class - Zend, CakePHP, Symfony and Kohana17th Feb 2011

There are a lot of sites out there that benchmark frameworks. Every time there is a new benchmark, there is a huge outcry from the loosing sides followers. To date there has not been anything that I know of that has not been bias or meaningful, as the person doing the benchmarking does not know each of the frameworks and its normally a 'hello world' application which is completely pointless ...

Read more...

Symlink CakePHP plugin assets for faster page loads23rd Nov 2010

If you are a fan of CakePHP's plug-ins, and want to keep you application non-dependent on plug-ins you have to keep the assets in the plug-ins webroot folder. This might not seem like a bad thing till you realise CakePHP delivers those files via some fread() calls and appropriate headers.

So what you ask? Say You have an application with many plug-ins, things like a gallery, content mana...

Read more...

Infinitas is almost beta11th Nov 2010

If you been to my site before you will notice some changes. A few more links added to the nav bar with some new content.

As I said before I will be keeping my site running a standard version of Infinitas (with some of the available plugins), so that you may get a glimpse into what it has on offer. All the posts from before have been using the Blog Plug-in that was coded for Infinitas. Th...

Read more...

Google's new mod_pagespeed for Apache4th Nov 2010

Update

The bug I submitted about the cached names being to long has been fixed. More information is available here. I have not tested it yet, but hope to do so shortly.

Google has released mod_pagespeed for Apache, a module that brings promise of faster page loads and less bandwidth usage, lowering costs and making everyone happy. Is it possible that this could work as well as APC? s...

Read more...

PHP APC - make your app super fast!11th Oct 2010

One of the many advantages of using Ubuntu over windows is the ability to install and test out all the plug-ins available for PHP. One of them being APC (Alternative PHP Cache).

I just upgraded to the latest Ubuntu 10.10 and figured I would take a quick screen shot, for anyone that is doubting how much something like APC can affect an application. When I first found out about them, I did...

Read more...

Removing the www sub domain from your url3rd Oct 2010

For the most part, the www in a domain is pretty pointless. In general it's only there to make you type 4 extra characters to get to the site you want. It can also cause you a lot of pain trying to develop Ajax applications as I once found out.

There I was tying to get some Ajax working on a client site I was busy with only to be given some error about cross domain Ajax being disabled or...

Read more...

Using other apps with CakePHP - htaccess config3rd Oct 2010

One thing that is asked quite a lot on #cakephp is how to use other apps alongside CakePHP, and the answer giving is normally pretty ugly. Stick the files/folders in side webroot/. Although that does work, its not very nice. So ill show you a little trick with .htaccess files.

The first (really simple way) is to use a .htaccess inside the sub folder. For example you can have a copy of Jo...

Read more...

SELECT * FROM t1 WHERE title REGEXP '(this[[.space.]{1,}]rocks)'2nd Aug 2010

Trying to find ways of optimizing my code that sorts the jobs, I remembered reading about regex in MySQL. I can make my way round regex, but its not my strongest point so never took much notice. Also not having a need for it, I filed it in to-do.

The problem: I have 15k new jobs pulled from the RSS feeds. Now I want to know what the pay is like for each one. Not all jobs have salaries in...

Read more...

Job searching... The Developer way27th Jul 2010

So I am looking for a job at the moment (something in Php if you had not guessed) and got kinda sick of looking at the same jobs on all the different sites. As one would do, I wrote a feed aggregator, over the weekend. Added some logic to it to remove spam and duplicates so there is less running around on all the sites, extract vital information so I could see at a glance what the job is all...

Read more...

No more posts