Categories
Beginner Tutorial

Surveys CakePHP Tutorial Part 1

Last Thursday I received a request to do an application tutorial, so I figured no better time than Tutorial Tuesday! In this two-part tutorial, we will be covering some of the basics of CakePHP application development starting today with database design. I will walk you through different association types and how you can use them […]

Categories
Tutorial

Versioning Your Resource Files in CakePHP

If you have AJAX interactions on your page, or recently went through a style overhaul in your application you’ve probably run into the problem of users having cached versions of resource files. Instead of forcing your users to clear their cache, you can version your resource files! This is easy to implement and saves you […]

Categories
Beginner Tutorial

CakePHP on Windows with WSL 1

Not enough people use WSL. If you’re a web developer using windows I’m officially mandating that you use it! My pompous and unwarranted opinions aside I’ll show you how to set up CakePHP and WSL so that you’re no longer hindered by the bondage of Windows! Enable WSL In order to enable WSL, you need […]

Categories
Tutorial

Adding Character Count to Textareas

Continuing my Textarea saga. Users are an unfortunate reality of the software development cycle. Ideally, the perfect code I write sits idly in a box readily available, scalable, containerized, and any other jargon you can think of, but we do not live in a perfect world. Anyway, here’s a tutorial for how to add a […]

Categories
Tutorial

How to use BETWEEN in CakePHP – Quick Slice

Pssst… Wanna know how to use a SQL BETWEEN statement in CakePHP without having to use an anonymous function? Here ‘ya go. (Shamelessly stolen from Stack Overflow) Hope you enjoyed your slice of Cake 🍰

Categories
Tutorial

Can You Have Markdown in the CakePHP Form Helper?

It’s no secret that the default HTML toolkit is pretty lackluster, at least compared to the plethora of hand-holding tools offered to the average MS Office user nowadays. Make your users feel more at home by adding markdown to your textareas, you could also check out my guide on how to use voice input. With […]

Categories
Tutorial

Real-Time Search With AJAX and CakePHP

As I type away at my 9 to 5 I get a request from an executive to create a “real-time search bar for the employees-dashboard”. A fairly typical request for a code monkey like myself and, at first glance, an easily solvable problem. Several hours of caffeine fueled spaghetti code later, and several more hours […]

Categories
Tutorial

CakePHP Voice Search, Select, and Synthesis

Have you ever wondered how to add voice input to your various forms, and fields? If you did, you probably need a new hobby away from screens, but lucky for you I also need a new hobby that isn’t rotting my retinas! In this week’s addition of Tuesday Tutorials I’ll walk you through how to […]

Categories
Resources Tutorial

CakePHP and Namecheap Hosting

You’ve created an amazing CakePHP app that runs perfectly on your local machine. All your friends think it’s quite possibly the coolest thing that’s ever existed, but the rest of the world will never know about it because you have no idea how to publish a CakePHP app to the world wide web. Well, this […]

Categories
Tutorial

Sending Text Messages With CakePHP

Have you ever wanted to spam your friends phone with endless photos of cats, but felt like you didn’t have the time? Well, my devious friend, I’ll show you how to do that, and more, with the power of CakePHP and email! Sending Text From Email For those of you that don’t know, you can […]