On Monday, December 29, 2014 9:51:24 AM UTC-8, Leonel Câmara wrote: > > It's possible, however a better option would be for you to rewrite the php > functionality in a web2py controller function. >
If the PHP stuff does a function that is well-understood and easy to implement locally, that should be an option, and the javascript has a simple interface to it. Note that the dot-js file will need to be tweaked to point at the controller rather than at PHP, which is an issue mainly when updates of the javascript functions are issued. If either functionality is a complex package, though, it might be just as well to let be. At this point, I will naively say that I'd use the nginx to handle the php as a separate server (URL would be different somewhere between the domain and the arguments), but I haven't any experience with that. There are a few posts in the forum that discuss that sort of setup, though, if my recollection is correct. They should be visible less than 18 months back in the archives, but other than "nginx" and "apache" I'm not sure what search terms would be good. /dps -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

