Is there somewhere I can find examples of this? > > Are there any exotic experimentation for tight-integration with certain modern SPA frameworks?
By "exotic" I mean, let's say, well, my 'dream implementation' of such an integration, would go something like this: Have web2py's views be sent to the client-app's UI-sections at launch-time as some kind of web-components (say, wrapped as "x-tag"s or as some breed of string-templates), and from then on, have that component on the client talk to that view's controller via ajax/REST-protocol/jsonp or whatever. I mean, most modern SPA frameworks nowadays, are some breed of MV* on the client. We already have an MVC pattern on the server. In any large application, some MV* component would not be able to function by it's own, and would require the aid of the server for certain tasks, in both it's "model" and "view" parts. The view-part in the client could get a help by web2py for string-based template-rendering (which web2py already has) for it's initial load and/or for search-engines stuff, and the model-part in the client could interact with the controller for data queries. In addition, web2p's HTML helpers could be extended to produce custom-tags and/or custom-attributes for such frameworks that do html-bindings (like knockout and angular). Any thoughts? --