# Application generation

**URL:** <https://www.ruby-forum.com/t/application-generation/102971>\
**Category:** Rails\
**Created:** [July 9, 2006, 1:29am UTC](https://www.ruby-forum.com/t/application-generation/102971 "2006-07-09T01:29:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Blakey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@Adrian\_Blakey](https://www.ruby-forum.com/u/Adrian_Blakey)\
**Post date:** [July 9, 2006, 1:29am UTC](https://www.ruby-forum.com/t/application-generation/102971/1 "2006-07-09T01:29:10Z")

</div>

I love rails but I want more. 🙂

I’d like a generator that generates a complete application. It would  
read an information model, and from it generate the MVC’s with a  
validation-constrained model, errors and exceptions, page navigation and  
rich view layout…

The information model would be represented by ruby “meta” classes, and  
could be generated as an intermediate step in the complete process from  
a database schema.

The generated UI would need to be AJAX - I currently like the Dojo  
stuff.

Anyone got any similar thoughts or is working on something like this?

---

<div class="post-metadata">

**Author:** ![Adrian\_Blakey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@Adrian\_Blakey](https://www.ruby-forum.com/u/Adrian_Blakey)\
**Post date:** [July 9, 2006, 7:14am UTC](https://www.ruby-forum.com/t/application-generation/102971/2 "2006-07-09T07:14:04Z")

</div>

Adrian Blakey wrote:

> I love rails but I want more. 🙂
> 
> I’d like a generator that generates a complete application. It would  
> read an information model, and from it generate the MVC’s with a  
> validation-constrained model, errors and exceptions, page navigation and  
> rich view layout…
> 
> The information model would be represented by ruby “meta” classes, and  
> could be generated as an intermediate step in the complete process from  
> a database schema.
> 
> The generated UI would need to be AJAX - I currently like the Dojo  
> stuff.
> 
> Anyone got any similar thoughts or is working on something like this?

Well, I hate to break it to you but here is the general response you  
will get:  
HAHAHAHAHAHAHA!!!

Chris

---

<div class="post-metadata">

**Author:** ![Adrian\_Blakey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@Adrian\_Blakey](https://www.ruby-forum.com/u/Adrian_Blakey)\
**Post date:** [July 9, 2006, 7:47am UTC](https://www.ruby-forum.com/t/application-generation/102971/3 "2006-07-09T07:47:23Z")

</div>

On Sun Jul 09, 2006 at 07:14:04AM +0200, Chris C. wrote:

> Adrian Blakey wrote:
> 
> > I love rails but I want more. 🙂
> > 
> > I’d like a generator that generates a complete application. It would  
> > read an information model, and from it generate the MVC’s with a  
> > validation-constrained model, errors and exceptions, page navigation and  
> > rich view layout…

> **[dabbleDB](https://dabbledb.com/)**
>
> Stay at the forefront of innovation with DabbleDB - Your go-to source for all things tech and entertainment.

> > The information model would be represented by ruby “meta” classes, and  
> > could be generated as an intermediate step in the complete process from  
> > a database schema.

not sure what you mean here. as in something different than AR classes?

> > The generated UI would need to be AJAX - I currently like the Dojo  
> > stuff.

ajax\_scaffold\_generator

> > Anyone got any similar thoughts or is working on something like this?
> 
> Well, I hate to break it to you but here is the general response you  
> will get:  
> HAHAHAHAHAHAHA!!!  
> ] lolwtf?

---

<div class="post-metadata">

**Author:** ![Adrian\_Blakey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@Adrian\_Blakey](https://www.ruby-forum.com/u/Adrian_Blakey)\
**Post date:** [July 9, 2006, 2:05pm UTC](https://www.ruby-forum.com/t/application-generation/102971/4 "2006-07-09T14:05:37Z")

</div>

Adrian Blakey wrote:

> The generated UI would need to be AJAX - I currently like the Dojo stuff.
> 
> Anyone got any similar thoughts or is working on something like this?

Dave T. asked for Rails to move in this direction in his keynote at  
RailsConf:

[http://glu.ttono.us/articles/2006/06/23/dave-thomas-keynote](http://glu.ttono.us/articles/2006/06/23/dave-thomas-keynote)  
[http://blog.scribestudio.com/articles/2006/06/30/railsconf-2006-keynote-series-dave-thomas](http://blog.scribestudio.com/articles/2006/06/30/railsconf-2006-keynote-series-dave-thomas)

and mentioned the work Justin Gehtland is doing on Streamlined:

[http://streamlined.relevancellc.com/](http://streamlined.relevancellc.com/)

regards

Justin F.

---

<div class="post-metadata">

**Author:** ![Adrian\_Blakey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85f322/32.png) [@Adrian\_Blakey](https://www.ruby-forum.com/u/Adrian_Blakey)\
**Post date:** [July 18, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/application-generation/102971/5 "2006-07-18T19:00:49Z")

</div>

Chris C. \<cdcarter@…\> writes:

> Adrian Blakey wrote:
> 
> > I love rails but I want more.
> > 
> > I’d like a generator that generates a complete application. It would  
> > read an information model, and from it generate the MVC’s with a  
> > validation-constrained model, errors and exceptions, page navigation and  
> > rich view layout…

Hi Chris,

I’ve been working on something like this for years. I use ColdFusion and  
am in  
the middle of rewriting it to be more OO. In practice you have to use a  
combination of dynamic programming, metadata generation using templates  
and  
software product lines to get much above 85% generation for non trivial  
applications.

Feel free to check out my blog where I post about the process (as well  
as  
design patterns and other bits and pieces). [www.pbell.com](http://www.pbell.com)

Best Wishes,  
Peter
