routers / controllers
todd at geistinteractive.com
Wed Mar 30 09:11:05 EDT 2011
Yes, I have seen it. Looks very cool. and I think there is some stuff I
can adapt from there.
Thanks for reminding me of it
On Tue, Mar 29, 2011 at 10:08 PM, stephen barncard <
stephenREVOLUTION2 at barncard.com> wrote:
> Todd, you haven't checked out 'RevIgniter'?
> works on Rev Server. Awesome, by Ralf Bitter.
> great docs, too
> On 29 March 2011 18:25, Todd Geist <todd at geistinteractive.com> wrote:
> > Hello
> > I am on to exploring the C in MVC, the "Controller".
> > I have used a few web Frameworks that were highly event driven. These
> > frameworks often had some sort of Main Controller that would catch all
> > actions and some system events and give you an nice easy way to organize
> > these, so your code wouldn't turn into a mess of spaghetti with events
> > flying all over the place.
> > It also keeps things loosely coupled. When a user clicks a button an
> > is emitted that is caught by the controller. The controller does
> > with that event like querying a DB or closing a window, and it might
> > the State of the application, which if all goes according to plan updates
> > the UI (or View).
> > It occurs to me that LiveCode with its message path might be a nice fit
> > this kind of architecture. I was thinking putting the Controller in a
> > script, and seeing where that leads me. But it occurs to me that you
> > really put it anywhere as long as the messages you send are pointed at
> > object.
> > Has anyone messed around with the concept? Is it useful? Or is over
> > engineering?
> > Thanks for your input
> > Todd
> > Todd Geist
> > ------------------------------
> > geist interactive <http://www.geistinteractive.com>
> > 805-419-9382
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> Stephen Barncard
> San Francisco Ca. USA
> more about sqb <http://www.google.com/profiles/sbarncar>
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
geist interactive <http://www.geistinteractive.com>
More information about the Use-livecode