AjGenetizing an Application

Recently, I blogged about:

Code Generation with AjGenesis in a Real Project

In that real project, I applied what I say it’s “ajgenetizing” an application. What does it mean?

The basic idea is:

– Start writing a working application, that resolves your tech problems, like persistence, security, distribution, etc..
– Begin to discover the repetetive and/or “bored” parts: configuration files, project and solution files, directories, data access classes, logic classes, domain classes, other text files, etc…
– Extract an initial model: maybe, entities description with some tech parameters, like database to use, etc…
– Write tasks and templates to generate a similar application, automatically.
– Specify clearly, what text artifacts

– are re-generated each time the model changes
– are generated once, and then, it’s evolve manually
– are created manually

– Alter the model, and regenerate: all is still working.
– Write another model, to produce another application, but using the adquired knowledge (about logic implementation, and used technology).
– Another “litmus test”: change once of the selected technologies (data access to ORM, manual validation rules to validation framework, no IoC to IoC container, etc…), and test the “new” application

I could begin to write a serie of posts, adopting such approach. But I guess, a more “tutorial” approach is needed, for the current state of AjGenesis (lack of supporters, bloggers, etc..). The approach I will follow is: start with a minimal model, generate few files, and then iterate, commenting in detail the taken decisions.

Keep tuned!

Angel “Java” Lopez

One thought on “AjGenetizing an Application

  1. Pingback: Building an Application Using AjGenesis (Part 3) « Angel “Java” Lopez on Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s