📄 data_layer.html
字号:
</TR>
<TR>
<TD ALIGN = "LEFT"><IMG SRC = "tab1.gif" tppabs="http://www.extropia.com/graphics/template/tab1.gif"
WIDTH = "8" HEIGHT = "19"></TD>
<TD ALIGN = "CENTER" BGCOLOR = "#666666" nowrap>
<FONT FACE = "ARIAL, VERDANA, SAN SERIF" COLOR = "#FFFFFF" SIZE = "2">
<!-- END SECTION HEADER TOP SSI INSERT SECTION TITLE HERE -->
The Data Access Layer
<!-- START SECTION HEADER BOTTOM HERE --></FONT></TD>
<TD><IMG SRC = "tab2.gif" tppabs="http://www.extropia.com/graphics/template/tab2.gif"
WIDTH = "8" HEIGHT = "19"></TD>
<TD WIDTH = "100%" BACKGROUND = "tabext.gif" tppabs="http://www.extropia.com/graphics/template/tabext.gif"> </TD>
</TR>
<TR>
<TD COLSPAN = "4">
<IMG SRC = "clear_dot-1.gif" tppabs="http://www.extropia.com/graphics/template/clear_dot.gif"
WIDTH = "10" HEIGHT = "20" BORDER = "0">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<!-- THIS OPENS A NEW CELL AND STARTS FONT -->
<TR>
<TD><FONT SIZE = "2" FACE = "ARIAL, HELVETICA, SANS SERIF" >
<!-- END OF SECTION_HEADER_BOTTOM.SSI -->
<CENTER>
<FONT FACE = "ARIAL">
<A HREF = "biz_layer.html" tppabs="http://www.extropia.com/tutorials/dna/biz_layer.html">Previous Page</A> |
<A HREF = "toc.html" tppabs="http://www.extropia.com/tutorials/dna/toc.html">Table of Contents</A>
</FONT>
</CENTER>
<P>
Several Microsoft products address the needs of the
Data Access layer.
<P>
From within the defined product range Microsoft
supplys a production level enterprise database
solution, MS SQL Server. SQL Server provides
facilities for running databases for any kind of
traditional solution including On-Line Transaction
Processing (OLTP) and Analytical Processing.(OLAP).
SQL Server is tightly integrated into the NT architecture
and provides facilities for automatic maintenance and
performance optimization.
<P>
Databases are not the only data stores however and
Microsoft produces a feature rich, Internet connectable,
Mail Server solution. Exchange Server is aimed at
Collaborative and Information Sharing. Within the DNA
application structure, Exchange also acts as a repository,
a business rule engine, and a content delivery mechanism.
<P>
To access information about other services, developes and
resources within the application infrastructure
can use ADS, the Active Directory Service. ADS provides
access to a hierarchical tree of information spanning
the network resources and beyond. A distributed store
of this information maintains and serves data to
applications that query it. The information may be
users, groups, machine information, services and even
other databases.
<P>
NTFS provides the file system of choice within the DNA
application and can be considered as another data source.
The facilities provided by the NT File System are extensive
and well document. To find out more, you may go to
http://www.microsoft.com/ntserver.
<P>
One other data repository deserves note. The Microsoft
Index Server is a product to enable the indexing of web,
word processing, and other office based documents. By
default, Index server provides an API and example ASP
pages to enable web-based access for researching content.
Often Index Server is used to enable searching a portal.
Several sources of information are indexed. When a client
requests a search, it is performed and the results are
interpreted and return to the user in order for them to
take further action.
<!-- BEGIN SECTION_HEADER_TOP SSI -->
</FONT>
</TD>
</TR>
<TR>
<TD>
<TABLE BORDER = "0" WIDTH = "100%" CELLPADDING = "0"
CELLSPACING ="0">
<TR>
<TD COLSPAN = "4">
<IMG SRC = "clear_dot-1.gif" tppabs="http://www.extropia.com/graphics/template/clear_dot.gif"
WIDTH = "10" HEIGHT = "20" BORDER = "0">
</TD>
</TR>
<TR>
<TD ALIGN = "LEFT"><IMG SRC = "tab1.gif" tppabs="http://www.extropia.com/graphics/template/tab1.gif"
WIDTH = "8" HEIGHT = "19"></TD>
<TD ALIGN = "CENTER" BGCOLOR = "#666666" nowrap>
<FONT FACE = "ARIAL, VERDANA, SAN SERIF" COLOR = "#FFFFFF" SIZE = "2">
<!-- END SECTION HEADER TOP SSI INSERT SECTION TITLE HERE -->
Data Access with ADO and OLEDB
<!-- START SECTION HEADER BOTTOM HERE --></FONT></TD>
<TD><IMG SRC = "tab2.gif" tppabs="http://www.extropia.com/graphics/template/tab2.gif"
WIDTH = "8" HEIGHT = "19"></TD>
<TD WIDTH = "100%" BACKGROUND = "tabext.gif" tppabs="http://www.extropia.com/graphics/template/tabext.gif"> </TD>
</TR>
<TR>
<TD COLSPAN = "4">
<IMG SRC = "clear_dot-1.gif" tppabs="http://www.extropia.com/graphics/template/clear_dot.gif"
WIDTH = "10" HEIGHT = "20" BORDER = "0">
</TD>
</TR>
</TABLE>
</TD>
</TR>
<!-- THIS OPENS A NEW CELL AND STARTS FONT -->
<TR>
<TD><FONT SIZE = "2" FACE = "ARIAL, HELVETICA, SANS SERIF" >
<!-- END OF SECTION_HEADER_BOTTOM.SSI -->
The data access layer can only be useful if the tools used
to access those repositories are consistent and simple. To
address this issue Microsoft created several levels of
technology.
<P>
In the simplest form, DNA needed to provide Business layer
components with the facility to gain different levels of
access to data. These layers provide simple abstract methods
to access the data source tight through to technologies to
implement drivers to custom data sources.
<P>
The primary data source access is provided via ActiveX Data
Objects (an agreed variant of a COM object, one that supports
particular implementation details. ADO abstracts the details
of the implementation of data access and constructs a consistent
data model. Using COM as the delivery mechanism for drivers and
consumers means that an agreed supporting infrastructure can be
implemented.
<P>
For example, because ADO abstract data source details
away from the consuming developer it is possible to
write data access routines that work for several differing
data systems without change. Those data system can be very
different. ADO uses the facilities of OLE DB to provide the
unified data access. In fact, ADO is the higher-level data
access from Universal Data Access technology group. Within
the UDA there are a number of data access technologies,
however, ADO and OLE DB are the primary focus in DNA
applications.
<P>
OLE DB is the underlying technology that ADO and other Data
Source technologies use. OLE DB is a specification and
implementation for building drivers for both aspects of
the data access problem. Providers are the implementation
of a driver to enable Consumers to access the data. OLE DB
enables providers to work against a code base and conceptual
framework in order to enable conformance to a data object
model that all consumers can access. When all data source
providers implement their access in the same manner, through
similar standardized interfaces consumers will be able to use
a "code template" to access any provider.
<P>
<CENTER>
<FONT FACE = "ARIAL">
<A HREF = "biz_layer.html" tppabs="http://www.extropia.com/tutorials/dna/biz_layer.html">Previous Page</A> |
<A HREF = "toc.html" tppabs="http://www.extropia.com/tutorials/dna/toc.html">Table of Contents</A>
</FONT>
</CENTER>
<!-- #### START NAVIGATION_TEMPLATE_BOTTOM.SSI HERE #### -->
<!-- #### THIS ENDS THE MAIN PAGE CONTENT TABLE AND THE MAIN PAGE ENCLOSURE TABLE #### -->
</FONT>
</TD>
</TR>
<TR>
<TD><IMG SRC = "clear_dot.gif" tppabs="http://www.extropia.com/graphics/clear_dot.gif" BORDER = "0"
WIDTH = "1" HEIGHT = "60"></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<!-- #### BOTTOM BANNER AND COMPANY LOGO START HERE #### -->
<TABLE WIDTH = "100%" BORDER = "0" CELLPADDING = "0"
CELLSPACING = "0" ALIGN = "CENTER">
<TR>
<TD BGCOLOR = "#000000">
<A HREF = "javascript:if(confirm('http://www.extropia.com/contactus.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.extropia.com/contactus.html'" tppabs="http://www.extropia.com/contactus.html">
<IMG BORDER = "0" SRC = "contactbot.gif" tppabs="http://www.extropia.com/graphics/template/contactbot.gif"
HEIGHT = "19" WIDTH = "133" ALT = "contact us"></A></TD>
<TD WIDTH = "100%" BGCOLOR = "#000000"> </TD>
<TD BGCOLOR = "#000000">
<A HREF = "#top" TARGET = "_top"><IMG SRC = "backtop.gif" tppabs="http://www.extropia.com/graphics/template/backtop.gif" BORDER = "0"
HEIGHT = "19" WIDTH = "93" ALT = "back to top"></A>
</TD>
</TR>
</TABLE>
<TABLE WIDTH = "100%" BORDER = "0" CELLPADDING = "0"
CELLSPACING = "0" ALIGN = "CENTER">
<TR HEIGHT = "30">
<TD WIDTH = "100%" COLSPAN = "2" ALIGN = "RIGHT" VALIGN = "BOTTOM"
BACKGROUND = "greylinesbot.gif" tppabs="http://www.extropia.com/graphics/template/greylinesbot.gif"
HEIGHT = "33" WIDTH = "8">
<FONT SIZE = "1" FACE = "ARIAL, HELVETICA, SANS SERIF" COLOR = "#000000">
design & copyright: eXtropia - the open web technology company
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN = "RIGHT" COLSPAN = "2"> </TD>
</TR>
</TABLE>
<TABLE WIDTH = "100%" BORDER = "0" CELLPADDING = "0"
CELLSPACING = "0" ALIGN = "CENTER">
<TR>
<TD ALIGN = "CENTER" COLSPAN = "3">
<IMG SRC = "clear_dot-1.gif" tppabs="http://www.extropia.com/graphics/template/clear_dot.gif" BORDER = "0"
WIDTH = "1" HEIGHT = "20">
<BR>
<!-- BEGIN LINKEXCHANGE CODE -->
<CENTER>
<iframe src="showiframe-.htm" tppabs="http://leader.linkexchange.com/1/X1188309/showiframe?"
width=468 height=60 marginwidth=0 marginheight=0
hspace=0 vspace=0 frameborder=0 scrolling=no>
<a href="http://leader.linkexchange.com/1/X1188309/clickle"
target="_top"><img width=468 height=60 border=1 ismap alt=""
src="showle-" tppabs="http://leader.linkexchange.com/1/X1188309/showle?"></a></iframe><br><a
href="http://leader.linkexchange.com/1/X1188309/clicklogo"
target="_top"><img
src="showlogo-" tppabs="http://leader.linkexchange.com/1/X1188309/showlogo?"
width=468 height=16
border=0 ismap alt=""></a>
<!-- END LINKEXCHANGE CODE -->
</CENTER>
</TD>
</TR>
</TABLE>
</TABLE>
<!-- BOTTOM BANNER AND COMPANY LOGO END HERE -->
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
<!-- END NAVIGATION_TEMPLATE_BOTTOM.SSI HERE: THAT'S ALL FOLKS ! -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -