Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Enterprise
Expertise: All
Jun 21, 2000

Move ASP Code to Compiled Components

Moving your ASP code to compiled components is always a good idea. Compiled components enable fast execution, along with easy development, debugging, and testing.

For example, creating a record set object in a VB component can be more efficient than creating the same in ASP. Because ASP relies on interpreted languages like VBScript/JavaScript, the component and method invocation happen through IDispatch pointer instead of vTable binding. The latter is much faster than the former. Similarly, having a complex calculation subroutine that is used from many places in your Web site in a compiled component can boost performance.

So, making one call to the compiled component from the ASP, which wraps all computations/processing in it, is advisable. Also, the availability of an integrated environment facilitates debugging, and using VB/VC gives the developer much more flexibility for utilizing the strengths of these languages. This compiled code also can be reused from other pages if required.

Jai Bardhan
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date