#2409: Bring Back Generic Function JSON, Optionally
-------------------------+--------------------------------------------------
Reporter: cleverdevil | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.1a3
Component: TurboGears | Version: trunk
Severity: normal | Keywords: json
-------------------------+--------------------------------------------------
Attached is a very simple patch which brings back the ability to define
JSON rules externally using generic functions. Rather than being based
upon PEAK-Rules, this code is based upon the much more documented and
easy_installable simplegeneric, which at one point was considered for
inclusion in the standard library. Unlike PEAK-Rules, simplegeneric only
allows you to define very simple rules based upon types, rather than
arbitrary rules with multiple conditions.
As you'll notice, the patch doesn't force people to install simplegeneric
or use generic functions if they do not want to. The code falls back to
the old behavior based upon the presence of simplegeneric.
--
Ticket URL: <http://trac.turbogears.org/ticket/2409>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en