Server calls code in python (like authentication, pdf generation etc.,) DOM level logic based on form input, like calculations stick with javascript.
This way all logic gets loaded once and stays in DOM and variables can be passed to python when necessary. Is this the right approach? On Sep 11, 9:47 am, Markus <[email protected]> wrote: > Hello > > We have a tax software built in PHP, PHP is used mainly for server > calls, all the logic is in Javascript files. > > We are thinking of porting it to Python (web2py) mainly to use GAE > hosting, to handle our peak volume during specific months. > > My question; > > Should logic reside in Javascript or Python? > > When we believe we put the logic in js as we wanted to avoid a lot of > server calls. > > What are your thoughts? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

