Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Jscript .Net Programming
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Jscript .Net Programming

Jscript .Net Programming

Essam Ahmed

496 pages, parution le 18/10/2001

Résumé

This expert guide covers the biggest change to JScript since 1996 -- a must-have for serious Microsoft Web developers. With JScript .NET Programming, you will quickly and easily harness the power of JScript .NET to build robust .NET applications. Expert coverage includes:
  • Using JScript .NET to build ASP.NET applications
  • Building JScript .NET Web services
  • Writing JScipt .NET components
  • Building Windows Forms applications with JScript .NET
  • And more
Contents

Foreword

Preface

Part I Introducing .NET and JScript .NET

Chapter 1 Introducing the .NET Framework
What Is the .NET Framework?
How JScript Relates to the .NET Framework
Problems Solved by the .NET Framework
Lack of interoperability
Inconsistent programming models
Versioning problems
Inconsistent toolset
Summary
Chapter 2 Components of the .NET Framework
Identifying the Key Components
The Common Language Runtime
Cross-language interoperability and easy deployment
Common runtime services
The .NET Class Library
The Common Type System
Base data types
Value types
Reference types
ASP.NET
Web Forms
Web Services
Windows Forms
Visual Studio .NET
Summary
Chapter 3 Exploring JScript .NET
JScript .NET at a Glance
The key language features of JScript .NET
How JScript .NET relates to JScript
How JScript .NET relates to Internet Explorer
How JScript .NET relates to IIS
Why Use JScript .NET?
JScript .NET for new or occasional programmers
JScript .NET for JScript and JavaScript programmers
JScript .NET for Visual Basic programmers
JScript .NET for C++ programmers
Advantages of JScript .NET over C#
Summary

Part II JScript Primer

Chapter 4 Elements of JScript
Playing by the Rules
Case-awareness
Formatting your code
Comments
Literals
Identifiers
The infamous semicolon
Braces
Summary
Chapter 5 JScript Data Types and Intrinsic Objects
Data Types
The Boolean type
The String type
The Number type
The Object type
Intrinsic JScript Objects
The arguments object
The Array object
The String object
The Number object
The Math object
The Date object
The RegExp object
The Error object
The this object
The Function object
The ActiveXObject object
The Enumerator object
The VBArray object
The Microsoft Scripting Runtime objects
Summary
Chapter 6 JScript Statements and Error Handling
Exploring JScript Statements
The if statement
The while statement
The do/while statement
The for statement
The for...in statement
The continue statement
The break statement
The switch statement
The return statement
The with statement
Using Exceptions for Error Handling
Catching exceptions
Throwing exceptions using the Error object
Using the finally clause
Summary
Chapter 7 Conditional Compilation and JScript Functions
Conditional Compilation
The @cc_on statement
The @set statement
The @if statement
Using JScript Functions
Summary
Chapter 8 Working with JScript Operators and Custom Data Types
JScript Operators
Unary operators
The new operator
The delete operator
The typeof operator
The instanceof operator
The prefix increment and decrement operators
The postfix increment and decrement operators
The bitwise not (~) operator
The logical not (!)
The negation (-) operator
Binary operators
Additive operations
Multiplicative operations
Logical operators
Comparative operators
Ternary Operators
Bitwise Operators
Comma operator
Custom Data Types
Summary

Part III JScript Essentials: What Every JScript .NET Developer Should Know

Chapter 9 What's New in JScript .NET
Compiling Code
Introducing the New Data Types
Understanding Type Annotation
Working with the New Statements
The class statement
The import statement
The package statement
The const statement
The enum statement
Exploring the New Directives
The @option(fast) directive
The @debug directive
The @position directive
Summary
Chapter 10 JScript .NET in Action
Creating Windows Forms-Based Applications
xForm: XML to Windows Forms
Compiling xForm
Creating a Currency Converter
Generating the application framework
Designing the currency conversion classes
Relating system behavior to the form
Handling form events in JScript .NET
Creating a Web Service
Examining the QoD code
Using the QoD Web service
Accessing the QoD service by using a Windows Forms client
Creating an ASP.NET Application
Examining the ASP.NET code
A close-up look at the ASP.NET magic
Summary
Chapter 11 Debugging and Error Handling
Debugging a Sample Application
BugBank system design
Starting the debugger
Using the Trace class
Configuring tracing by using an application configuration file
Assertive code
Interactively tracking down bugs
Debugging an ASP.NET Application
Configuring the ASP.NET application
Starting the debugging session
Summary
Chapter 12 Exceptional JScript .NET
Handling and Creating Exceptions
Exceptions: The basics
Discriminating exceptions
Creating your own exceptions based on BCL types
Ordering of exception handlers
The .NET Framework and Exceptions
Be exception aware
Maintain consistent state in the presence of exceptions
Don't throw exceptions from Finalize, Dispose, or Close methods
Change program state by using nonthrowing methods
Consider using other error-handling tactics
Summary

Part IV Object-Oriented Programming Primer

Chapter 13 Object-Oriented Methods and Development Phases
Understanding Object-Oriented Methods
OO Methods
Benefits of the Object-Oriented Approach
Better requirements
Early validation of design
Easier maintenance and upgrades
Improved communication
Development Phases
Analysis
Design
Architectural design
Using architectural elements from somewhere else
Using your insight into the problem
Using an architectural method
Tactical design
Detailed design
Translation
Testing
Summary
Chapter 14 Analyzing Your System
Implementing Use Cases
Actors
Use Case diagrams
Writing Use Cases
Linking Use Cases
Modeling
The role of notation
Unified Modeling Language
Summary
Chapter 15 Designing Classes
Objects
Classes
Attributes
Behaviors
Messages
Concurrency
Thread synchronization
Inter-thread communication
Identifying Classes
Classification is iterative
Domain analysis
Prototyping
Object-Oriented classification
Relationships
Association
Aggregation
Containment
Generalization/Inheritance
Multiplicity
Assembling the Architecture
Component model
Deployment model
Summary

Part V Putting It All Together

Chapter 16 ASP.NET
Setting Up the Sample
System Design
Coding the Start Page
Directives
Page_Load event
Session variables
Server.Transfer method
DirectoryInfo class
HTML and controls
Declaring the Explorer Page
Coding the Database Explorer
PageLoad function
Extracting a listing of tables
DataView
Binding the list of tables
Listing the columns
Querying the currently selected table
Binding the results to a DataGrid and gathering information
Specialized collection
Displaying the page to the user
OnEditCommand handler
OnUpdateCommand handler
Using HTML form data to get values the user entered
Managing rows with ADO.NET
Building the SQL Update statement
Summary
Chapter 17 A Walk Through a JScript .NET Application
Overview of the jsNetNews Sample Application
Introducing Windows services
Why write a Windows service?
Managing Windows services
jsNewsXmlProcessor: Infrastructure
Setting up the sample
jsNewsXmlProcessor's role
Writing the service control functions
JScript .NET and ServiceBase.OnStart
Installing the service
Implementing jsNewsXmlProcessor
Processing XML using a DataSet object
Adding new data to the News database
Compiling the service
Writing the jsNetNews Web Service
Writing the jsNetNews Submit News Page
Writing the Start Page
Summary
Chapter 18 Migrating from ASP to ASP.NET
Overview of the Survey Sample Application
Setting up the survey ASP sample
An overview of the survey database
Examining the ASP code
Creating a new survey
Implementing the Three Phases of Migration
Basic migration
Intermediate migration
Advanced migration
Migrating the Survey Database to ADO.NET
ADO versus ADO.NET
Examining global.asax
Examining default.aspx
Examining generateSurvey.aspx
Migrating the remaining code to ADO.NET
Summary

Appendix A: UML Notation

Appendix B: Translating from UML to JScript.NET Code

Appendix C: XML Primer

Index

Caractéristiques techniques

  PAPIER
Éditeur(s) IDG
Auteur(s) Essam Ahmed
Parution 18/10/2001
Nb. de pages 496
Format 18,7 x 23,4
Couverture Broché
Poids 804g
Intérieur Noir et Blanc
EAN13 9780764548680

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav.client@eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription