I'm trying to choose a library for client-side MVC in ClojureScript. Here's are the ClojureScript libraries I've found so far:
How should I choose between them? Also, how will they compare to using AngularJS or Backbone from ClojureScript?
Client side MVC means that a MVC framework is built entirely on the client side. So the server only delivers data to the application. The binding of the data to the models happens client side.
Client side MVC means that a MVC framework is built entirely on the client side. So the server only delivers data to the application. The binding of the data to the models happens client side. An example of a framework that implements this principle is AngularJs Another one is Ember. Node on the server side has nothing to do with client side MVC.
JavaScriptMVC is an open-source framework for developing dynamic Internet applications using jQuery and OpenAjax. MVC frameworks are used with JavaScript to add an abstraction layer to the core language. It adds a m odel– v iew– c ontroller architecture and testing and deployment tools to those frameworks. How does the MVC Framework work?
While client side frameworks are used for dealing with the user interface, a server side framework works in the background to ensure the smooth functioning of the website. The frontend is the part of the website visible to the users. Backend refers to the background functioning of the sites.
What do you mean by client-side MVC in AngularJS? The browser code is independent of the server. and there is no server rendering. The views are HTML templates which display the UI to the people. Simple thats your MVC.
This is not exactly a complete framework, maybe just the V of the client side MVC but it worth to keep an eye of it.
https://github.com/swannodette/om
A ClojureScript interface to Facebook's React
Om allows users to represent their UIs simply as EDN. Because ClojureScript data is immutable data, Om can always rapidly re-render the UI from the root. Thus Om UIs are out of the box snapshotable and undoable and these operations have no implementation complexity and little overhead.
Please don't miss this read http://swannodette.github.io/2013/12/31/time-travel/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With