On Jun 26, 2007, at 5:01 AM, Mark Ramm wrote:
> > It also looks like peak-rules, the new generic function > implementation by Philip Eby, is going to actually be released and > supported sometime in the reasonably near future -- with predicate > based dispatch. > > http://www.eby-sarna.com/pipermail/peak/2007-June/002710.html > > So, my suggestion is to wait for that, and rewrite TurboJson at that > point. But at the same time I would like to see TurboJson updated > before TG 2.0 is goes live. > > There's a very well defined API, and with good unit tests I think the > rewrite has a very low chance of breaking anything. But it's bettter > save than sary. Last time I took a look a PEAK-rules it seemed it could handle the use jsonify does of RuleDispatch since it already handles type-base dispatch which is what jsonify does 99% of the time. However, since it doesn't just yet support predicate dispatch I think it'ss be worth to wait a little since the API will break and some rules cannot be ported (the rule that looks for a __json__ method come to mind). On a related matter, ToscaWidgets is also eagery waiting for predicate dispatch on PEAK-rules to avoid the C extension dependency which has already cause installation problem to many users. Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
