Understanding the Controller #131

Closed
Wallhood opened this Issue Apr 29, 2012 · 1 comment

Projects

None yet

3 participants

@Wallhood

I'm new to MVC, normally I'm just developing optimization algorithms and then handing them off to other developers to use. When I read the code for a Geddy project everything makes sense until I get to the Controller returns. I walked through the tutorial and when I look at the controllers they are ending with:

self.redirect({params: params});
or
self.respond({params: params, todo: todo});

What is actually being done here? I know that somehow markup is being compiled and returned to the browser. How does the browser know that it only needs to refresh the html in the (div class="container") field?

Part of the reason I really want to understand is that I am hoping to build some single page apps with Geddy and I am wondering if I can get the browser to fade the transitions between the old markup and new markup. Thanks for any help, it is much appreciated.

@mde
Collaborator
mde commented Apr 29, 2012

This is a very good question -- but could you post it to the new mailing list, so other people can participate in the discussion?

Here's where you can find the mailing list:

https://groups.google.com/group/geddyjs

Thanks. :)

@Techwraith Techwraith closed this Apr 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment