Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
In the computing world client systems are becoming more powerful in terms of CPU speed and memory. Workstations with 1-2 GB RAM have become common and they are ready to reduce the load on the application servers. Web applications technologies like Web Dynpro could leverage the hardware resource in the end user systems. This blog explains few ways of using the scripting languages to efficiently improve the performance of the Web Dynpro applications.  1.     Web Dynpro Table UI Element - The selection of the row in the Web Dynpro Table UI element invariably makes a hit to the application server, presumably to mark the row for selection in the object in the application server. If the network is slow then we see an hourglass which could be irritating for the user.  The problem could be solved by marking the selected rows in the front end script (JavaScript) and send the rows selected to the backend server when a business action is performed on the screen. Web Dynpro runtime could achieve this by including JavaScript code in the generated HTML.  2.     Front end Data caching – The scroll in the Table and POWL fetch the dataset from the application server for each and every click of the scroll button. The data once fetched need not be got from the server again. It could be cached and when the user scrolls back the cached data in the JavaScript could be used. The application data could be cached in as XML or JavaScript objects. This will improve the performance of the web application and reduce the round trips to the server.  3.     In case of large result set, considerable amount of data could be brought to the front-end in one shot instead of reading the application server data repeatedly.  These enhancements require including of pre-generated JavaScript by the Web Dynpro runtime engine which means that there are chances of code becomes browser dependent; which involves testing in different browsers. The effort is worth because Web Dynpro application will have better user experience.
8 Comments