Friday, December 4, 2015

Command framework


Today, I want to show you guys an API which I developed to create commands in a fluent way. This API is based on the Builder pattern, to provide us something similar to a DSL (Domain Specific Language), in this case to create commands.

Note that this API provides a model based on Command, ErrorHandler and CommandRepository objects. With these three classes, you can build any complex command you want, applying patterns like Decorator, Composite, Visitor and so on.

Take a look command framework. And feel free to branch the project.

Until next time.
Happy codding :)

No comments:

Post a Comment