Archive for the ‘Cakephp’ Category
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 ...
Posted in Cakephp, Uncategorized | 7 Comments »
Tuesday, March 4th, 2008
Test data
$data = array(
1 => array('Post' => array(
'id' => 1, 'post_comment_count' => 2,
'name' => 'My first title', 'body' => ...
Posted in Cakephp | 4 Comments »
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 ...
Posted in Cakephp | No Comments »
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 ;)
Posted in Cakephp | 1 Comment »
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 ...
Posted in Cakephp | 3 Comments »
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 ...
Posted in Cakephp | 4 Comments »
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 ...
Posted in Cakephp | 7 Comments »
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 ...
Posted in Cakephp | 15 Comments »
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
Posted in Cakephp | No Comments »
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 ...
Posted in Cakephp | No Comments »