Atjaunināt sīkdatņu piekrišanu

Practical JavaScript for the Usable Web 1st ed. [Mīkstie vāki]

  • Formāts: Paperback / softback, 392 pages, height x width: 235x191 mm, weight: 761 g, VI, 392 p., 1 Paperback / softback
  • Izdošanas datums: 13-Oct-2003
  • Izdevniecība: APress
  • ISBN-10: 1590591895
  • ISBN-13: 9781590591895
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 37,94 €*
  • * ši ir gala cena, t.i., netiek piemērotas nekādas papildus atlaides
  • Standarta cena: 44,65 €
  • Ietaupiet 15%
  • Grāmatu piegādes laiks ir 3-4 nedēļas, ja grāmata ir uz vietas izdevniecības noliktavā. Ja izdevējam nepieciešams publicēt jaunu tirāžu, grāmatas piegāde var aizkavēties.
  • Daudzums:
  • Ielikt grozā
  • Piegādes laiks - 4-6 nedēļas
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 392 pages, height x width: 235x191 mm, weight: 761 g, VI, 392 p., 1 Paperback / softback
  • Izdošanas datums: 13-Oct-2003
  • Izdevniecība: APress
  • ISBN-10: 1590591895
  • ISBN-13: 9781590591895
Citas grāmatas par šo tēmu:
This is a new kind of JavaScript book. It's not cut'n'paste, it's not a reference, and it's not an exhaustive investigation of the JavaScript language. It is about client-side, web focused, and task-oriented JavaScript. JavaScript is a core skill for web professionals, and as every web professional knows, client-side JavaScript can produce all sorts of glitches and bugs. 'Practical JavaScript for the Usable Web' takes a two pronged approach to learning the JavaScript that you need to get your work done: teaching the core client-side JavaScript that you need to incorporate usable interactivity into your web applications, including many short functional scripts, and building up a complete application with shopping cart functionality. When you have finished working with this book, you'll have a thorough grounding in Client-side JavaScript, and be able to construct your own client-side functionality quickly, easily, and without falling into any of the usability traps that this technology leaves wide open.



This book covers: DHTML for IE4 and NN4 browsers, and the Dom for the latest browsers Usability techniques Working scripts that can be incorporated into your web applications immediately Step-by-step breakdown of JavaScript shopping cart functionality Advanced Data Validation Techniques Book Info Covers DHTML for IE4 and NN4 browsers, and the Dom for the latest browsers. Discusses working scripts that can be incorporated into your web applications immediately. Provides advanced data validation techniques.



From the Publisher This is for readers who are either learning JavaScript from scratch, or who have a little experience - perhaps with DreamWeaver behaviors, or incorporating scripts into their pages. It assumes a though understanding of HTML, and a little CSS experience.



