Cake is yummy!

09 Jul 2010 - webdev cakephp

Its a few weeks since I formally started my career as a web developer and I feel I’ve got lots to say. I started working on a project writing PHP code that mixed with the view, basically a bunch of php files with lots of PHP code and html. It was easy, but it wasn’t great fun. There was indeed a lot of copy and paste and find and replace, but it was hard work to get things done though it was easier to figure out how to do things.

When I started working on a new project, I convinced my boss that we should try moving to a framework and I chose CakePHP for some reason though there was CakePHP, Codeigniter, and Symfony to chose from. Something about CakePHP pulled me towards it. It took a fair bit of experimentation before I was able to convince myself that I could do it (yeah, this was after I convinced my boss).

After about a week into development, I can happily say that it is indeed awesome and yummy. I like the inbuilt helpers and components that helps do a lot of common tasks like access control, pagination, data validation, and others quite easily. But the best part, is baking code. It takes a lot of the boring part out of coding for a web application especially when your entire application is a CMS like system that is somewhat custom made to client requirements. Being the first project I’m doing in CakePHP, I think it might take around 2 weeks for this project, but I’m pretty sure, I can cut down this time to probably a week or less once I get a feel for it.

I’ve got stuck a fair number of times and I’m really glad that most of my google searches lead me back to the Manual and its mostly what I wanted at that time too. In some cases I got stuck and lost for hours at a time, and that was when IRC came to my rescue. There was always someone online who had a good idea about cake, particularly markstory and savant, always willing to help us newbies. I look forward to more adventures and perhaps more frequent posts.