On 1/12/07, Joseph Tate <[EMAIL PROTECTED]> wrote:
>
>
> Jorge Vargas wrote:
> > or it was just the fact that genshi currently doesn't has a <?python?>
>
> The fact that the widget would have to be instantiated and returned in
> the controller (blurring the line between view and controller).  I can
> instantiate widgets in kid templates, which conforms to MVC.  Imagine a
> case where you use the same method for html and json.  That widget
> would not marshal very well by simplejson.
>
> That's the paradigm that I have to have in my application.  Almost
> every method could be called via GET/POST, JSONRPC or XMLRPC, so the
> default paradigm should not be changed so that you have to return
> something not-marshalable by json/xmlrpc in order to use significant
> features.
I see your point and in this case it makes sense. But as stated above
genshi will have a  <?python?> in 0.4 which seems to be their mayor
feature.
http://genshi.edgewall.org/milestone/0.4

>
> Joseph
>
>
> >
>

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

Reply via email to