Configured Applications

29 views
Skip to first unread message

Stevie F

unread,
Feb 9, 2010, 3:16:27 PM2/9/10
to Embedded JavaScript, robert...@gmail.com
Over the years I've been involved with a web application development
platform (www.lucidium.net) that uses a configuration model to define:
- the model (entities, fields, security rules, etc)
- the interaction layer (pages, sections, menu structures, etc)

It's got quite neat transaction and workflow models built in, but it's
basically server-side Java, with some jQuery and Ajax pasted on.

The configuration model seems to hold up quite well for the kind of
large-scale business administration apps we build, but the biggest
problem is the tedious request/response cycle makes writing
interaction code hard, leaves it with a diminished user experience,
and basically it looks dated.

I want the code to run in the browser - pulling in chunks of data from
the server as JSON, caching them locally, rendering pages on-the-fly,
and running all model logic and interaction logic in the browser. When
the user clicks 'save' it sends a parcel of data back to the server
where it undergoes some final security checks before being written to
the database as an atomic transaction.

Fantastic user experience, neatly coded and configured, and as an
added extra - vastly reduced server load - for free!

Anybody know of anything like this out there, attempted with
JavascriptMVC or anything else?

If not, would JavascriptMVC be a good place to start?

Answers on a postcard....

Justin Meyer

unread,
Feb 22, 2010, 2:11:49 PM2/22/10
to embeddedj...@googlegroups.com
That's pretty much every app in JavaScriptMVC.  I was just out consulting for Southern Adventist University.  Together we came up with what I think is an ideal solution for large enterprise apps - a custom scaffold generator running from a JSONRPC-Window.Name transport.

Essentially, they wrapped their server model layers / DB with a JSON RPC service.  But they used Window.Name as a cross domain channel to access every service.

Then I built them a custom generator that by typing ...

js sau\scaffold\WorkItem

... produces CRUD functionality from their services.  At this point they have working code that can manipulate their services without having to even host the JS files on a server (they can run from the file system).


This is a fabulous technique and I was extremely impressed by SAU for implementing it.  They will be able to rapidly create elegant user interfaces while providing reusable services and parallelizing server / client development.  It's really the epitome of Thin Server Architecture. 



Justin Meyer

Jupiter Consulting
\Development\Training\Support
847-924-6039
justin...@gmail.com



--
You received this message because you are subscribed to the Google Groups "Embedded JavaScript" group.
To post to this group, send email to embeddedj...@googlegroups.com.
To unsubscribe from this group, send email to embeddedjavascr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/embeddedjavascript?hl=en.


Reply all
Reply to author
Forward
0 new messages