On Monday 11 May 2009 15:54:09 Cedric wrote: > > But you will have to do it. TG can't really support you there - it's > > mainly server-side, and while it provides some integration with JS-libs, > > it won't be able to come up with the business-logic needed for this > > specific scenario. > > I was hoping finding an easy way to generate the necessary JS on the > fly from the models and controllers. So in other words translating the > business-logic to JS for offline applications without the need to > rewrite the application.
Hope you can - but this is not happening right now, and frankly I don't see this happening in the future either - the code needed for offline might substantially differ from what you need server-side. The same goes for data-structures inside the DB. Your best bet would be to implement a JS-application with a data/business-logic-layer than can be directed locally or remote, through ajax-calls. But that's it, and there isn't too much needed on the server-side then anyway. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