About the Author After an initial stint as a Visual Basic applications programmer at the Ministry of Defence in the UK, Paul Wilton found himself pulled into theNet. He is currently working freelance and is busy trying to piece together the Microsoft .Net jigsaw. Paul's main skills are in developing web front ends using DHTML, JavaScript, VBScript, and Visual Basic, and back-end solutions with ASP, Visual Basic, and SQL Server. Stephen Williams recently co-founded Chimera Digital Ltd, a company that brings together expertise in the fields of education, video production and web technologies, and produces content packages suitable for business in training, promotion, marketing, and more. Prior to this he worked for Edison Interactive, where he was the lead Vignette developer for their Switch2 entertainment portal web site. His interests in artificial life lead him from his PhD in Molecular Microbiology at the University of Birmingham, into object-oriented programming and the Internet. Sing Li is an active author, consultant, and entrepreneur. He has written for popular technical journals and is the creator of the "Internet Global Phone", one of the very first Internet phones available. His wide-ranging consulting expertise spans Internet and Intranet systems design, distributed architectures, web services, embedded systems, real-time technologies, and cross-platform software design. He also participates in the Jini and Jxta communities.
Introduction 1(4)
Style Conventions
2(1)
Support/Feedback
3(1)
Web Support
3(2)
Chapter 1: Getting Started with JavaScript 5(16)
What is JavaScript?
6(5)
What Can JavaScript Do for Us?
6(2)
The Advantages and Disadvantages of JavaScript
8(3)
JavaScript in a Web Page
11(4)
JavaScript Syntax
12(2)
Code Execution
14(1)
Objects
15(2)
Simple JavaScript Example
17(4)
Chapter 2: Data and Decisions 21(38)
Data, Data Types, and Data Operators
22(10)
The String Data Type
22(2)
Data Operators
24(3)
JavaScript Variables
27(2)
Converting Different Types of Data
29(3)
The Composite Data Types: Array and Object
32(7)
The String, Date, and Math Objects
32(7)
Arrays
39(5)
The Array Object's Methods and Properties
42(2)
Making Decisions in JavaScript
44(15)
The Logical and Comparison Operators
44(3)
Conditional statements
47(3)
Checking a Number of Conditions: the Switch statement
50(2)
Repeating Things: Loops
52(7)
Chapter 3: Functions and Code Design 59(30)
Functions
59(10)
Creating a Function
60(2)
Using Functions
62(7)
Good Coding Practice
69(8)
Code Layout
70(1)
Comment Code
71(1)
Use Descriptive Names
72(1)
Simplify Conditions
72(1)
Keep the Number of Exit Points to a Minimum
73(1)
Use Variables for Special Values
74(1)
Keep Related Code Together
75(1)
Minimize Variable Scope
76(1)
Use Variables for Just One Purpose
76(1)
Remove Unused Variables
76(1)
Functions Should Do One Thing and Do it Well
76(1)
Organizing and Reusing Code
77(12)
Creating Code Modules with .js Files
78(2)
Creating our own Objects with JavaScript Classes
80(9)
Chapter 4: Interacting with the Web Browser 89(36)
Browser Objects
89(4)
Modifying our Page with JavaScript
93(17)
Changing the Page as it Downloads
93(1)
Changing the Page after it has Downloaded
94(16)
Swapping Images
95(5)
Dynamically Changing Links
100(2)
Accessing Forms
102(8)
Reacting to Events
110(11)
Window Events
111(2)
Document Events
113(1)
HTML Elements and Events
114(7)
Checking the User's Browser
121(4)
Browser Detection
121(1)
Object Detection
122(3)
Chapter 5: Windows and Frames 125(38)
Basic Built-In Dialog Windows
125(4)
The Alert Dialog
126(1)
The Confirm Dialog
127(1)
The Prompt Dialog
127(2)
Creating New Browser Windows
129(14)
Communicating Between Windows
138(1)
Closing Windows
139(2)
Custom Dialog Windows
141(2)
Windows within Windows
143(9)
Documents within Documents
143(2)
Multiple Windows within Window
145(3)
Framesets
146(1)
Frameset Hierarchy
147(1)
Accessing frames
148(2)
Complex Framesets
150(2)
Image Viewer Application - Part 1
152(11)
Application Outline
153(1)
Building the Application
154(1)
Stylizing the Application
155(1)
Preventing JavaScript Errors
156(1)
Allowing for Smaller Screens
156(1)
Navigation System
157(6)
Chapter 6: DHTML for IE4 and NN4 163(30)
The Need for Cascading Style Sheets (CSS)
164(2)
What is CSS?
166(2)
Manipulating CSS with JavaScript
168(6)
DHTML in IE 4
169(3)
DHTML in NN4
172(2)
Writing Cross-Browser DHTML
174(5)
The Difficulties with Cross-Browser DHTML
175(4)
Technique 1: Using document.all Collection Test
178(1)
Technique 2: Using the document.layers Collection Test
178(1)
Technique 3: Using a Browser Sniffer
178(1)
ImageViewer: Part II: Adding DHTML and CSS
179(14)
Applying CSS/CSSP Stylesheets
179(3)
Applying DHTML
182(6)
Back to the Main Page
188(5)
Chapter 7: The DOM: DHTML for the Latest Browsers 193(44)
Overview of the DOM
194(1)
DOM Structure
195(15)
DOM Interfaces
197(2)
Accessing Parts of a Document
199(7)
Accessing Elements
199(3)
Traversing the Document Structure
202(2)
Identifying Nodes
204(2)
Manipulating the Document
206(14)
Mutating the Document Structure
207(1)
Creating New Nodes
208(1)
Modifying Attributes
209(1)
DOM Compatibility
210(3)
Importing XML Documents
213(7)
DOM Event Model
220(10)
Event Binding
221(3)
Choosing an Event Binding Method
223(1)
The Event Object
224(2)
Canceling Event Propagation
226(4)
Image Viewer Application - Part 3
230(7)
Thumbnail HTML Page Template
231(1)
Event Binding for the Thumbnail Pages
232(5)
Chapter 8: Advanced Form Techniques 237(38)
Advanced Forms
237(19)
Adding Elements to a Select Control
237(5)
Creating Your Own Controls with DHTML
242(14)
The E-commerce Image Viewer - Part 1
256(11)
Interface Changes
256(6)
Code Changes
262(5)
Regular Expressions
267(8)
Chapter 9: Passing Information Between Web Pages and Data Storage 275(64)
Keeping Information Alive
275(9)
Passing Information with URLs
276(6)
Maintaining State with Session Variables
282(2)
Permanently Storing Information: Cookies
284(15)
Reading and Writing Cookies
285(3)
Making Cookies Easy: Cookie Functions
288(11)
The E-commerce Image Viewer Application - Part 2
299(40)
Creating the Shopping Cart Classes
300(21)
Using the Classes
321(18)
Chapter 10: Data Validation Techniques 339(38)
Validation of Different Types of Information
339(21)
Validating Characters
340(2)
Validating Numbers
342(5)
Validating a Postal Code
347(1)
Validating an E-mail Address
348(2)
Validating Dates
350(3)
Validating a Credit Card Number
353(7)
Image Viewer E-commerce Application - Part 3
360(17)
Adding Automatic Form Validation
360(12)
Updating the Personal Details Page
372(1)
Updating the Credit Card Details Page
372(5)
Index 377