Solved

Queries on HTML component(HTC) performance issues

Posted on 2004-04-18
4
419 Views
Last Modified: 2009-12-16
Hi,
   Am evaluating the use of HTC for a web based project, please shed light on performance issue of HTC components if any?
          Here is the syntax for an HTC component to be used as a grid. The data source, converter & transformer are the xml & xsl files feeding data and information to render the data on UI. So if I use a grid component in a dynamic web page, say on an asp page, first request will load the page with HTML component. If the data.xml is dynamic, and the HTC will fetch the data(xml) from the server on a next request & xsl files in the same fashion. Isn’t it bringing more server round trips due to the multiple requests to load the page & data? Or did I misunderstand the concept? The XML data will be dynamic which is obtained on some processing on the server side while the xsl files will be static. If there are more than one HTC on a page, in effect won’t the page loading be slow?

<ui:grid id="theGrid1" dataSource="../book_data.xml" converter="../book_to_grid.xsl" transformer="../transformer.xsl" width="700" height="200" showColumnHeaders="true" columnSelect="true"/>
Thanks,
Ramesh.
0
Comment
Question by:ramesh_mbabu
4 Comments
 
LVL 36

Accepted Solution

by:
Zyloch earned 125 total points
ID: 10857006
HTC files need to load completely before they are displayed. If you have like ten HTCs all nested within each other, the page in effect would probably load slower. However, with Internet speed today, it will probably delay at most around 2 seconds maybe on dialup. Of course, it also depends on how large your htc files are.

It probably isn't bringing more server round trips than any other method you can use. If the XML data is dynamic, and you need to constantly access it, you would still need to contact the server. In effect, I think the htcs will not slow down the page much especially if you feel it's the best method.

Even though xsl files are static, you would still need to access them each time you reload the page, which is a must for dynamic pages that get information from the server (unless it's something like Java). However, if you could get the xsl files without an htc, it might speed up the site slightly, but I reiterate: I doubt that it would affect your site too much.

--Zyloch
0
 
LVL 53

Assisted Solution

by:COBOLdinosaur
COBOLdinosaur earned 125 total points
ID: 10860484
If you are doing this on an intranet, then page performance should not be an issue, however if it will be used by a large number of users then server load could be an issue and should should benchmark a prototype to insure that you will be able to handle your project load.

If you are planning to deploy this to the Internet you are making a huge mistake HTCs are non-standard, and not support by non-Microsoft browsers.  In addition some firewalls may block components. Even within IE there are some cross-version issues that have caused many developers to consider them unreliabel except in closed environments where user setup is consistent.

Cd&
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Understanding mobile browsers 9 84
Could I have some help for an easy CSS change to this latest news scroller 10 24
Hide Table in merge 3 31
Fix Form size HTML 16 12
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question