Installing membase/memcached

These are instructions for getting membase/memcached installed in your local environment. (I was installing on windows so your setup might

Read more

Speed up your pagination with a simple hack…

Before I go into the example in this little post, let me just say that this situation won’t be applicable

Read more

Dealing with static pages v2 (or… 3?)

Over the years of cake development we’ve seen a number of ways to get rid of the the /pages/ path

Read more

Be mindful of the redirect(s)

Just a couple of tidbits about CakePHP redirects, prefix routing and Auth. 1. Auth mysteriously redirects your logged in user

Read more

Two ways to debug your AJAX queries

Every once in a while you might have a need to trigger an AJAX action in the controller, which should

Read more

Checking for SSL and then some…

A simple way to check and enforce SSL can be done by using the RequestHandler component. Here’s an example: private

Read more

Catch database errors before it’s too late

A quiet, little method inside model.php, can actually help us out quite a bit. I am talking about the onError()

Read more

A simple shell to hash your passwords

If you are moving data into a CakePHP environment and the passwords in the existing DB aren’t hashed, you can

Read more

Solving the country/state problem with CakePHP and jQuery

I’d say that it is a pretty common issue (and maybe not quite “a problem”), where you would have a

Read more

Self-adjusting credit card expiration year

Once in a while, it happens, that you need to build a payment form with credit card expiration year as

Read more
%d bloggers like this: