MG3 Video Sneak Peak: Event Generation

One of my favorite features coming in MG3 is purely for developer ease of use: hit an event that doesn't exist while in development mode, and it'll generate intelligently named controllers, listener functions, and views, wiring them all together with convention-based XML.

Here's a video of Event Generations (and a bit of SES features) in action:

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
This looks really sweet - I am so psyched about seeing more at CF.Objective!
# Posted By Rachel Maxim | 4/9/08 8:01 PM
Looks cool! Looking forward to seeing more at cf.o()!
# Posted By Peter Bell | 4/10/08 12:20 AM
While I love the SES stuff, and the use of Event in the view state, I have to say I don't like this feature. One simple reason - typos. Every time I accidentally link to an misspelled event, I'm going to have to do a bunch of cleanup. You said this was tied to dev mode - please tell me this has it's own setting as well.

p.s. Next time turn the music off. ;)
# Posted By Raymond Camden | 4/10/08 9:39 AM
Also - Joe - what about support for handling unknown events? Hopefully this new feature doesn't block this. I'd like to be able to configure MG to run event X when an unknown event is requested.
# Posted By Raymond Camden | 4/10/08 9:42 AM
damn sweet. will you have my babies?
# Posted By Chris H | 4/10/08 9:47 AM
Good video. Just a request for next time? I'm hearing impaired IRL and the music just needs to be turned down just a touch. I don't mind the music, but it was slightly distracting in some spots - especially when someone was singing.
# Posted By Todd Rafferty | 4/10/08 9:47 AM
Very nice! The one thing I'd love to see is have scaffolding being used by passing in an object from coldspring that meets the requirements, like has the right functions to return meta data, save, etc. that currently the transferAdapter and service do. That way it could be flexible enough that I could scaffold say from a webservice or anything else. I think that flexibility could be huge.
# Posted By Nathan Owen | 4/10/08 11:05 AM
Hey Ray,

The feature can be turned on/off with a setting. I'm trying to figure out if it should be on by default, and leaning towards "no."

For missing events, I'll be implementing a "missingEvent" setting that's just like the "exception" setting that handles missing events.

Obviously, if event gen is turned on, you won't hit the missingEvent...


Obviously, if it's on i
# Posted By Joe Rinehart | 4/10/08 1:03 PM
Awesome stuff Joe. Dang good improvements. Thanks for making me a hero every day. MG3 is more gooder!
# Posted By Ryan TJ | 4/10/08 1:32 PM
Great stuff!
# Posted By Holly Jones | 4/10/08 8:09 PM
Thank goodness for Joe. Thank goodness.

These are the moments that get me even MORE excited to program.
# Posted By John Allen | 4/11/08 11:50 AM
Sounds like someone is listening to Wilco! Thanks for the demo, I am just getting into MG - having used FuseBox & Coldspring for a while.
# Posted By chief | 4/11/08 2:40 PM
When will MG3 be ready? I can't wait....
# Posted By Henry | 4/18/08 7:52 AM
© 2008 Firemoss, LLC
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.