I separated the data just to keep the form definitions tidy, with the
idea that the a new data set could be swapped in via AJAX easily.

The data block is only currently used to populate SELECT tag values,
but I plan to expand it to be able to populate the entire form, such
as when you pull up an existing record.

It could hook into form sort of MVC. The idea was to keep it fairly
server agnostic though.

I also plan to add some simple validation functionality.


On Feb 24, 2:21 pm, david <david.brill...@gmail.com> wrote:
> Hi diodeus,
>
> one more word: GREAT. In fact I like all your exemples.
>
> I mostly like that you map every property inside the json definition
> to just have to use, after some checking, the element insert function.
> simple and neat !!
>
> just one thing, why is there field definition are separaed from its
> data ??
> is there a sort of MVC model behind this, to separate data (view) from
> field (controller) ?? or something like that ?
>
> --
> david
>
> On 24 fév, 19:11, Diodeus <diod...@gmail.com> wrote:
>
> > Thanks Nathan, I'll take a look at it. Interoperability is a good
> > thing.
>
> > On Feb 22, 9:04 am, nlloyds <nllo...@gmail.com> wrote:
>
> > > Diodeus,
>
> > > On Feb 20, 3:32 pm, Diodeus <diod...@gmail.com> wrote:
>
> > > > Hello Prototypers,
>
> > > > I've been working on a JSON-based form generator that uses Prototype.
>
> > > > Basically it allows you provide a form specification using JSON and
> > > > the engine generates the output dynamically.
>
> > > > It's still in the early stages but there is a working demo. I am
> > > > looking for comments and feedback.
>
> > > >http://jameslab.moveable.com/JSONForm
>
> > > Very cool. I have another implementation of the same type of thing.
> > > Currently it runs with server-side Prototype only and is only
> > > available on a hosted proprietary CMS, but perhaps some work could be
> > > done on standardizing a JSON form definition formats, etc.
>
> > > We're working on putting a real GUI form builder into our CMS very
> > > soon, but right now our users can just create a JSON file (or have us
> > > create one) to use for their forms. Public (and somewhat incomplete)
> > > documentation for my implementation is 
> > > here:http://markupfactory.com/documentation/form-builder
>
> > > Thanks,
>
> > > Nathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to