On Dec 2, 2006, at 6:39 PM, Steve Bergman wrote:
....
> (ORM's save us from the object-relational
> impedance mismatch.  I'd as soon avoid the Python-Javascript impedance
> mismatch as well.)

That's what the js_interface package inside ToscaWidgets is designed  
to do. Together with resource handling and the middleware in charge  
of serving them the idea is that you can include in a setuptools egg  
all python code and resources needed by a specific widget so in every  
app you want to use it all you need to do is:

from mywidget import MyWidget

However, this is still a work in progress and the js_interface API  
*is* going to change (read as: don't depend on it for production  
code ;) )

> The remote helper functions are super simple to use, and maybe not too
> bad to implement.  Perhaps I should try writing one?
>
> Or perhaps ToscaWidgets (I still like ToscaWigs!) has this already?

It hasn't but something similar is a planned feature for the first  
alpha :)

Alberto

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to