What you could try to do is creating a pickle template engine, thats the way json support works. take a look at http://docs.turbogears.org/1.0/TemplatePlugins and perhaps http://trac.turbogears.org/browser/projects/TurboJson for exemples on how to do it.
On 1/21/07, Joshua J. Kugler <[EMAIL PROTECTED]> wrote: > > [OK...let's try this again and see if I get through. I tried posting through > the web interface and through google's SMTP servers (while subscribed via my > Gmail account) and neither post has shown up. I subscribed via my work > address and we'll see if that works.] > > I've tried digging through the code (trunk) but finally got lost and couldn't > track down a definitive place where the output is generated. Went back > through controllers.py, util.py, and some others. So, I'm posting. :) > > Is there any option to return the data as a python pickle? With a good > Pythoon GUI toolkit (Qt, Gtk, Wx, etc) you could make a really nice front end > to a nice back-end data service. I realize I could use XML-RPC or JSON, but > I thought, "Why not keep it in Python's native format, and avoid the overhead > of conversion?" I'm sure it wouldn't be that hard to add. I'll do it > myself, if someone wants to point me to the right place in the code. :) > > Comments? > > j > > -- > Joshua Kugler > Lead System Admin -- Senior Programmer > http://www.eeinternet.com > PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE > PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111 > > > > -- cheers elvelind grandin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
