Numword v1.4

A small script that can convert a number to its word equivalent. Can work with single numbers, multiple numbers, currency and within text blocks.

Recent Thoughts

Blog entries with the tag "Cakephp"

Its been over a month since I posted an entry and even longer then that since it was a CakePHP entry. My goal was to post on average two entries a week, or at most 10 entries a month, but I have failed to do that so I am sorry. I mainly have been absent because of my new job I started on November 2nd, and it has been taking up most of my time and day. Furthermore, I haven't worked in CakePHP for months, seeing as how I have no new projects or features to add to my existing ones. Continue reading...
If you are a CakePHP developer, I am almost certain you have run into this problem on multiple occasions. What problem are you referring to you ask? Well, the problem that you have when your Model is not being found and Cake automatically substitutes it with AppModel. Here's how to fix those problems. Continue reading...
By now most of you have heard that the awesome Nate Abele (which I had the privilege of talking to and partying with at Zendcon) is leaving the CakePHP team. A lot of developers were taken back by this and are unsure if they should continue to develop with CakePHP. Now, I find this ludicrous on many levels. Sure Nate was the lead developer, but that doesn't mean he was the only one. We still have the mighty Mark Story and the returning Larry Masters. Continue reading...
For the past month I have been talking about CakePHPs lack of a built in uploader component or mechanism, and how I wanted to build one. Well I went ahead and did that, and now its available. The Uploader is primarily used as an all purpose file uploader and was built to not interact with a model/database. Here is a quick rundown of the plugin. Continue reading...
Many of you have heard me mention a component that keeps your Auth session active, even after the browser is closed. Well I think its time to officially announce it, my AutoLogin component. This component ties into the Auth component and allows a user to "remember me" to keep them constantly logged in. Continue reading...
Well its been a while since I have posted anything useful, and im sorry for the lack of activity. I actually have many post ideas up on my whiteboard, its just that I have been extremely busy lately. Tomorrow I will be going on a week long cruise to Canada, so I have been preparing for that all week. Besides preparing for my trip, I have been working on two of my own websites, I will review them both below. Both of which are CakePHP applications... for your information, hah. Continue reading...
While working on a project of mine, I wanted to be able to do a search, but have the post data be retained as named parameters (basically like a $_GET string). My first attempt was setting the form method to get, and trying to convert the $_GET by doing some mod_rewrite magic. This didn't work out at all, mainly because I couldn't get it to work for multiple named parameters. The only alternative I found was suggested by someone in the Google groups; they suggested posting a form to another action to deal with the logic, and finally redirect applying named parameters. This works perfectly, albeit adding an extra step in the process. Continue reading...
When I first started using CakePHP, I couldn't find a way to pre-populate a form with data. Why would I need this you ask? Well its simple, it would be used to edit something already existent. So what I need to do is grab the data from the database, and then populate the form. Took me a few hours to figure out how to do it, the guide really didn't explain how it should be done (or I just overlooked it). To have the data populate, all you need to do is to set $this->data to the database result. Continue reading...
Commentia v1.2 is now official released. This version comes with a settings system, in which you define in the model instead of editing the file manually. Continue reading...
Recently I was working on a project, where a certain controller had over 15ish+ different models. The problem is that each action needed a different model, and I didn't want to load all those models at once. Here's how to load models, specific to certain actions. Continue reading...