Sunday, August 21, 2011

Holidays roundup: 2 weeks of PHP and client side

While I was away, my editor continued publishing my articles on DZone. In the last period I am trying not to focus too much on PHP but also on client side technologies; in this case, CoffeeScript and SASS, but usually JavaScript.

Here are my original articles.

First week
Practical PHP Refactoring: Introduce Local Extension is a technique for adding behavior to a class whose source code is not available for modification.
CoffeeScript: a TDD example is an introduction to CoffeeScript that explains how to work with Test-Driven Development in this JavaScript abstraction.
Practical PHP Refactoring: Self Encapsulate Field is about hiding fields even inside a class.
The fastest browser poll: results shows which browser is considered the fastest by developers who read DZone.

Second week
Practical PHP Refactoring: Replace Data Value with Object is about the introduction of a class in place of a scalar value.
Object Calisthenics is an exercise to improve object-oriented design basic skills. My results and code are attached.
Practical PHP Refactoring: Change Value to Reference is about changing the lifecycle of an object from a simple value to a unique object.
Syntactically Awesome Stylesheets is an introduction to SASS, a language that compiles to CSS.

No comments: