Hi Rob,

No, I haven't made a comparison. I have built client-side form
generators before but have used XML for the form schema. JSON is
obviously faster than XML.

Generating the entire form server-side and inserting it as a single
block would obviously be faster than generating fields one at a time
on the client. That being said, there doesn't seem to be a visible
difference to the user performance-wise.


On Mar 1, 8:01 pm, RobG <[email protected]> wrote:
> On Feb 21, 7:32 am, Diodeus <[email protected]> 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.
>
> Have you compared the difference in performance between running a
> database query, creating the JSON, sending it to the client and
> building the form there vs building the form on the server directly
> from the database query and sending the HTML ready to insert?
>
> --
> Rob
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to