Wiley 978-0-7645-8437-4 Datasheet

Browse online or download Datasheet for Software manuals Wiley 978-0-7645-8437-4. Wiley Professional ADO.NET 2: Programming with SQL Server 2005, Oracle, and MySQL User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 12
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
History of Data Access
Over the years, many APIs have been released, all of which work toward the goal of providing
universal data access. Universal data access is the concept of having a single code base for accessing
data from any source, from any language.
Having universal data access is important for four reasons: First, developers can easily work on
applications targeting different data stores without needing to become experts on each one. Second,
developers can have a common framework for data access when switching between programming
languages, making the transition to new languages easier. This is especially important in the .NET
Framework, in which developers are expected to be able to easily switch between VB.NET and C#.
Third, it enables developers to more easily write a single application that can be deployed against
multiple data stores. Finally, it provides a level of abstraction between the application and direct
communication to the database to simplify the code the average developer needs to write.
Microsoft has conducted surveys to determine which key factors companies are looking for in a
data access layer. They came back with four main points, which they have tried to implement in
their databases and data access components:
High performance As any developer knows, performance can make or break almost
any application. No matter how much a data access layer may simplify accessing the data,
it absolutely must perform nearly as well or better than the alternatives before it becomes
a viable solution for the majority of applications.
High reliability If a component consumed by an application is buggy or occasionally
stops working, it is perceived by the users as an error in that application. In addition to
being a liability and annoyance to the company that implemented the application, it also
reflects very poorly on the developer(s) who wrote the application. Any issues, such as
memory leaks, that cause unreliable results are unacceptable to the development community.
It’s also very important to the support personnel that it be fairly maintenance-free. No one
wants to have to reboot a server on a regular basis or constantly apply patches just to keep
an application running.
03_584375 ch01.qxd 10/28/05 10:49 PM Page 1
COPYRIGHTED MATERIAL
Page view 0
1 2 3 4 5 6 ... 11 12

Summary of Contents

Page 1 - COPYRIGHTED MATERIAL

History of Data AccessOver the years, many APIs have been released, all of which work toward the goal of providing universal data access. Universal da

Page 2 - The Early Days

In addition to all of the great advancements ADO made, it too had some shortcomings, of course. Forexample, even though it supported working with disc

Page 3 - Relational Databases

With ADO.NET, the days of the recordset and cursor are gone. The model is entirely new, and consists offive basic objects:❑ Connection — The Connectio

Page 4

In the 2.0 Framework, Microsoft has also been able to improve performance by introducing several newfeatures to reduce the number of queries that need

Page 5 - History of Data Access

❑ Vendor commitment — Without the widespread buy-in of vendors to build drivers/providersfor their products, any universal data access model wouldn’t

Page 6 - Data Access Consumers

❑ A syntax for defining a schema❑ A syntax for defining a subschema❑ A data manipulation languageThese concepts were later incorporated into the COBOL

Page 7

The Ingres project was backed by several U.S. military research agencies and was very similar to System Rin many ways, although it ran on a different

Page 8

OLE-DBObject Linking and Embedding Database (OLE-DB) was the next big step forward in data providers, and itis still widely used today. With OLE-DB, M

Page 9

Figure 1-1Data Access ConsumersDevelopers who use languages that support pointers — such as C, C++, VJ++, and so on — can speakdirectly to the ODBC an

Page 10 - Chapter 1

Figure 1-2The main problem with DAO is that it can only talk to the JET engine. The JET engine then communicateswith ODBC to retrieve the data. Going

Page 11 - ADO.NET 2.0

ODBCDirect, a DAO add-on that routed the ODBC requests through RDO instead of the JET engine, theperformance gap between the two became much smaller.

Page 12 - For More Information

however, this sequence was much simpler. Developers could just create a command object directly, pass-ing in the connection information and executing

Comments to this Manuals

No comments