A fluent API can be incredibly helpful when sharing your application with other developers. Fluent methods are a hot design idea and they can improve the readability of your code. However, they only make sense in specific scenarios. A fluent interface (as first coined by Eric Evans and Martin Fowler) is a method for constructing... Continue Reading →
Object JavaScript – Code Walkthrough of a jQuery UI Widget
In the last post, Building Stateful jQuery UI Plugin Using Widget Factory, you were introduced to the working structure of jQuery UI Widgets. You learned that it uses the factory pattern is a way to generate different objects with a common interface. And that it Widget Factory adds features to jQuery plug-in. jQuery UI Widget... Continue Reading →