Server-Side Javascript : Developing Integrated Web Aplications (PAP/CDR)

Server-Side Javascript : Developing Integrated Web Aplications (PAP/CDR)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 316 p.
  • 言語 ENG
  • 商品コード 9780201433296
  • DDC分類 005.2762

Full Description


Netscape's Server-Side JavaScript (SSJS) is an extended version of JavaScript(TM). It is included with Netscape Web servers and supports back-end access to databases, file systems, and servers. SSJS offers Web developers a fast and efficient way to develop dynamic, interactive applications that can be accessed through a Web server, and features better performance than applications developed with CGI. Written by two of the most respected authorities on Web server technology, Server-Side JavaScript provides all the information you need to begin developing integrated applications for the Web. This book includes a detailed tutorial to SSJS containing real-world code, examples, tips, and tricks from the authors' projects. It features a comprehensive presentation of the structure, commands, and syntax of the language and includes a comparison of client-side and server-side JavaScript. This book will help you master key server-side techniques such as state and session management and database and file system access. It contains a wealth of material not found in any other SSJS book.Accurate, timely, and grounded in the realities of enterprise development, Server-Side JavaScript demonstrates how to put SSJS to work, citing numerous examples that solve programming challenges.In addition, it provides instructions and examples for integrating Server-Side JavaScript with other popular technologies, including CGI, LDAP, relational databases, and Java. You will find detailed explanations on such topics as: *Working with databases *Accessing LDAP Directories *Uploading files to the server *Using the SSJS database API objects and connection pools *Integrating SSJS with Java *Managing state and sessions, including SuperClient *Using JavaScript with HTML forms *Sending HTML e-mail messages with MIME attachments The CD-ROM includes sample SSJS applications for all the examples in the book, a wealth of online DevEdge reference materials, LDAP and Messaging SDKs, an evaluation copy of NetObjects ScriptBuilder, and more. 020143329XB04062001

Contents

( Each chapter includes a Summary.) Preface. 1. Introduction. The Three-Tier Client/Server Architecture. An Online Marketplace. What is JavaScript? What Is LiveWire? CGI, SSJS, and NAS: What to Use. Writing SSJS Applications. The Nuts and Bolts of SSJS. Passing Values Between CSJS and SSJS. 2. Server-Side JavaScript. How SSJS Works. Elements of Server-Side JavaScript. Building SSJS Applications. 3. Session Management. The Session Management Service. Extending the client Object. 4. Working with Forms. The Importance of Forms. Bad Form. Making Forms Attractive. Form Hierarchy. Form Properties. Giving Initial Focus to a Field. Form Elements. Checking for JavaScript Usage on Forms. Forcing JavaScript Usage on Forms. Field Validation. Checking for Required Fields. Submitting Forms. Form Handlers in Server-Side JavaScript. Forwarding Form Submission Values. Passing Values from SSJS to SSJS, CSJS, and CGIs. Passing Server-Side JavaScript Variables or Values to Client-Side JavaScript. A Tip on Displaying Data in Tables. 5. Working with Databases. In This Chapter. SSJS Data Basics. Connecting to a Database. Retrieving Data. Updating Data. A Complete Example. Working with Stored Procedures. Creating Tables. 6. Advanced Database Application Techniques. Application Design Strategies. Advanced Implementation Techniques. 7. File System Access. The SSJS File Object. Uploading Files. Extending the SSJS File Object. Using Java to Extend the SuperFile Object. Deleting Files in SSJS. 8. Enabling Messaging in SSJS Applications. The SendMail Object. Using the SendMail Object. Extending the SendMail Object. 9. Extending SSJS Using LiveConnect. Setting Up Java on the Server. Java Classes. Accessing Java from JavaScript. Accessing JavaScript from Java. Data Type Conversion. Example 1. Generating Random Numbers. Example 2. Displaying System Properties. Example 3. Accessing Remote Content. Example 4. Local File System Access. 10. Accessing LDAP Servers from SSJS. LDAP and Directory Servers. LDAP versus SQL. Connecting to a Directory Server. LDAP Searches. Sorting LDAP Result Sets. Authentication. Modifying Attributes. Modifying Entries. LDAPException Error Codes. 11. Netscape Application Server. Application Servers and NAS. NAS Evaluation. Index.