Open gvaish opened 12 years ago
@caridy @drewfish @rwaldura
Can you guys help in taking this decision - whether or not to use routing?
More basic question - does it really make sense here since mojitProxy::invoke
does a large part of the hard work for me.
@gvaish this is the exact same use-case we are trying to solve with the YAF integration into mojito, in which case, you should be able to use routing to change the state of the page without trigger a navigation event. For now, you will have to do it manually by using "invoke" and potentially the YUI pjax (http://yuilibrary.com/yui/docs/pjax/) to update the url.
Awesome @caridy, for the update.
So, I'll continue with the mojitProxy::invoke
mechanism... but will add a placeholder in the readme.
And to demonstrate the difference between the current implementation and pjax (as and when it comes), I'll keep dependency on mojito 0.4.4
for the current case.
Mojito supports routing but it's an HTTP routing. The TodoMVC examples are pure-client-side.
Questions: