On Sat, 2007-03-10 at 13:38 -0800, iain duncan wrote: > Hi folks, I am just wetting my feet with pylons. I am curious whether > anyone on here has experience integrating desktop apps with pylons > projects, and if so, would they care to share opinions on feasability, > when it is worth, how it went, how they did so?
I discussed this on the TurboGears-dev list a while back (and Pylons should be no different in this regard): A while back I built a TurboGears app that utilized XRC (see http://wiki.wxpython.org/index.cgi/UsingXmlResources) templates that wxPython can render as GUI elements. The "main" application (compiled as an .exe) was little more than a bootstrap loader that downloaded a zipfile of Python modules from the TG server and then rendered each "page" of the GUI via XRC. Aside from the initial downloading of the Python modules, it worked more or less like a web application: whenever a new "page" was needed, it fetched the XRC description from the server and rendered it. It worked great, giving all the advantages of a web app (centralized administration and ubiquitous access) and all the benefits of a GUI app (sophisticated UI controls and local system integration). Further, because all the database access was done via normal HTTP (I used pycurl), the GUI app was well-insulated from the underlying implementation and much of the server-side code was reusable for an actual web application as well (the GUI served as the administrative interface for controlling a public-facing website). Were I to do it again (and I'm sure I will) I'd probably use http://techgame.net/projects/Framework/wiki/ rather than plain XRC, however. Regards, Cliff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---