Library Zone Articles
External Articles
Byte Size

Discovery Zone Catalogue
Diary
Links
Bookstore
Interactive Zone Ask the Gurus
Discussion Groups
Newsletters
Feedback
Etc Cartoons
Humour
COMpetition
Advertising
ASP Web Ring ASP Web Ring
Power your site with idr newswire
The Developer's Resource & Community Site
COM XML ASP Java & Misc. NEW: VS.NET
International This Week Forums Author Central Find a Job

Beginning ASP Components, page 6

Contents

Summary

In this chapter we've highlighted typical software development problems and shown how componentization can go a long way to making our applications easier to develop and maintain. We've taken the time to understand some of the concepts behind componentization, including some analogies-such as the telephone operator, the hi-fi separates, and the car component. We understood the difference between interface and implementation, and noted that we can exchange one component in a system with another, provided the new component offers the same interfaces as the old one.

We've shown how the Component Object Model (COM) provides a specification and infrastructure that allows us to develop COM objects and use them in any language that is COM enabled. COM components can use, and be used by, any other COM-enabled language or environment-which makes COM extremely powerful. We've also explained how interface-based programming is central to COM.

We looked at how components are identified-via a GUID or ProgID-and that COM uses the registry to store and access this information. We suggested an informal categorization of components, in order to try to understand more about where componentization can be applicable. We also took a first look at 2-tier and 3-tier architecture. Finally, we saw how to implement a COM component using the WSC, and used within an ASP page.


Beginning Components for ASP

Buy the book!!

This article is the first chapter of the book 'Beginning ASP Components' from Wrox Press.

Order Beginning ASP Components from Amazon UK/Europe Today!
Order Beginning ASP Components from Amazon US Today!


Mail a question to the author!!

As part of the IDevResource commitment to Open Publishing, all of our authors are available to answer all of your trickiest questions at Author Central. For information about the authors, or to mail a question, visit them at Author Central.

Did you like this article?

If you liked this article, tell us about it. You can email your remarks to us at [email protected]

Want to read more articles by this author?

Try these:

  1. More articles will appear from this author soon.

Further Reading:

  1. Microsoft Transaction Server By Richard Grimes, introduces Microsoft Transaction Server
  2. What COM is all about By Richard Grimes, an introductory article to COM, covering all basics including OLE, Activex and DLL's.
  3. String Binding Moniker By Frank Rem, shows how a SB Moniker resolves a connection with a DCE RP server running on Linux using a VB client.
  4. Inside COM Monikers By Davide Marcato, on COMdeveloper.com. monikers are still one of the most clever but at the same time most misunderstood idioms in the COM universe. Davide explains them.


Author Bio:

Author: Richard Anderson

Richard has been developing since around the age of eight.

Richard has recently completed co-authoring Professional XML and ASP ProgRef 3.0. Other books co-authored by Richard include Beginning ASP components and Pro ASP 3.0.

Go to Richards pages in Author Central.

© 1999 IDevResource.com

Click here

Contribute to IDR:

To contribute an article to IDR, a click here.

To contact us at IDevResource.com, use our feedback form, or email us.

To comment on the site contact our webmaster.

Promoted by CyberSavvy UK - website promotion experts

All content © Copyright 2000 IDevResource.com, Disclaimer notice

Code Project

Join the Developers Webring

Visit the IDR Bookstore!

Visit our NEW WTL Section

Visit the IDR Forums