[web2py] embedding web2py forms in static websites

2012-02-13 Thread Richard Penman
I want to embed web2py forms in a static website (same domain) and keep the static part as simple as possible. Currently I have this in the static website: $("#form").load("path/to/web2py/app"); And this in the web2py app: def email(): script = """ $("#contact_form").submit(functio

Re: [web2py] Embedding web2py

2011-05-18 Thread Jason Brower
That would have to depend at what level you need to do that integration. For example, starting web2py from your application is very easy, you can just run the script to start the server. When I have to integrate with something, I like to actually just create a communication layer between them.

[web2py] Embedding web2py

2011-05-18 Thread j2kvideo
Hi All, I was wondering if it would be possible to embed web2py within a C++ application. I have embedded python before in C/C++ applications to run a script etc so I am assuming that there maybe a way to embed web2py in another C++ process. Thanks in advance, Andy