
By Jörg Krause
Bei der Entwicklung von Anwendungen mit Web-Frontends basierend auf Microsoft-Technologie sind die lively Server Pages -- kurz ASP -- die vorherrschende Technologie. Bei der Anbindung von Datenbanken sind es die lively Database items (ADO). Wie beide zusammen erfolgreich eingesetzt werden können, zeigt Jörg Krause in seinem Buch ASP-Programmierung mit ADO. Inhaltlich gliedert der Autor sein Buch in drei Teile. Im ersten befasst er sich mit der aktuellen ADO-Version 2.6. Nach einer kurzen Einführung in die Grundlagen behandelt er diese Technologie sehr ausführlich im aspect. Hierbei werden alle Objekte und deren Methoden bzw. houses in shape einer Referenz aufgeführt. Damit kann das Buch auch als Nachschlagewerk genutzt werden. Kurze Code-Beispiele und Verweise auf andere Objekte, Methoden und houses runden dieses Kapitel ab. Den Abschluss des ersten Teils bilden spezielle Techniken, wie z.B. info Shaping, Zeiger, Optimierung und XML. Weiter geht es mit ADOX, den ADO Extensions for DDL and safety, sowie ADO Multidimensional information, kurz ADO MD. Letzteres dient der Online-Analyse von Datenbeständen. Der zweite Teil dient der Einführung in ADO.NET, Microsofts neueste Variante im Rahmen der .NET-Technologie. In diesem Rahmen geht Krause ebenfalls auf ASP.NET ein. Dieser Teil geht ebenso wie der erste in die info der Technologie ein, verfügt aber über noch keine Referenz, da die Technologie noch zu jung ist. Den abschließenden dritten Teil bilden eine Vielzahl von tabellarischen Referenzen über ADO 2.6. Sie runden dieses praktische Buch für den Einsatz von ADO in ASP-Anwendungen ab. Wer seine Web-Anwendungen additionally um eine Datenbankanbindung ergänzen möchte und einen guten Einstieg sucht, ist mit Jörg Krauses Buch intestine beraten. Neben der Einführung mit den praktischen Beispielen ist es auch intestine als Referenz im täglichen Einsatz zu gebrauchen. --Frank Mueller
Read or Download ASP-Programmierung mit ADO PDF
Similar .net books
Microsoft Visual Studio 2010: A Beginner's Guide (A Beginners Guide)
<p align="left">Essential visible Studio 2010 Skills--Made Easy!
<p align="left">Endorsed by way of Microsoft and written through a Microsoft MVP and visible Studio specialist, this hands-on consultant teaches programmers and builders new to visible Studio 2010 how you can maximize the newest unencumber of Microsoft's flagship improvement surroundings. Microsoft visible Studio 2010: A Beginner's consultant exhibits you the way to construct functions from the floor up. You'll additionally how one can customise the built-in improvement atmosphere (IDE) itself, including your individual instruments that combine with visible Studio 2010.
.NET 4.0 Generics Beginner's Guide
Increase the sort safeguard of your code and simply create functions utilizing . internet Generics four. zero
* find out how to use Generics' equipment and everyday collections to unravel complex problems.
* enhance real-world purposes utilizing Generics
* be aware of the significance of every conventional assortment and ordinary type and use them as according to your specifications
* Benchmark the functionality of all frequent collections
In element
Generics have been extra as a part of . internet Framework 2. zero in November 2005. even supposing just like generics in Java, . web generics don't practice kind erasure yet each item has particular illustration at run-time. there's no functionality hit from runtime casts and boxing conversions, that are in most cases dear. .NET deals type-safe types of each classical facts constitution and a few hybrid ones.
This publication will convey you every thing you want to commence writing type-safe purposes utilizing widespread facts constructions to be had in Generics API. additionally, you will see how one can use a number of collections for every activity you practice. This ebook is filled with sensible examples, attention-grabbing purposes, and comparisons among Generics and extra conventional techniques. eventually, every one box is bench marked at the foundation of functionality for a given job, so that you recognize which one to take advantage of and when.
This publication first covers the elemental ideas reminiscent of style defense, widespread equipment, and commonly used bins. because the booklet progresses, you'll the way to subscribe to a number of commonplace packing containers to accomplish your objectives and question them successfully utilizing Linq. There are brief workouts in each bankruptcy to spice up your knowledge.
The e-book additionally teaches you a few most sensible practices, and a number of other styles which are more often than not on hand in customary code.
Some very important widespread set of rules definitions are found in strength assortment (an API created by means of Wintellect Inc. ) which are lacking from . internet framework. This publication indicates you ways to exploit such algorithms seamlessly with different primary containers.
The e-book additionally discusses C5 collections. Java Programmers will locate themselves at domestic with this API. this can be the nearest to JCF. a few very fascinating difficulties are solved utilizing familiar boxes from . internet framework, C5, and PowerCollection Algorithms - a identical to Google Set and Gender Genie for example!
What you'll study from this e-book
* How other kinds of primary listsare comparable
* how you can enforce your personal normal record
* question all kinds of known box alike with Linq typical question Operators
* increase . internet collections with common objective algorithms on hand in C5 and PowerCollection
* construct concurrent apps in respiring effortless steps.
* locate these algorithms you've been lacking in . web framework in PowerCollection and C5 API.
* learn the way assorted customary collections/containers practice below benchmarking, and whilst to exploit one over one other
* Port your STL code blocks to . web Generics which are very convenient while you are a veteran C++ developer and seeking out an alternate in . web world.
Approach
This is a concise, useful consultant to help you study Generics in . internet, with plenty of genuine global and fun-to-build examples and transparent reasons. it's full of screenshots to assist your realizing of the process.
Who this ebook is written for
This e-book is aimed toward newbies in Generics. It assumes a few operating wisdom of C# , however it isn't mandatory.
The following may get the main use out of the book:
* beginner C# builders suffering from Generics.
* skilled C++ and Java Programmers who're migrating to C# and seeking out an alternative choice to different popular frameworks like STL and JCF may locate this ebook handy.
* Managers who need to know what Generics is and the way to place it to strong use.
* Architects will locate the benchmarking tremendous worthwhile, simply because it's the 1st of its variety throughout a framework of numerous collections.
NHibernate 2.x Beginner's Guide
Swiftly retrieve information out of your database into . web items contain strong, effective info entry into your . internet initiatives achieve database independence, no longer tied to any specific expertise steer clear of spending numerous hours constructing info entry layers do away with writing saved tactics transparent, distinct step by step instructions to wake up and working fast intimately NHibernate is an open resource object-relational mapper, or just positioned, how to retrieve info out of your database into commonplace .
Professional ASP.NET Design Patterns
This exact ebook takes sturdy ASP. internet program building one step extra by way of emphasizing loosely coupled and hugely cohesive ASP. internet net program architectural layout. every one bankruptcy addresses a layer in an firm ASP. internet software and exhibits how confirmed styles, rules, and top practices may be leveraged to unravel difficulties and increase the layout of your code.
Additional info for ASP-Programmierung mit ADO
Sample text
Das funktioniert mit ASP nicht. ̈ Visual C++- und Visual J++-Erweiterungen: Diese dienen der direkten Unterstützung von ADO in Visual C++-Programmen und für Java. ̈ Hierarchische Zeiger und Data Shaping: Diese spezielle Eigenschaft erlaubt die Darstellungen hierarchischer Daten. B. ein Verzeichnissystem. Diese Funktionen sind in ASP verfügbar. 36 Struktur und Aufbau ̈ Kundenspezifische Modifikation der Datenschnittstellen: Damit können Sicherheitsprobleme beseitigt werden, die ADO früher hatte.
Verbindungen verbleiben dort eine gewisse Zeit, danach werden sie automatisch gelöscht. Änderungen an der Datenquelle spiegelt das Objekt im Pool natürlich nicht wider – Sie sollten Maßnahmen zum Abfangen von Fehlern vorsehen, wenn mit Verbindungspooling gearbeitet wird. Verbindung wiedererkennen Das Wiedererkennen der Verbindung erfolgt durch Vergleich der Parameter – nur wenn diese exakt übereinstimmen, wird das Objekt aus dem Pool verwendet. Das ist auch aus Sicherheitsgründen notwendig. Wechselt der Benutzer (bei sonst identischen Zugriffsinformationen), muss ein neues Verbindungsobjekt erstellt werden.
Wenn Sie zuvor ein RecordSet-Objekt erstellen, dessen Eigenschaften festlegen und dann diesem RecordSet-Objekt das Resultat der Abfrage übergeben, werden die Eigenschaften ignoriert. Das von Execute erzeugte Objekt ist völlig neu, es überschreibt das zuvor definierte RecordSet-Objekt. Wenn Sie also mit RecordSet arbeiten, sollten Sie dessen Methode Open verwenden. B. USE, DELETE oder UPDATE. Verwenden Sie dann unbedingt die Konstante adExecuteNoRecords. ADO versucht sonst, zuerst die Aktion auszuführen und dann festzustellen, ob etwas zurückgegeben wurde.