Internet


10
Aug 07

Baking cake: beginning CakePHP

Recently, as a result of a project at work, suddenly found myself needing to develop a PHP web application in quick time! This is kind of cool since I have always wanted to do more with PHP but have not found the time or a nice project to work on. I have subsequently discovered a RAD (rapid application development) framework known as CakePHP, which uses the MVC (model-view-controller) design pattern. In case you are not familiar with the concept of MVC – like I was :-) – here is a concise illustration of how the MVC pattern works. After following some of the online tutorials I found, I think the MVC pattern and CakePHP (with its active development community) are both excellent tools for developing PHP applications.

Here is a draft of a new book on CakePHP aiming at newbies, with its associated forum.

ps. Mambo has just announced that they will switch over to the CakePHP framework for their next release.

Popularity: 2%


15
Jun 07

When not to use AJAX

Something different for a change. AJAX is a nice tool to have under your belt, but the question is: is it always necessary? Just as in the early 90s, animated gifs were everywhere – some cool effects too – but they can get a touch boring when over-used. Well, here are some occasions where you should not use AJAX. Very enlightening. By the way, there is also a nice list of tutorials at the end of the article.

Popularity: 5%


23
Feb 07

Livecanlendar fix

Just “rediscovered” the WordPress plugin called Livecalendar. This is a drop-in replacement for WordPress’ in-built calendar. Livecalendar is a cool AJAX-ified plugin for :wp: and allows for calendar navigation without refreshing the entire page. Note that for the current version (v. 1.8.5) there is a small bug which prevents it from displaying the links correctly when you have installed WordPress in a subdirectory while your blog is placed in the root instead (i.e. when WordPress address and Blog address of the General Options are different). However here is a well-documented fix for it for those who may need it!

* I had actually used this plugin before but decided it was just too slow for me at the time, but everything seems OK for now.

Popularity: 2%


18
Feb 07

NSFW?

Just a quick note about an unusal – for me, at any rate – acronyms.

Recently came across a few articles with the rather strange acronym NSFW?? I was quite stumped for a while – perhaps I have been left behind by the information highway… :-) Well, never fear, Wikipedia to the rescue! It turns out that NSFW = Not Safe For Work – not that I have been reading anything unsuitable for work. :wink:

Popularity: 2%


30
Aug 06

(Dis)Honourable list

This is not a list every web site maintainer wants to get onto! For the record, here are the award winners for web pages that suck for 2005. Now, while I hope that I will never have the privilege to be mentioned, it is a great learning resource – as long as you are not at the receiving end… :wink:

Popularity: 1%