Solved

Queries on HTML component(HTC) performance issues

Posted on 2004-04-18
4
420 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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
displaying 3 dropdownlist  horizontally 3 32
Sending ASP to server side 8 32
Asp response.write to clients 6 34
Hta File displays dynamic File names 4 50
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

726 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