Hi all,

thank you all very much for your feedback to this topic!
Here is what i have to say in order to the feedback:

---Nick wrote:---
If the code can be generated, why doesn't the language or framework simply do it for you in the first place? While I'm an XDoclet committer, I'm of the opinion that code generation is a hack.
---

I think there is a important difference between having the framework doing things "magicaly" at runtime for me and a software that generates code for me. Having the framework doing things for me automaticaly is nice, but the problem is custumization. With generated code (from customizable templates) i am able to generate a functional application very quick and i still have the possibility to customize the app later.

I think one common misthake in this discussion at this point is the understanding what a code generator does or is good for.

What i am thinking of is more a "Prototype generator" than a code generator which generates full apps for me.

I'll try to explain:
One of the first phase of a new software project is (if we go straigt by extreme programming or agile software developent) you write a Prototype of your Application.
Prototype in this context means:
1. An Application that fullifies the domain specific requirements of your customer. 2. This application has a minimun functionality (The UI may look bad, the Menus and so on may be not very intuitive, no exception handling, no logging, no security stuff and so on but the app does show the general funcionality of the app.)

So a prototype in this manner is much like a prototype of a new car: You can see how it will look like and you can even drive it but it may be far away from the production car.

Then if your customer accepts the prototype you can go on and build the real app. Somethimes from the scratch (which means trhrowing the prototype away) and sometimes you just advance the prototype. And what i want to write is a piece of software that helps you in the phase of protoype building. Prototype building is a process which should be done very quickly and so a prototype generator which you just tell your domain specific logic (aka buissiness logic) would be a great benefit.

I hope i was able to clearify a bit what i am thinking of.

Any thoughts and ideas are welcome!

Thanks,
Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to