A two-sided programming model brings a lot of trouble for developers, since they have to take care of the following process-unrelated issues by themselves:
* Browser incompatibility
No longer an issue, solved by any modern Ajax frameworks
* Client-server communication
Displaying data on the client by retrieving data from server
* Slow performance
Developers tend to put too much data on the client
* Business logic inconsistency between clientand server
Replication of business logic on the client
The ideal programming model should save developers from these cumbersome tasks. To resolve all of the above issues at once, the UI and the back-end of an application should never be separated. Instead, they should run on the same side, either the server-side or the client-side.
To improve developer productivity, and provide easier access to server resources, the application should run on the server only. The ideal programming model should look as follows:
by
nineowls
2008-10-15 13:18
Direct
·
AJAX