Web Programming and Internet Technologies: An E-Commerce Approach PDF Free Download

0

 

Revised and updated with the latest data from the field, Web Programming and Internet Technologies: An E-Commerce Approach, Second Edition continues to feature a hands-on and active learning approach. Written for the one-term web programming course for first or second year students, the Second Edition introduces students to the fundamental techniques of web programming through the continual development of a real-world business example. Students learn the basics of HTML5, CSS3, JavaScript, PHP, and MySQL and apply their knowledge to construct their own fully functional e-commerce site. New and Key to the Second Edition: • NEW – Updated throughout to include HTML5, CSS3, JavaScript, and PHP • NEW – Includes an introduction to responsive web design • NEW – Includes an introduction to AJAX • USER FAVORITE – Presents a real world case study in each chapter using the example of Nature’s Source, a business that sells health products online. • USER FAVORITE – Each chapter concludes with updated resources to test student comprehension, including Quick Questions to Test Your Basic Knowledge, Short Exercises to Improve Your Basic Understanding, Exercises on the Parallel Project, and What Else You May Want or Need to Know. • UPDATED – Instructor Resources including slides in PowerPoint format, answers to the end-of-chapter questions, and an expanded Test Bank. Every new, printed copy is packaged with a full suite of ancillary resources, including Navigate 2 Advantage Access that benefits BOTH the student and the Instructor! With Navigate 2, technology and content combine to expand the reach of your classroom. Whether you teach an online, hybrid, or traditional classroom-based course, Navigate 2 delivers unbeatable value. Experience Navigate 2 today at www.jblnavigate.com/2 Click here for Errata – http://cs.smu.ca/webbook2e/errata.html

 

Table of contents

