Thursday, January 10, 2013

Dear diary

Enjoyed a lot programming with Yii this week. I'm really amazed at how the modelling layer, CActiveRecord, is implemented. With just a few lines, you're up and running. It's like a breath of fresh air. I take back what I said before about missing Symfony's schema descriptions.

I'm already using it on a project and the client's happy with the initial results.

In line with the clean ups I'm doing, I got to play with a couple of Pear modules, too. HTML_AJAX and Pager. Chances are that I won't be using them anytime soon on a project, but the opportunity to see and pick up some styles or ideas makes it worth. Come to think, I have to play yet with the new nifty features of PHP5.3.

Will also be playing with RaphaelJS. I believe it is the best choice for the seating plan project I'll be working on in the near future.

HTML_AJAX tutorial: http://devzone.zend.com/1356/building-ajax-applications-with-php-and-html_ajax/
PEAR::Pager tutorials: http://www.alberton.info/pear_pager_tutorials.html
RaphaelJS introduction: http://net.tutsplus.com/tutorials/javascript-ajax/an-introduction-to-the-raphael-js-library/

Sunday, January 6, 2013

Yii (Yes, it is!)

Recently had time to play around with Yii and just about halfway on its guide. Coming from a Symfony background, hope I can catch on quickly with this framework.

Two years had gone by since the last time I've programmed with Symfony and reading through the Yii's guide make me wonder about the difficulties I encountered during that time on complex requirements. Honestly can't seem to recall any at this point yet.

I love the way guide is written. Many of the sections devote a few sentences or some to explain recommended practices, not just how something is done with the framework. I also think browser-based code generator, Gii, kicks ass. I miss Symfony's ability to generate database tables from schema descriptions and populate them with sample or backup data.

Oh, Yii also claims to be faster against the other popular PHP frameworks.

Yii: http://www.yiiframework.com/