Web technology : theory and practice
Web Technology: Theory and Practice introduces the keyset technologies that are currently used to create applications on web. It explains the principal HTML concept, the client-side used JavaScript and the server-side used JSP with relevant coding examples. Emphasis is given on XML with examples inc...
Other Authors: | |
---|---|
Format: | eBook |
Language: | Inglés |
Published: |
[Place of publication not identified]
Pearson
2012
|
Edition: | 1st edition |
Series: | Always learning.
|
Subjects: | |
See on Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627794006719 |
Table of Contents:
- Cover
- Brief Contents
- Contents
- Foreword
- Preface
- Chapter 1: Web Foundations
- 1.1 The Evolution of the Web
- 1.2 A Peek into the History of the Web
- 1.3 Internet Applications
- 1.4 Networks
- 1.4.1 From Moore to Metcalf
- 1.5 TCP/IP
- 1.5.1 Internet Address Structure
- 1.5.2 IPv6
- 1.6 Higher Level Protocols
- 1.6.1 FTP
- 1.6.2 Telnet
- 1.6.3 E-mail Related Protocols
- 1.6.4 HTTP
- 1.7 Important Components of the Web
- 1.7.1 Firewalls
- 1.7.2 Routers
- 1.7.3 Browser
- 1.7.4 Browser Caches
- 1.8 Web Search Engines
- 1.9 Web Servers
- 1.10 Application Server
- 1.11 Internet Organizations' Who's Who
- 1.11.1 ISOC - Internet Society
- 1.11.2 IETF - Internet Engineering Task Force
- 1.11.3 IESG - Internet Engineering Steering Group
- 1.11.4 IANA - Internet Assigned Numbers Authority
- 1.11.5 IAB - Internet Architecture Board
- 1.11.6 IRTF - Internet Research Task Force
- 1.11.7 W3C - World Wide Web Consortium
- 1.12 Summary
- Exercises
- Caselet Activity
- Chapter 2: Client-Side-HTML
- 2.1 SGML Framework
- 2.2 HTML
- 2.3 HTML Tags
- 2.3.1 Attributes
- 2.4 HTML File Structure
- 2.5 Common HTML Tags
- 2.5.1 HTML Tag
- 2.5.2 Meta
- 2.5.3 Title
- 2.5.4 Body
- 2.5.5 Headings
- 2.5.6 Anchor
- 2.5.7 Lists
- 2.5.8 Table
- 2.5.9 Frames
- 2.5.10 HTML Forms
- 2.6 XHTML
- 2.6.1 HTML Validator
- 2.7 Block and Inline Elements
- 2.8 HTML5
- 2.9 Summary
- Exercises
- Project Activities
- Caselet Activity
- Chapter 3: Client-Side-CSS
- 3.1 CSS Declarations
- 3.2 Using CSS
- 3.3 Sample CSS File
- 3.4 Selectors
- 3.5 Box Model
- 3.5.1 Concept
- 3.5.2 Padding
- 3.6 Float
- 3.6.1 Using Float and Clear
- 3.7 Z-Index
- 3.7.1 Websites
- 3.8 Benefits of CSS
- 3.9 Summary
- Exercises
- Project Activities
- Caselet Activity
- Chapter 4: Client-Side-Behavior
- 4.1 JavaScript.
- 4.2 A Bit of History About JavaScript
- 4.3 Organization of the Language
- 4.3.1 Basics of Client-side JavaScript
- 4.4 An Example
- 4.5 Data Types
- 4.5.1 Special Numbers
- 4.5.2 Boolean
- 4.5.3 Constants
- 4.5.4 Typeof
- 4.6 Conversions
- 4.7 Basic String Operations
- 4.7.1 Other Common String Operations
- 4.7.2 String Encoding for URIs
- 4.7.3 Reference or Value
- 4.7.4 Regular Expressions
- 4.8 Date Object
- 4.8.1 A Note on Including JavaScript File
- 4.9 Arrays
- 4.9.1 Array Implementation Basics
- 4.9.2 Array and String Operations
- 4.10 Variables and Functions
- 4.10.1 Function Literals
- 4.10.2 Function Arguments
- 4.10.3 Anonymous Functions
- 4.10.4 Inner Functions
- 4.10.5 Closures
- 4.11 Closure Scenarios
- 4.11.1 Simplify Scope
- 4.11.2 Return Methods from Functions
- 4.12 Summary of Ways to Use a Function
- 4.12.1 Client-side Cookies
- 4.13 The Concept of Classes
- 4.13.1 Creating Objects
- 4.13.2 Objects Through Function Constructors
- 4.13.3 Dynamic Addition of Methods-Prototype
- 4.13.4 Inheritance
- 4.14 Execution Contexts
- 4.15 DOM
- 4.15.1 The Bigger Picture of DOM
- 4.15.2 Representing DOM
- 4.15.3 DOM Traversal
- 4.15.4 Accessing Nodes Directly
- 4.15.5 Adding Dynamism-DOM Manipulation
- 4.16 Event Handling
- 4.16.1 Event Onclick
- 4.16.2 Event Onchange
- 4.16.3 Event Onload
- 4.16.4 Mouse Events
- 4.16.5 Default Event Listeners
- 4.16.6 Browser Specific Challenges
- 4.16.7 Event Propagation
- 4.16.8 Other Events
- 4.17 A Shopping Cart Table Sort Example
- 4.17.1 Method InnerHTML
- 4.18 Overall Observations About DOM
- 4.19 Ajax with JavaScript
- 4.19.1 Ajax Introduction
- 4.19.2 Scenarios
- 4.19.3 Technology Components Required for Ajax
- 4.19.4 XMLHttp Request Object
- 4.19.5 A Look at the Steps Involved
- 4.19.6 Sample Ajax Code
- 4.19.7 Ajax - Points of Caution.
- 4.20 JavaScript Security
- 4.20.1 File Handling and Execution
- 4.20.2 Same Origin Policy
- 4.20.3 Pop-up Windows
- 4.20.4 History
- 4.20.5 Mail through a Form
- 4.20.6 Server Restriction
- 4.21 Closing Observations on JavaScript
- 4.21.1 Client Side Compatibility
- 4.21.2 Unobtrusive JavaScript
- 4.22 Summary
- Exercises
- Project Activities
- Caselet Activity
- Chapter 5: The Server Side
- 5.1 A Broad Outline
- 5.2 Behind the Scenes
- 5.3 Client Side vs. Server Side
- 5.4 Transformation from Static to Dynamic Sites
- 5.4.1 Embedded Server-side Scripts in HTML
- 5.5 Java Servlets
- 5.5.1 Servlet Creation and Lifecycle
- 5.5.2 Lifecycle of a Servlet
- 5.5.3 A Simple Servlet Example
- 5.5.4 An Intermediate Web Application Architecture
- 5.6 Example-Read Environment Parameters
- 5.7 Accessing Parameter Data
- 5.7.1 Sharing Data Through Servlet Context
- 5.7.2 Trip Pooling Example
- 5.7.3 Thread Safety
- 5.8 State Management
- 5.8.1 Example-Session Basics
- 5.8.2 Cookies
- 5.9 Event Driven Tracking
- 5.9.1 Listeners and Events
- 5.9.2 Steps
- 5.9.3 Session Tracking Example (FavConnect)
- 5.9.4 Attribute Scopes
- 5.10 Summary
- Exercises
- Project Activities
- Caselet Activity
- Chapter 6: JSP
- 6.1 A Better Way
- 6.2 Why JSP?
- 6.3 A Brief History and Background
- 6.4 Overview
- 6.5 JSP Lifecycle
- 6.5.1 JSP Service Methods
- 6.6 Elements in a JSP Page
- 6.6.1 Declarations
- 6.6.2 Directives
- 6.6.3 Scriptlets
- 6.6.4 Expressions
- 6.6.5 Transfer Control
- 6.7 Implicit JSP Objects
- 6.8 JSP Object Scopes
- 6.9 FavConnect Example Modified
- 6.10 JSP Tags
- 6.10.1 Declarations
- 6.10.2 Directives
- 6.11 JSP Exceptions
- 6.11.1 Expressions
- 6.11.2 Scriptlet
- 6.11.3 Actions
- 6.12 Expression Language (EL)
- 6.13 JSP Standard Tag Library
- 6.14 A JSP Example
- 6.15 Custom Tag Library.
- 6.16 JSP and Equivalent Technologies
- 6.17 Summary
- Exercises
- Project Activity
- Caselet Activity
- Chapter 7: The Business Layer-EJB Fundamentals
- 7.1 Layering
- 7.2 With Servlets
- 7.3 EJB Versions
- 7.4 Usage Scenarios
- 7.5 EJB Components
- 7.5.1 Session Beans
- 7.5.2 Message Driven Beans
- 7.5.3 Entity Beans
- 7.6 Lifecycle of an EJ Bean
- 7.7 A Shopping Cart-Simplified Example
- 7.8 Summary
- Exercises
- Project Activity
- Caselet Activity
- Chapter 8: XML
- 8.1 Introduction
- 8.2 The Need
- 8.3 XML Building Blocks
- 8.4 How It Works
- 8.4.1 Basic Structure
- 8.5 Characteristics
- 8.6 Scenarios for Handling XML
- 8.7 Valid XML Document
- 8.7.1 DTD
- 8.7.2 XSD-Schema
- 8.8 XML Transformations-XSL
- 8.8.1 XSLT
- 8.9 XML Parsing
- 8.9.1 SAX
- 8.9.2 DOM
- 8.9.3 Choosing Between DOM and SAX
- 8.9.4 Java Support for Parsing XML
- 8.10 JSON
- 8.11 Summary
- Exercises
- Project Activities
- Caselet Activity
- Chapter 9: Web Services
- 9.1 Tracing the Path of a Request-a Different View
- 9.2 Evolution of the Concept
- 9.3 Purpose
- 9.4 Standards
- 9.5 Use Cases
- 9.5.1 Sample Scenarios
- 9.5.2 Roles
- 9.6 Programming Models
- 9.7 SOAP Based Web Services
- 9.7.1 WSDL
- 9.7.2 SOAP
- 9.7.3 Structure of SOAP Messages
- 9.8 A Basic Example
- 9.8.1 Generating a Web Service
- 9.9 REST Based Web Services
- 9.9.1 REST Principles
- 9.9.2 Resource Orientation
- 9.10 Rest Based Web Services-An Example
- 9.10.1 Service Provider Side
- 9.10.2 The XML Document from the Service
- 9.10.3 Client Side
- 9.11 Soap vs. Rest
- 9.12 Case Study of an Online Store
- 9.12.1 Online Store Front
- 9.13 Web Services Endnote
- 9.14 Summary
- Exercises
- Project Activities
- Caselet Activity
- Appendix
- Index.