I Hate Sheep

Making the world a better place, one idiot at a time

ActiveScaffold - the best thing since dynamically self-slicing bread

Posted by Johnnie Sat, 18 Aug 2007 15:33:00 GMT

How have I missed this? Why did nobody tell me about Active Scaffold before now?

Most of my Rails apps site on a CRUD backend, which I usually generate using Rails built-in scaffold, just to get things going. Inevitably, I’ll rewrite 9/10 of the code, because the default scaffold is clunky and decidedly non-scaleable.

ActiveScaffold scales like vectored gold. What’s more, it reads your Models and dynamically generates an AJAX-powered CRUD interface for them, including their relationships. So, if your Farmer model has_many :cows, and your Cow model belongs_to :farmer, you’ll find the ability to create a new Cow, or add an existing one, has been baked in to the interface for creating a new Farmer. Awesome.

Read more...

Posted in , ,  | Tags , , , , , ,  | no comments | no trackbacks

David Heinemeier Hansson, I want your babies

Posted by johnnie Thu, 24 Aug 2006 11:12:00 GMT

Have I mentioned how much I love Ruby On Rails recently?It’s just … so … I’m sorry, I’m too emotional right now. I have a fairly standard process of development when I’m learning a new language or tool (or both, in this case). It’s an iterative process, which involves me learning the basics and thinking that I understand it, then going back to the beginning and learning it all again, and really understanding it this time. I finished iteration 2 for Ruby some time ago, and I’m now well into iteration 3 (actually using the damn thing in a sufficiently productive way that I actually achieve something other than working through tutorials). For the Rails framework, though, I haven’t got quite as far. I’m right in the middle of iteration 2 now, and I have to say I’m loving it. Iteration 1 was enough to make me phone up all my friends to tell them how great it was, but now I really love it.

Read more...

Posted in ,  | Tags , ,  | 2 comments | no trackbacks