Dear web2py community, I think it would be great to get this feature added to the roadmap. In the meantime I will be sticking to my Bottle + hand-coded AngularJS approach.
Below I have stipulated the advantages and disadvantages to code generating static JavaScript + HTML5 from our web2py templates. * Advantages:* - Client becomes decoupled from backend - This is great for testing and generally is good software engineering practise - Client can be packaged up into an HTML5 app (e.g.: with Adobe PhoneGap for deployment to "native" mobile apps) - Longer term would be great to get integration with PhoneGap's API built in to the code generation - Being generated for an MVC framework makes testing, debugging and by-hand modifications easier; as well as "hijacking" that community - web2py can be shrunk into two parts, a microframework and a compilation framework. This will make it much more competitive to both Bottle and Django *Disadvantages:* - Development time for code generator and its integration into web2py - New versions of the MVC framework might break backwards compatibility; adding to the development time for web2py [though their devs may start providing patches] Thanks for your consideration, Alec Taylor -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.