Cover
Title
Copyright
Table of Contents
Preface
Typographic and Other Conventions
1 Setting the Scene
1.1 What Is the Internet?
1.2 What Is the World Wide Web?
1.3 What Is Meant by a Client-Server Architecture?
1.4 How Do Web Browsers and Web Servers Fit the Client-Server Model?
1.5 How Do Web Browsers and Web Servers Communicate?
1.5.1 Web Protocols and Layered Communication Architectures
1.5.2 Web Addresses and Address Resolution via DNS
1.5.3 URLs, URNs, and URIs
1.6 A Real-World E-Commerce Website
1.7 The Technologies We Will Discuss
1.8 Some Alternative Technologies and Additional Tools
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
2 Establishing a Web Presence
2.1 What Is an Internet Service Provider (ISP)?
2.2 What Tools Will You Need to Begin Your Web Development?
2.3 How Do You Create a Simple, Static Web Page?
2.4 How Do You Test a Web Page “Offline” before “Going Online”?
2.5 How Do You “Go Live” on the Web Once You’re Ready?
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
3 HTML for Content Structure
3.1 The Long Road to HTML5, the New Norm
3.2 A Very Important Distinction: Structure vs.Presentation
3.3 HTML Tags and Elements
3.4 The Basic Structure of Every Web Page
3.5 Some Basic Markup: Headings, Paragraphs, Line Breaks, and Lists
3.6 What Does It Mean for a Web Page to Be Valid?
3.7 How Can We Determine if a Web Page Is Valid?
3.8 Validating with the Firefox Web Developer Add-on
3.9 Tables, Images, and Tag Attributes
3.10 HTML Entities
3.11 Adding More Web Pages to Our Site and Connecting Them with Hyperlinks
3.11.1 A Menu of Hyperlinks
3.11.2 Our Site Now Has Many Pages
3.11.3 Beware the “Legacy Fix”!
3.12 Using Server-Side Includes (SSI) to Make Common Markup Available to Multiple Documents
3.12.1 The “Maintenance Nightmare” Problem
3.12.2 Identifying and Extracting Common Markup
3.12.3 Using SSI to Include Common Markup Where Needed
3.12.4 One Thing Leads to Another: A Second Problem
3.12.5 The base Tag Solves Our Second Problem
3.12.6 Our Revised Site Looks and Behaves Exactly Like the Previous Version
3.13 The New HTML5 Semantic Elements
3.13.1 Block-level Elements and Inline-level Elements
3.13.2 Semantic Elements and Non-Semantic Elements
3.13.3 Two More Legacy Elements: div and span
3.13.4 New Semantic Elements in HTML5
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
4 CSS for Content Presentation
4.1 The Rationale for CSS, and a Brief History
4.2 Simple CSS Style Rules and Their Syntax
4.3 The Placement of CSS Style Rules
4.4 A Simple Example
4.5 Some Basic CSS Markup: More on Selectors, Declarations, Properties, and Property Values
4.6 Some Common Types of CSS Property Values and Their Formats
4.6.1 Specifying Measurement Property Values
4.6.2 Specifying Color Property Values
4.6.3 The Important Takeaway from This Section
4.7 CSS Style Sheet Structure, Comments, and Formatting
4.8 The HTML class and id Attributes and the Non-Semantic HTML div and span Elements
4.8.1 The HTML class and id Attributes (CSS class and id Selectors)
4.8.2 The HTML div and span Elements
4.8.3 Using Our Class Definitions
4.9 Inheritance and the Cascade
4.9.1 Inheritance
4.9.2 The “Cascade” and Resolution of Style Conflicts
4.9.3 Applying the Theory to Our Example
4.10 Validating Our CSS Style Sheets
4.11 The CSS Box Model and Simple CSS Page Layout
4.11.1 The CSS Box Model: A Conceptual View
4.11.2 The CSS Box Model: A Detailed Example
4.11.3 Simple CSS Page Layout with float and clear via the “Legacy” Approach with div Elements
4.11.4 Simple CSS Page Layout with float and clear via the “Modern” Approach with HTML5 Semantic Elements
4.12 CSS Reset: A “Best Practice”
4.13 Styling Our Nature’s Source Website with CSS (Four Versions, Illustrating CSS3, Simple “Responsive Design”, and the New HTML5 video Element)
4.13.1 Version 1: A Simple Home Page Only
4.13.2 Version 2: A Multipage Site with Menu and Footer
4.13.3 Version 3: A Revision of Version 2 Incorporating Some CSS3 and Illustrating Simple “Responsive Design”
4.13.4 Version 4: A Copy of Version 3 with the Home Page Image Replaced by a Home Page Video
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
5 HTML Forms for Data Collection
5.1 Web Forms Collect User Input Data in a Browser for Transfer to a Server for Processing
5.2 The form Element
5.2.1 A Brief Aside, a Reminder, and Some Good Advice
5.2.2 How Will We Deal with CSS from Now On?
5.3 The input Element
5.3.1 Textboxes (input Elements of Type text)
5.3.2 Radio Buttons (input Elements of Type radio)
5.3.3 Checkboxes (input Elements of Type checkbox)
5.4 The select and option Elements for Dropdown List-boxes
5.5 What Is Missing from the BMI Calculator Web Page?
5.6 The textarea Element
5.7 The submit and reset Button Elements
5.8 Organizing Form Controls with the fieldset and legend Elements
5.9 Using the label Element for Behind-the-Scenes Logical Groupings
5.10 Getting Ready to Submit Your Form Data
5.11 HTML5 Form Controls
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
6 JavaScript for Client-Side Computation and Form Data Validation
6.1 Another Important Distinction: Structure vs. Presentation vs. Behavior
6.2 What Is JavaScript? (It’s not Java!)
6.2.1 JavaScript Is Interpreted, Not Compiled
6.2.2 Restrictions on What JavaScript Can Do
6.2.3 How Will We Use JavaScript?
6.3 The Placement of JavaScript Code
6.4 A Simple Example in Four Versions
6.4.1 Version 1: No JavaScript
6.4.2 Version 2: Embedded JavaScript and document.write ( )
6.4.3 Version 3: Linking to an External JavaScript File
6.4.4 Version 4: Another External Script, the alert ( ) Method, and Escape Characters
6.5 What Is the Document Object Model (DOM)?
6.6 JavaScript and the DOM Interact to Process Our BMI Form
6.6.1 A First Programmer-Defined JavaScript Function: Function Syntax
6.6.2 JavaScript Variables
6.6.3 Accessing a DOM Element via Its id Attribute
6.6.4 Making Decisions with the JavaScript if-else Statement
6.6.5 Accessing a DOM Element via Its name Attribute
6.7 The Importance of Website Security and How JavaScript Can Help
6.8 JavaScript and the DOM Interact to Validate Our BMI Form Data
6.8.1 Simple JavaScript Arrays, and the options Array of a select Element
6.8.2 Getting the Height and Weight Units Chosen by the User
6.8.3 Getting the User’s Height and Weight Values, and Email Address
6.8.4 Calling Functions to Validate Height, Weight, and Email Values
6.8.5 Logical Operators and Compound Boolean Expressions
6.8.6 Relational Operators and Functions for Validating Height and Weight Values
6.8.7 Simple Regular Expressions and a Function for Validating an Email Address
6.9 JavaScript and the DOM Interact to Compute a BMI Value
6.9.1 Numerical Calculations: Three Functions Compute the BMI Value
6.9.2 Setting the Precision of the BMI Value and Displaying a Detailed Report
6.10 Regular Expressions in JavaScript and in HTML5
6.11 JavaScript and the DOM Interact to Validate Our Feedback Form Data
6.11.1 Validating First and Last Names
6.11.2 Validating Telephone Numbers
6.11.3 Validating Email Addresses
6.12 The Modernizr Tool and HTML5 Form Controls
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
7 JavaScript for Client-Side Content Behavior
7.1 Enhancing Our Website with a Home Page “Slide Show” of Rotating Images and Dropdown Menu Options on Every Page
7.2 Implementing Our “Slide Show” of Rotating Images
7.2.1 The onload Attribute of the body Element: Starting the Slide Show after the Home Page Loads
7.2.2 The Revised img Element for the Slide Show
7.2.3 The rotate.js Script
7.3 Implementing Our Dropdown Menus
7.3.1 An Overview of How Our Dropdown Menus Work
7.3.2 The onmouseover and onmouseout Attributes: Showing and Hiding Dropdown Menu Options
7.3.3 The CSS for Our Dropdown Menus
7.3.4 The JavaScript for Our Dropdown Menus: The show ( ) and hide ( ) Functions
7.4 Notes on the nature2 Version of Our Nature’s Source Website
7.4.1 What’s New in Our BMI Form?
7.4.2 What’s New in Our Feedback Form?
7.4.3 What’s Different about the nature2 Markup for Our Menu Bar?
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
8 PHP for Server-Side Preprocessing
8.1 Some PHP History
8.2 PHP as a Server-Side Scripting Language
8.3 PHP Script Structure and General Syntax: A Simple First Example
8.3.1 The PHP date ( ) Function
8.3.2 Generating and Displaying the Output from welcome.php
8.4 Why We Need AJAX and How We Use It: Two More Examples
8.4.1 What Is AJAX?
8.4.2 A Problem We Need to Solve: A “Page Refresh” Example
8.4.3 The Solution to Our Problem: An AJAX Example
8.5 Incorporating the Welcome Message into Our Home Page with AJAX
8.6 Understanding the GET and POST “Methods”
8.6.1 An Example Illustrating the GET Method
8.6.2 An Example Illustrating the POST Method
8.6.3 An Example Illustrating That a Form Is Unnecessary and GET Is the Default
8.6.4 Guidelines for Using GET and POST
8.7 Implementing the Server-Side Functionality of Our Feedback Form
8.7.1 What Happens When the User Clicks Send Feedback
8.7.2 Uploading the Feedback Form Data from the Client to the Server
8.7.3 An Overview of the PHP Code That Processes the Feedback Form Data
8.7.4 Building the Feedback Message to the Business with PHP String Literals and the $_POST Array Values
8.7.5 Sending an Email Feedback Message to the Business with PHP’s mail ( ) Function
8.7.6 Modifying the Previous Message to the Business to Get One Suitable for the Client
8.7.7 Sending an Email Feedback Confirmation Message to the Client with PHP’s mail ( ) Function
8.7.8 Returning a Browser Display to the User for Immediate Confirmation of Feedback Submission
8.7.9 Saving the User’s Feedback on the Server with PHP File Output
8.8 Revising the Implementation of Our BMI Calculator to Calculate Server-Side
8.8.1 What Happens When the User Clicks Compute your BMI
8.8.2 Uploading the BMI Form Data from the Client to the Server
8.8.3 An Overview of the “Driver” Script That Processes the BMI Form Data
8.8.4 Building the BMI Report Message with Programmer-Defined PHP Functions
8.8.5 Computing the BMI Value: Numerical Computations in PHP, and More Programmer-Defined Functions
8.8.6 Building and Sending an HTML-Encoded Email BMI Report to the User with Another Programmer-Defined Function
8.9 PHP Development and Testing
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
9 MySQL for Server-Side Data Storage
9.1 Relational Databases
9.2 Database Design Goals
9.3 Some Architectural Aspects of a “Good” Database
9.3.1 Database Normalization
9.3.2 Database Keys: Primary and Foreign, Natural and Surrogate, Simple and Composite
9.3.3 Functional Dependencies and 2NF
9.3.4 Table Relationships in a Database
9.3.5 Some General Advice
9.4 Make Use of Online Resources and Don’t Reinvent the Wheel
9.5 The Data Model for Our Nature’s Source Database
9.6 MySQL, phpMyAdmin, and SQL
9.7 Using phpMyAdmin and SQL to Set Up the MySQL Database for Our Nature’s Source Website
9.7.1 The CREATE Command
9.7.2 The ALTER Command
9.7.3 The DROP Command
9.7.4 The INSERT Command
9.7.5 The LOAD Command
9.7.6 The UPDATE Command
9.7.7 A First Look at the SELECT Command
9.7.8 The DELETE Command
9.7.9 The TRUNCATE Command
9.7.10 Inventory Management Systems
9.8 MySQL’s Command-Line Interface
9.8.1 A First Session with the Command-Line Interface
9.8.2 A Closer Look at the SELECT Command
9.8.3 Restricting the Set of Records from Which We Retrieve Our Data
9.8.4 Retrieving Data from More Than One Table with a Join
9.9 Importing and Exporting Tables and Databases
9.9.1 Copying a Table or Part of a Table
9.9.2 Copying an Entire Database
9.9.3 Potential Problem with Importing via phpMyAdmin
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
10 PHP and MySQL for Client-Server Database Interaction
10.1 PHP and MySQL
10.2 Registration
10.2.1 Getting Valid Registration Form Data from the User
10.2.2 Submitting the Form Data: Possible Outcomes
10.2.3 Actual Processing of the Registration, with Valid Form Data
10.3 Logging In and Logging Out
10.3.1 PHP Sessions Revisited: We Need to Know More about Them
10.3.2 PHP Arrays Revisited: We Need to Know More about Them
10.3.3 Logging In: The Logic of loginForm.php
10.3.4 Logging Out: The Logic of logout.php
10.4 An E-Store Session after a Successful Login
10.5 Browsing Our E-Store Product Catalog
10.5.1 Displaying a Two-Column List of Products
10.5.2 Displaying Individual Products within a Category
10.6 Purchasing Products
10.6.1 The pages/shoppingCart.php Script
10.6.2 A High-Level View of the scripts/shoppingCartProcess.php Script
10.6.3 Reviewing the Relevant Tables in Our Nature’s Source Database Structure
10.6.4 Getting the Product Details of an Existing Order with getExistingOrder ( )
10.6.5 Creating a New Order with createOrder ( )
10.6.6 Displaying the Header of the Shopping Cart Table with displayHeader ( )
10.6.7 Displaying the Product Information in the Shopping Cart withFirstFourColumns ( ), displayExistingItemColumns ( ), and displayNewItemColumns ( )
10.6.8 Displaying the Footer of the Shopping Cart Table with displayFooter ( )
10.6.9 Adding an Item to the Shopping Cart with shoppingCartAddItem.php
10.6.10 Deleting an Item from the Shopping Cart with shoppingCartDeleteItem.php
10.7 Checkout
10.7.1 Displaying a Customer Receipt and Updating Our Database
10.7.2 Updating Our Database
10.7.3 Performing Some “Cleanup” During Logout
10.8 Some Utility Files for Use at the MySQL Command-Line Interface
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
11 XML (eXtensible Markup Language) for Data Description
11.1 The Basic Rules of XML
11.2 Describing Our Data with Well-Formed XML
11.2.1 Nested Elements vs. Tag Attributes
11.2.2 And What Does It Mean for Our XML to Be “Well-Formed”?
11.3 Viewing Our Raw (Unstyled) XML Data in a Browser
11.3.1 What Happens If Our XML Document Is Not Well-Formed?
11.4 Validating Our XML Data with a Document Type Definition
11.4.1 Connecting an XML Document to Its DTD: DOCTYPE Revisited
11.4.2 A Simple DTD Anatomy Lesson
11.4.3 More DTD Anatomy
11.4.4 Do You Really Need a DTD for Your XML Document?
11.4.5 Validating Your XML Document Against Your DTD, If You Have One
11.5 Styling Our XML Data with CSS
11.6 Isolating Our XML Tag Sets within XML Namespaces
11.7 Transforming Our XML Data with XSL, XSLT, and XPath
11.7.1 How Does XSLT Compare with CSS for Styling?
11.7.2 Our Example in Detail: How Does XSLT Use XML Namespaces and XPath to Do Its Job?
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You May Want or Need to Know
References
12 Collecting, Analyzing, and Using Visitor Data
12.1 Web-Server Access Logs
12.1.1 Format of Web-Server Access Logs
12.1.2 An Extended Log-File Format
12.1.3 An Example: Apache Web-Server Access Log Entries
12.2 Analysis of Web-Server Access Logs
12.2.1 Summarization of Web-Server Access Logs Using Analog
12.2.2 Clickstream Analysis: Studying Navigation Paths with Pathalizer
12.2.3 Visualizing Individual User Sessions with StatViz
12.3 Caution in Interpreting Web-Server Access Logs
Summary
Quick Questions to Test Your Basic Knowledge
Short Exercises to Improve Your Basic Understanding
Exercises on the Parallel Project
What Else You Might Want or Need to Know
References
Index

 

Product information

ASIN‏:‎1284070689
Publisher‏:‎Jones & Bartlett Learning; 2nd edition (September 22, 2016)
Language‏:‎English
Paperback‏:‎580 pages
ISBN-10‏:‎9781284070682
ISBN-13‏:‎978-1284070682
Item Weight‏:‎1.75 pounds
Dimensions‏:‎6.01 x 9 inches
1284070689

 

Download Web Programming and Internet Technologies: An E-Commerce Approach Pdf Free:

You can easily download Web Programming and Internet Technologies: An E-Commerce Approach PDF by clicking the link given below. If the PDF link is not responding, kindly inform us through comment section. We will fixed it soon.

Click here to download

 NOTE: We do not own copyrights to these books. We’re sharing this material with our audience ONLY for educational purpose. We highly encourage our visitors to purchase original books from the respected publishers. If someone with copyrights wants us to remove this content, If you feel that we have violated your copyrights, then please contact us immediately. please contact us. or Email: [email protected]

Leave A Reply

Your email address will not be published.

three × four =