Database back-end without hand-writing any code

I finally put a screencast together of Generate, which is a system
I’ve been working on the past month or so in my “spare” time. It uses
MyActiveRecord and two other classes to underpin a MVC (Model / View /
Controller) Web application.

Generate lets you start with your database, model the application
there following some simple conventions, and then push a button to
have it write a whole lot of PHP code for you. That code is static
once generated, so you can open it up and edit it and make any
adjustments or improvements you might want to make. More importantly,
you can move that generated code to a completely different server than
the one you generated it on, and it will still work.

How does this relate to Freeway? Well, the View layer is flexible
about where it looks for its template files, so that means you can use
Freeway’s normal file layout to create the visible parts of the
application while Generate (and any extension code you write) manages
the rest. (I don’t cover that aspect in my initial screencasts, but I
hope to do so soon.)

In the screencasts (split in two because of file size) the first half
gets the system installed on a Mac and the traditional Blog
application started, and the second half shows the addition of
comments to that blog. I make a few mistakes along the way (reality
TV, ya know) and correct them, which hopefully will help keep this
from appearing /too/ magical.

The screencasts are up on http://freewaycast.com/ in the number 1 and
2 spots (at least until Dan puts more of his fabulous casts there and
bumps them down). Be sure to watch them in order, because the second
half is literally just that – cut from the first with a knife.

Enjoy, and happy autumnal holidays!

Walter


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter - there appears to be a bit of screencast missing from the second one. Just when it starts to talk about creating/editing the Form

D


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yeah, clumsy edit. I say “clumsy but functional” but it got cut a
little early.

Walter

On Nov 24, 2010, at 5:19 PM, DeltaDave wrote:

Hi Walter - there appears to be a bit of screencast missing from the
second one. Just when it starts to talk about creating/editing the
Form

D


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

But very useful all the same.

I have had a quick play and set it up under MAMP - just to really get into Part 2

Thanks

David


dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options