Categories

Understanding and escaping the dreaded Security Component Blackhole

So, you have a Form that you built in your CakePHP view and messing around with it using some javascript, and all of a sudden….pooof….the form won’t post anymore as the Security Component blackholes it. What did you do? How/what happened? Where do you start? Do you just disable the security plugin? Do you have [...]

Jquery Form Plugin clearForm() issue with CakePHP security component

This week I have had an issue where every time I cleared a form using JavaScript, CakePHP’s security component halt the processing and complained when posting it. I am using the jquery form plugin’s .clearForm() to clear the form, and found the issue, and work around.

A Tale of PHP IDE’s

I have been an Ecipse PDT user for the last couple of years, and while I have gotten it to “work” with CakePHP, I have always found it a messy solution, as you have to “hack” up your sources pretty good in order for Eclipse to understand the CakePHP world.
While this does work, it is [...]

Using CakePHP “Parts” in Other Applications

So, you have some third party PHP based web application, and you want to somehow “link” it with your CakePHP site. Wouldn’t it be great if this other application could share some things with your Cake site, like use your existing security components to check if the current user is authorized to use this third [...]

Ajax Pagination in CakePHP using JQuery

Today I needed ajax-ified pagination in a cakePHP app, and after looking around a bit, I found an excellent start on this blog: http://lucidchart.blogspot.com/2008/10/jquery-ajax-pagination-for-cakephp-12.html. In this post, I add the ability to show and hide a div to provide user feedback during an Ajax action using Jquery.

Javascript Rounded Corners and JQuery

In one of my projects I needed some nice rounded corners, but I needed to have the flexibility to style them, and change colors easily, and quickly as needed. I usually used Nifty Corners, and have had good success with it, but this time around, I wanted to see if I could do it all [...]

CakePHP – There and back again

I have been bouncing between web development frameworks for a little while. So this is a quick tale of my experiences with a couple of them.
First off, all of these frameworks are really great, this is not meant as a “this framework is better then that framework” thing. Just my thoughts and finally the decision [...]