November 9th, 2011
The more I’ve gotten into CakePHP the more apparent it has become that in order to use it to its full potential it’s important to understand Object Oriented Programming in PHP. Read the rest of this entry »
September 7th, 2011
My problem was I wanted to create an array that I could use throughout the site. Specifically, I wanted to create this: Read the rest of this entry »
August 15th, 2011
Note: this information assumes you have set up a login using CakePHP’s Authentication component.
What I needed to do in the web application I’m building to learn CakePHP is update the database with information from a Session handled by CakePHP’s Authentication component. Specifically, I have a user who is logged in and who is going to enter a payment from one of their clients. The payment table has a user_id field that connects the payment to the user. Each user in my system can record many payments for each of their clients. read more »
August 15th, 2011
I needed to have a dropdown list that displayed users’ first and last name. By default when you use the list in cakePHP it only shows one field. After doing a lot of searching I found this solution which works very well. Thanks to teknoid at nuts and bolts cakephp for this solution. Here is the post where he explains it: find(‘list’) with three (or combined) fields
BTW, I looked at some other solutions and nothing worked as easy as this does. First add this code to your main model, i.e. read more »
August 13th, 2011
In CakePHP’s tutorial “Simple Acl controlled Application” you are directed to use “cake bake” in the CakePHP console. You will need to get that working before you can continue with the tutorial and/or if you really want to see the incredible power of CakePHP. If you are a Windows’ user watch the video: Setting Up the CakePHP Console on Windows. However, if you work on a Mac like I do, that’s not going be much help, but don’t fear I found the video that will explain it to you. read more »
August 13th, 2011
I’m going to start posting information about cakePHP. I’m not a cakePHP expert, far from it. In fact, I’m just starting out with cakePHP. One of the things I’ve noticed with online tutorials when I was first starting out with an internet technology whether it was a CMS system, a javascript library or a programming language is that I often didn’t find an explanation that made sense to me as a beginner. Quite often ( and there’s nothing wrong this ) the author assumed much more understanding of the subject matter than I possessed. For non-beginners this is great and obviously I’ve learned a great deal from these online tutorials. Don’t misunderstand….I’m not knocking them. read more »
August 9th, 2011
Another web developer suggested I check out cakePHP, a PHP framework. I don’t think I would have save for one reason: in his email he wrote,
“It changed my life.” read more »
December 23rd, 2010
I’ve heard some talk, some rumblings in the techie community, a bit of condescension thrown about like guests throwing confetti at a wedding: The iPad can’t do this. The iPad can’t do that.
If you are one of those people who enjoy running the command line, wearing t-shirts that promote the merits of binary code AND enjoy tearing down the iPad, remember this: the iPad is not for you! read more »
May 13th, 2010
What’s the most boring page on a website? Let’s assume that it’s a decent website with decent content. The prime candidate for the most boring page on most websites has to be the infamous 404 page, that is, the Page Not Found page. This page, when delivered by the server, is about as boring as Uncle Erwin’s description of his latest colonoscopy. It usually reads something like this: read more »
April 7th, 2010
Some months back I wrote about extracting myself from IE 6. Basically, I decided I wouldn’t support it unless a client asked for support or we deemed it necessary for their situation. I make this very clear to my clients before I begin building their sites. Most of them agree. Don’t worry about it, they say. How old is it? Geeezzzz! read more »