I have a web application written in TurboGears. It works great. I need
to write a desktop application to interact with the internet
application. What would be the best way to go about this? The desktop
application will also be written in python using PythonCard.

The web application makes heavy use of identity and identity.require,
and therefore cookies. I have found this to be a major stumbling block
for interfacing the desktop app with the web app. I have tried using
json for communication; this works except when it comes to identity.
Cookie management in pure python is a quite ackward.

The idea that I am most attracted to is somehow wrapping my TurboGears
app with a light XML-RPC server written in python (using the libraries
included with the Python 2.4 distribution). In my opinion, this seems
most elegant because then there could be third-party clients,
javascript clients, all sorts of good stuff. But, when I try to
instantiate my Root controller, I get an error that says "No database
configuraiton found!". Is there an elegant way around this? How do I
start my turbogears app from outside start-*project.py and use it in a
python environment (instead of over http)?

Of course, I'm sure there are better ideas and I'd appreciate it very
much if you had one! :)

Thanks,
Sam


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to