JSON mapping of a Data Structure to field Id's that use Hungarian
notation.
eg. Data.FirstName maps to txtFirstName
Unbind, want to unbind data
txtFirstName maps to Data.FirstName
Data Grid binding/unbinding.
I want to have complex heirarchy nodes such as list of invoices, with
children records of invoice item.
I would like to bind/unbind to the JSON object.
Is this all possible.
Cheers Dave
On 18/12/09 02:48, Davo wrote:
> I'm looking for a jQuery template engine and I need the following
> features. I am wondering if Pure will do all that I ask.
>
> JSON mapping of a Data Structure to field Id's that use Hungarian
> notation.
> eg. Data.FirstName maps to txtFirstName
>
utf-8 is ok with PURE for content.
Now for directives and classes, I'm not sure it would be wise to use
accents, but it would be interesting to test.
>
> Unbind, want to unbind data
> txtFirstName maps to Data.FirstName
>
> Data Grid binding/unbinding.
>
Do you mean 2 ways binding json->html->json ?
No, PURE does only json->html
The main reason, I reorganised the code with plugins is for this
functionality.
But didn't find any simple and generic way yet.
Something interesting, is that directive could be used in a kind of
reverse mode to parse the html back.
But nothing started yet.
> I want to have complex heirarchy nodes such as list of invoices, with
> children records of invoice item.
> I would like to bind/unbind to the JSON object.
>
Any JSON is ok, but I'm not sure I understand this one.
Cheers,
> Is this all possible.
>
> Cheers Dave
>
> --
>
> You received this message because you are subscribed to the Google Groups "JavaScript Templates Engine PURE" group.
> To post to this group, send email to Pure-Unobtrusive...@googlegroups.com.
> To unsubscribe from this group, send email to Pure-Unobtrusive-Rende...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/Pure-Unobtrusive-Rendering-Engine?hl=en.
>
>
>