Blast from the past

November 10th, 2008 by Nik Chankov Leave a reply »

Hey guys,

last week I’ve worked on a project which I finished somewhere in spring of 2007 and I decided to share my experience with this post. I don’t know did you had such experience, but for me it was interesting, because working on old code is always challenge.

Basically, the project was really small one, which uses 80% of scaffolding, so really nothing complicated. Now the client wanted some extensions to the core functionality /like adding few more look-up tables and some basic reports/ and because I was the only one developer who worked on it, they ask me to do this and I agreed.

My first thought was to upgrade the core CakePHP lib to the last version, but after thinking I decided not to, because if something goes wrong /like some deprecated functions/, I need to do more work in debugging rather than focusing on the real tasks.

What I noticed while I coded?

The major one – Improvement of the console script. In the past it was in the /cake/scripts/. In the folder there were acl.php, bake.php and bake2.php, extract.php for label extraction and master bake which I never used. Now, the console script is more advanced and provide more functions. Still I am not big expert on it and I still using it for basic operations :) .

Fully translated labels – it’s related to the previous one – when the code was generated with old bake script, some of the labels weren’t wrapped with __() function and especially for me it was biggest pain. Someone could tell me that there was ability to modify the templates, but I personally never did it.

The truth is that CakePHP in fact is improved a lot since then. Hopefully it will continue in this direction in the future as well.

Anyway, it was really interesting experience for me.

Advertisement

4 comments

  1. kayla says:

    It sounds like you had a very interesting experience and it is kind of funny. I wish you the best

  2. EDI says:

    Good luck with this as it progresses, im sure all ur hard work will pay off.

  3. michelle says:

    hi..im michelle… do you know how to connect a DTR(Daily time record) system into a biometric device,… Im asking about it because its our school project have and i have no idea. can you please help me… we will be using a mutiple biometri connected to one system…thank you…:D here is my email address mitchbernae@yahoo.com…:D

  4. Nik Chankov says:

    Dear Michelle,

    I don’t have a clue what are you talking about…

Leave a Reply