Archive for the ‘Cakephp’ Category

Generic non-www to www (and vice versa) 301 redirect using .htaccess

Monday, November 3rd, 2008

The problem: I've always hardcoded the domain name in my htaccess'es, requiring me to make changes each time I deploy a new website. The solution: Behold, an alternate, generic method of redirecting non-www to www and www to non-www, requiring no changes between deployments! Non-www to www RewriteCond %{HTTP_HOST} !^www\. RewriteRule (.*) http://www.%{HTTP_HOST}/$1 [R=301,L] www to non-www RewriteCond ...

A quick tutorial on CakePHP Set class (Part 1)

Tuesday, March 4th, 2008

Test data $data = array( 1 => array('Post' => array( 'id' => 1, 'post_comment_count' => 2, 'name' => 'My first title', 'body' => ...

A small change in RSS feeds.

Monday, March 3rd, 2008

Hello again. I have made a small change to the feeds now. Everybody who has subscribed by Feedburner should not notice anything strange. The reason for the change is that I want to be able to blog in Danish too once in a while, and to avoid the 'danish pølsesnak' for you ...

CakePHP talk from FOSDEM – Free and Open Source Software Developers’ European Meeting

Monday, March 3rd, 2008

A small note, gwoo's talk from FOSDM 2008 has been made public avilable here together with his slides. Its actually a quite good presentation, too bad he ran out of time in the end ;)

CakePHP Weekly Summaries Issue #2

Monday, March 3rd, 2008

Welcome Welcome to the second edition of the CakePHP weekly summaries. Its quite embarrassing that it had to take so long time to get the second editon out. Too long time has passed and the amount of things that has happend during that period is waaay too big to be covered ...

CakePHP Weekly Summaries Issue #1.5

Monday, January 21st, 2008

Hello, just wanted to post a quick apoligy :) Sorry that I havent created the weekly summaries for almost 1.5 week now. The reason is that I have begun on a new job, and its consuming quick alot of time and energy ;) Lot of new systems to learn (They dont ...

CounterCache in CakePHP 1.2 beta

Saturday, January 5th, 2008

Update 05.01.2008 At the moment the counterCache code is only executed on CREATE, not on UPDATE - a patch is under way Hello, Just a little turtorial to demonstrate the new model counterCache feature. CounterCache is a very fancy little addition to our beloved CakePHP framework. Simply put, all it does is make sure that ...

CakePHP Weekly Summaries Issue #1

Friday, January 4th, 2008

Welcome to the first issue of CakePHP Weekly Summary. Below you'll find all sorts of interesting topics that were discussed on the CakePHP mailing list and on SVN. This week alot happened, but the biggest news is that CakePHP 1.2 have entered BETA phase, and with that - we are close to a ...

CakeFest website launched!

Wednesday, January 2nd, 2008

Just in on google group - the cake fest website has been launched. Head over to the cakefest website and join the fun Cakefest is the first global meetup for CakePHP (and probably also other PHP programmers) ever, so its going to be very excited

CakePHP 1.2 beta has been released

Wednesday, January 2nd, 2008

Finally it happened ! CakePHP 1.2 beta has been released. Some of the new stuff includes: Reverse routing for array based urls RESTful automagic Forms are easier to create and maintain Security enhancements for better CSRF prevention and HTTP Authentication CookieComponent for securely storing persistent data on the client side Model behaviors The "with" key allows you to define ...