- InSilverlightIn the world, Ria service + Silverlight can be seamlessly integrated. If there is an object and a complex associated sub-object, it can be easily implemented here:
1. Build a public domain class definition
2. The Silverlight client can use two-way binding and the above object Association.
3. The server can use the above domain class for storage.
Therefore, it is very convenient. the WCF framework has provided the support for WCF trackable. For example, the change content of an object can be tracked ..
- FlexIn combination with blazds can also be very convenient to handle this problem.
- InJavascript + ServletIn the environment, which of the above objects should be used?
After reading the relevant information, we can summarize the following information:
1. Java Improvement Plan
GWT: RPC transmits the objects shared by the client and the server, and the client interface elements are bound in two directions. It does not seem to have reached this level.
ZK: This new servlet-based framework can simplify processing, but it consumes a lot of server resources.
...
2. Javascript Improvement Plan
Knockoutjs: It is highly developed for MVC clients. But how can JavaScript objects be shared with domain objects? Writing them twice is too complicated.
Jquery template: I did not look at it carefully, but it is still difficult to deal with this gap.
...
How to build a domain object in the common SSH framework in the client with JavaScriptCodeWhat about repeated solutions?
Is there such development recommendations in the garden? This is really a confusing question!
The most ideal method [to be solved]:
- Objects can be shared on the server and client to reduce the secondary encoding of the front-end and backend.
- The client can bind the object in two directions, such as jquery UI easyui and other interface elements.
- Objects passed to the server can be persisted to the database using hibernate/JPA (or conversions such as automapper)