3 ms·
I use Alfresco for multi-page apps and nothing for a single page app. As for performance, the difference posting a form via form post or as a JSON call is negl
by kls 16y ago
I use Alfresco for multi-page apps and nothing for a single page app. As for performance, the difference posting a form via form post or as a JSON call is negligible but the nice part about jax-rs is you can change use multi-inputs so if you wanted to you could set a forms action to post directly to the REST service and write a handler for form post. So if you want to form post data you can. As well, you can still provide a json post service as well as make the get and put json services. So you can have handlers for plain text, XML, json, and form post for a single rest service and jab will serialize them into the same object for your routine. Personal I do it all via xhr request becase dojo and jquery have a nice API for serializing a form into a json object.