Page

16.3.0- Components and Data Access

  by NT Community Manager.  

PublicCategorized as 16. Building Script Components for ASP.

Not tagged.
<< 16.2.1- Using Windows Script ComponentsChapter1616.3.1- Writing a Component that Accesses a Data Store >>

Components and Data Access

We've already talked about data access in this book. We'vetalked about taking data from a data store at the time a page is requested, andusing it with in the ASP page (either displaying it directly, or using theretrieved data in some other way to decide what content should appear on thepage).

 

We've also talked about capturing information that the usertypes or selects in our pages in an HTML form, and other information passedfrom the browser during a web page request – and storing the captured data in adata store.

 

Overall, the use of data stores to provide and to storeinformation relating to our ASP pages is a very important part of our dynamicweb page creation strategy. And that's still true when we're using componentsto provide some of the logic in our pages.

 

In this section we're going to look at a particular example,involving a component that provides some of the logic for the application, andwill also handle any of the data access requirements that relates to thatlogic. To do that, the code contained in the component will use both ASP andADO techniques and objects.

<< 16.2.1- Using Windows Script ComponentsChapter1616.3.1- Writing a Component that Accesses a Data Store >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |