agile

  • submit to reddit

Practical PHP Refactoring: Replace Data Value with Object

One of the rules of simple design is the necessity to minimize the number of moving parts, like classes and methods, as long as the tests are satisfied and we...

0 replies - 4121 views - 08/15/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Self Encapsulate Field

We are entering the data organization refactorings section of Fowler's book: these methods apply to object which maintain state, like entities, records, value...

0 replies - 3887 views - 08/10/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Introduce Local Extension

Introduce Local Extension is a workaround refactoring used to add logic when you cannot modify the original source code, or a more invasive refactoring is not...

0 replies - 3857 views - 08/08/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Introduce Foreign Method

A new method is needed, as we are factoring out some lines of code. It would be nice to have it available on a class which already has all the fields to...

0 replies - 3583 views - 08/03/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Remove Middle Man

Last week we talk about Hide Delegate as a tool for conforming to the Law of Demeter, and avoiding continuously scavenging the object graph in all directions....

0 replies - 4450 views - 08/01/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Inline Class

Every refactoring technique is potentially bidirectional: their list is a toolbox, and you decide when to use each tool.Inline Class is the inverse of Extract...

0 replies - 4598 views - 07/28/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Hide Delegate

The client code is calling a method on a collaborator (delegate) of another object, obtained by getter or another sequence of calls. Hide Delegate is about...

0 replies - 5904 views - 07/27/11 by Giorgio Sironi in Articles

Phantom JS: an alternative to Selenium

PhantomJS is an headless browser based on an embedded webkit, suitable for testing of web applications involving JavaScript usage where simpler tools do not...

0 replies - 18032 views - 07/21/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Extract Class

Sometimes there is too much logic to deal with in a single class. You tried extracting methods, but they are so many that the design is still complex to...

0 replies - 4844 views - 07/20/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Move Field

Object-oriented programming is based on the encapsulation of state and behavior associated with that state in decoupled items called objects. In the previous...

0 replies - 4013 views - 07/18/11 by Giorgio Sironi in Articles

Practical PHP Refactoring: Move Method

Following in Fowler's steps, we start a section of refactorings that involve moving features and code between classes and objects. While the changes we have...

0 replies - 4765 views - 07/12/11 by Giorgio Sironi in Articles

Daily Dose: Mule's Integration PaaS Goes Beta

Mulesoft has announced the beta version of Mule iON, a cloud-based integration platform-as-a-service which allows developers to integrate and orchestrate...

0 replies - 13131 views - 07/05/11 by Jim Moscater in Daily Dose

Testing JavaScript when the DOM gets in the way

It's one thing to exercise a simple function or even an object graph in a controlled environment; it's another to assert the DOM is manipulated correctly:...

2 replies - 3675 views - 07/05/11 by Giorgio Sironi in Articles

The Rise Of The API, The Future Of The Web

Last month, Twitter and Facebook made some moves to hide RSS feeds and put focus more on their APIs. There was the typical ranting that followed the news,...

0 replies - 987 views - 06/16/11 by Robert Diana in News

Automated code reviews for PHP

I'm exploring an approach to automated code review: it's not as precise as the human-based one, but it scales better.For example, I heard from the Ideato guys...

0 replies - 9156 views - 06/16/11 by Giorgio Sironi in Articles