Angel \”Java\” Lopez on Blog

June 30, 2010

AjGenetizing an Application

Filed under: AjGenesis, Code Generation, Programming, Software Development — ajlopez @ 2:59 pm

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
http://www.ajlopez.com
http://twitter.com/ajlopez

1 Comment »

  1. [...] As usual, I should mention this is a tutorial series. In the real life, I prefer to adopt another approach, described in my previous post AjGenetizing An Application. [...]

    Pingback by Building an Application Using AjGenesis (Part 3) « Angel “Java” Lopez on Blog — July 11, 2010 @ 9:08 pm


RSS feed for comments on this post. TrackBack URI

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

Join 57 other followers

%d bloggers like this: