In one of my projects, I have several customers all served from the same CakePHP application. This is by no means unique, and is a very well understood pattern of maintaining co-exiting websites. In my set up, each of the customers has their own website, with their own data and design, but there is only one copy of the actual application behind all those websites. This is, of course, a fundamental attribute of selling SaaS.
From a …
This teknoid blog post describes an excellent method of refining Cake’s default error handling.
Quick reminder: by default, if your debug level is set to 0, cake will always redirect your user to the error404.ctp under app/views/errors).…
Timing attacks are very difficult to pull off, but are possible nevertheless. However, it is quite easy to protect your Cake application against them, and as an aside – against incremental password crackers brute-forcing. This post shows you how.…
We’ve all been there: You have a website design. There are placeholders for galleries or thumbnails or what-have-you. Sweet as.
You code, fire up the browser and -
the images are all wrong! They are too large, your page looks awful, or you get sliders all over the place. Not happy at all.…
CakePHP’s security component is awesome. I use it all the time for its CSRF protection (Which will be the subject of a future post).
But sometimes, it does not work as expected. Frustration ensues.
In one of my projects, I have a form with a few text areas on it. The user uses this form to create or edit a story. After adding the security component to the controller, I noticed that when the user submits …
CakePHP is in many ways an awesome framework. It does lots of things for you automagically, and makes development quite pleasant on most days. However, there are a few places where the framework displays irritating glitches.
One of those unlucky places is when you want to use an image as the submit button for your forms.
In the previous part of this series we saw how to edit fullCalendar events via CakePHP.
In this post we’ll see how to let users resize or drag’n’drop an event displayed on the screen.…
In the previous part of this series we saw how to add fullCalendar events via CakePHP to a MySQL events table. In this post I’ll focus on editing the events that Fullcalendar displays.
To provide a complete calendar solution on your CakePHP website, you’d need to let your users move events around, change their details (e.g. location) and even delete them if they are cancelled. Using Fullcalendar and the integration in this post – you’ll be able …
Jordan Boesch has an excellent jQuery plugin for showing Growl-like messages in your web applications. This immediately seemed perfect for showing the flash messages on my CakePHP application, and Jordan even links to a blog post explaining how to integrate these together.
This post is in Spanish, and even though it’s easy enough to follow, I thought I’d sum it up for the English-speaking crowd as well.
Recent Comments
- Medovarszki: This post saved my hair from falling out but yeah, I beat my head against the wall now too
- Shehryar: Probably the ebst spring web mvc tutorial I have read, explain everything in great detail. i loved it, this...
- armand: You do not resize the image. You just display it smaller using html tag attributes. It would be nice to...
- COTP: ** Just to clarify, in CakeErrorController.php (the copy in app/Controller/) public function beforeRender() {...
- COTP: For CakePHP 2.0+, you can copy lib/Cake/Controller/CakeErrorC ontroller.php to app/Controller/CakeErrorCon...
- Medovarszki: This post saved my hair from falling out but yeah, I beat my head against the wall now too
Categories
- Android (1)
- appengine (3)
- Be nice to your users (6)
- CakePHP (13)
- General (5)
- Googlemaps (3)
- Java (11)
- javaScript (4)
- jQuery (11)
- Seam (2)
- Security (4)
- Spring MVC (1)
- Spring Webflow (2)
- User Interface (5)
- Wordpress (2)
Archives
- January 2012 (2)
- December 2011 (1)
- July 2011 (2)
- June 2011 (4)
- May 2011 (1)
- December 2010 (3)
- November 2010 (1)
- August 2010 (2)
- July 2010 (2)
- June 2010 (4)
- May 2010 (4)
- April 2010 (5)
- March 2010 (3)









