From: Ryan Davis Date: 2005-09-16T01:57:06+09:00 Subject: Re: [ANN] Zero to Rails On Sep 15, 2005, at 9:21 AM, Piergiuliano Bossi wrote: > Ryan, I have a few questions from a collegue (who in turns > indicated rapidj as a comparable example in the java world, > generating struts code with all the implied consequences, of course): rapidj starts at $400US and does one thing only. Graffle starts at $80, might already be on your powerbook or powermac, and makes beautiful diagrams and charts of any kind. It is what visio wishes it could be. > *) how much time have you spent on developing your scripts? Hrm... Probably 3 hours or so for the applescript. About an hour or two for the ruby. > *) how big they are? (of course if you release I can answer myself) The SQL generator is approximately 140 lines of applescript. The model generator is approximately 130 lines of ruby. The movie is approximately 3 meg. :) > *) what do they do in the end? Generate SQL and the relationship fields in the model. The model generator also: runs your rails command (no biggie); modifies your database.yaml to connect to postgresql (because WHO in their right mind would use mysql, really?), changes the username and db names so it will immediately connect; tells you what commands you might like to run to get bootstrapped; and then finally generates the model.