Skip to content

{ Category Archives } code

CakePHP 1.2alpha – model validation

I thought I was out of the woods. I upgraded my development copy of MacServ to the alpha version of CakePHP so I could make use of it’s pagination features; I tweaked my views to replace calls to various deprecated html helper functions with the new ones in the form helper, made one or two [...]

Patching CakePHP

I submitted a minor contribution to the CakePHP framework today, a patch to a patch, to be specific. It’s good to give back

Synchronising production and development code with subversion

Now that MacServ has been deployed keeping development and production copies of the code synchronised has become an issue. The app is still very much a work in progress, with daily requests for fixes & tweaks from the technicians using it and instead of keeping track of modified files and then manually updating them via [...]

MacServ deployed

The initial version of my latest project, MacServ, has just been deployed.
MacServ is intended to model the work-flow at Mac-Sys and to replace the existing paperwork.
Deployment was scheduled for close-of-play yesterday and I thought I was home clear: I’d uploaded the scripts, configured the database and at a quick glance things appeared to be working. [...]

PHP predefined variables on BSD

I’ve been getting ready for the deployment of wow4kids.com and one of the final features to be into place was restricting access to the administrative back-end.
I enabled admin routing in CakePHP and put all the back-end code into admin_* functions in my controller which are accessible via /admin/controller/action. I wanted to enable some form of [...]

Ajax: first impressions

I’ve been working on a form in my app and was faced with a decision regarding one of the fields: I need the user to select an object from a (possibly large) number of existing objects. I reckoned I had 3 options: a simple drop-down list, which could prove to be impractical; a pop-up window; [...]

O frabjous day!

Yesterday, the project I’m working on turned into a full-time gig. I start Monday as a full-time developer and can finally sign-off after nearly 6 years on state benefits. It works if you work it!

CakePHP

I secured my first consultancy gig on Monday, developing a web-app for a local business; the end-product is to be deployed onto a standard *nix hosting account, so it’s going to be an adventure in PHP and MySQL from here on in.
Since my first meeting with the client I started collating all the various bits [...]

UML For A Laugh

I’m just getting started in the development of my next application: a management system for the Agency’s various resources. The intention of this program is to allow members of staff to book laptops, projectors and so on and to see at a glance what is already booked, when for and by whom.
Not since my days [...]

ClickOnce, yeah right

I’ve just committed vdaExtensions 1.1 to SVN: I had had enough of stressing out about minor aspects of the user interface and just went for it and published the application. Only to discover that ClickOnce wasn’t working on the target desktops, doh!
The problem was with the assemblies for the ReportViewer class. I have SQL [...]