Friday, 12 October 2012
Blog Update
Hai Dear Viewers, Am added forum tab for this blog for discussions.so Please try come here for tech discussions.
Thursday, 11 October 2012
Is the server or the client in control in AJAX?
With AJAX the control can be more centralized in a server-side component or a mix of client-side and server-side controllers.
- Centralized server-side controller:In this type of architecture, the controller ensures that the data on the client and the server are synchronized.
- Client and server-side controllers:In this type of architecture the presentation related control, event processing, page manipulation, and rendering of model data is done through Javascript on the client side.
- The server-side: is responsible for business logic and pushing updated model data to the client.
- Both methods are viable depending on the kind of task. However, the centralized server side controller is preferred as in the other case (Client and server-side controllers) the server might not have the knowledge of the state of the client page.
Wednesday, 10 October 2012
How Ajax is different?
AJAX allows for asynchronous processing of events. This is different from the traditional sequential events that a users is used to, instead, a user can fire multiple events, each of which process executes independent of each other, enhancing the user experience. In traditional web applications, every time a user triggered an event, the request was sent to the server and the complete page was rendered again as a result of that. AJAX allows for partial page rendering which enable a user to trigger multiple events through different portions of the same web page.