Contents. Acknowledgments

Similar documents
This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

Developing Web Applications

COPYRIGHTED MATERIAL. Contents. Chapter 1: Introducing Microsoft Expression Web 1. Chapter 2: Building a Web Page 21. Acknowledgments Introduction

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

Web Site Development with HTML/JavaScrip

The 4D Web Companion. David Adams

A Web-Based Introduction

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Static Webpage Development

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

GRAPHIC WEB DESIGNER PROGRAM

Sections and Articles

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

AIM. 10 September

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

Alpha College of Engineering and Technology. Question Bank

Fundamentals of Web Development. Web Development. Fundamentals of. Global edition. Global edition. Randy Connolly Ricardo Hoar

Shankersinh Vaghela Bapu Institue of Technology

Creating Web Pages with HTML-Level III Tutorials HTML 6.01

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of

Website Designing Training

1.7 Uniform Resource Identifiers and Domain Names 13 URIs and URLs 13 Domain Names 13

Setting Up a Development Server What Is a WAMP, MAMP, or LAMP? Installing a WAMP on Windows Testing the InstallationAlternative WAMPs Installing a

IT6503 WEB PROGRAMMING. Unit-I

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING

1Site Development Foundations Objectives and Locations

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

"Charting the Course... SharePoint 2007 Hands-On Labs Course Summary

SOFTRONIICS Call:

Django with Python Course Catalog

SUB Gfittingen A nd Editi S«BEX- SAN FRANCISCO PARIS DUSSELDORF SOEST LONDON

Jim Jackson II Ian Gilman

Web Applications Development

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE

Excel Programming with VBA (Macro Programming) 24 hours Getting Started

C# Programming: From Problem Analysis to Program Design. Fourth Edition

CERTIFICATE IN WEB PROGRAMMING

Beginning ASP.NET. 4.5 in C# Matthew MacDonald

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

"Charting the Course to Your Success!" MOC D Querying Microsoft SQL Server Course Summary

Java.. servlets and. murach's TRAINING & REFERENCE 2ND EDITION. Joel Murach Andrea Steelman. IlB MIKE MURACH & ASSOCIATES, INC.

CHAPTER 1: INTRODUCING C# 3

Web Portfolio Design and Applications

Course Outline Advanced Web Design

Course Outline Advanced Web Design

PHP CURRICULUM 6 WEEKS

1.2 Wicket in a nutshell 10 Just Java 11 Just HTML 12 The right abstractions 13

Programming the World Wide Web by Robert W. Sebesta

"Charting the Course... MOC A: Developing with the SharePoint Framework. Course Summary

World Wide Web PROGRAMMING THE PEARSON EIGHTH EDITION. University of Colorado at Colorado Springs

20486-Developing ASP.NET MVC 4 Web Applications

Course title: WEB DESIGN AND PROGRAMMING

Table of Contents. Introduction... xxi

PHP + ANGULAR4 CURRICULUM 6 WEEKS

Overview

Basics of Web Technologies

CORE PHP CURRICULUM. Introductory Session Web Architecture Overview of PHP Platform Origins of PHP in the open source community

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

CONTENTS IN DETAIL INTRODUCTION 1 THE FAQS OF LIFE THE SCRIPTS EVERY PHP PROGRAMMER WANTS (OR NEEDS) TO KNOW 1 2 CONFIGURING PHP 19

CS Final Exam Review Suggestions - Spring 2018

Dreamweaver MX The Basics

2 Webpage Markup with HTML HTML5 Page Structure Creating a Webpage HTML5 Elements and Entities

PHP & My SQL Duration-4-6 Months

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

About the Authors. Preface

Contents in Detail. Foreword by Xavier Noria

"Charting the Course... WebSphere Portal 8 Development using Rational Application Developer 8.5. Course Summary

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Designing for Web Using Markup Language and Style Sheets

Acknowledgments... xix

Developing Applications with Java EE 6 on WebLogic Server 12c

Modules, Details & Fees. Total Modules- 25 (highest in Industry) Duration- 2-5Months Full Course Fees- 30, (Pay in two Installments *2)

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

"Charting the Course... Intermediate PHP & MySQL Course Summary

IT2353 WEB TECHNOLOGY Question Bank UNIT I 1. What is the difference between node and host? 2. What is the purpose of routers? 3. Define protocol. 4.

Overview 14 Table Definitions and Style Definitions 16 Output Objects and Output Destinations 18 ODS References and Resources 20

PROFESSIONAL TRAINING

ABOUT WEB TECHNOLOGY COURSE SCOPE:

Tennessee. Trade & Industrial Course Web Page Design II - Site Designer Standards. A Guide to Web Development Using Adobe Dreamweaver CS3 2009

All Adobe Digital Design Vocabulary Absolute Div Tag Allows you to place any page element exactly where you want it Absolute Link Includes the

Get in Touch Module 1 - Core PHP XHTML

INSTITUTE OF TECHNOLOGY AND ADVANCED LEARNING SCHOOL OF APPLIED TECHNOLOGY COURSE OUTLINE ACADEMIC YEAR 2012/2013

Techno Expert Solutions An institute for specialized studies! 0.20 hrs hrs. 2 hrs

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

TUTORIAL QUESTION BANK

HTML5 and CSS3 for Web Designers & Developers

Unit code: J/601/1286 QCF Level 4: BTEC Higher National Credit value: 15

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

Murach s Beginning Java with Eclipse

Notes General. IS 651: Distributed Systems 1

Contents. iii Copyright 1998 Sun Microsystems, Inc. All Rights Reserved. Enterprise Services August 1998, Revision B

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Advanced Joomla! Dan Rahmel. Apress*

Web Standards Mastering HTML5, CSS3, and XML

Course Curriculum Accord info Matrix Pvt.Ltd Page 1 of 7

UI Course HTML: (Html, CSS, JavaScript, JQuery, Bootstrap, AngularJS) Introduction. The World Wide Web (WWW) and history of HTML

HTML CSS JAVASCRIPT WEB PUBLISHING IN ONE HOUR A DAY SAMS TEACH YOURSELF COVERING HTML5 CSS3 AND JQUERY 7TH EDITION

Oracle BPM 10g R3 Programming 1 Essentials

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

Transcription:

Contents Acknowledgments Introduction Why Another Book About Web Application Development? How Is This Book Arranged? Intended Audience Do I Need to Start from Scratch? Choosing Development Tools Summary v xvii xvii xvii xix xix xx xx 1: An Introduction to Browser-Based Applications 1 Additional Languages 2 What Is a Client? 3 What Is a Browser? 3 What Is HTML? 3 What Is a Web Server? 4 What Database(s) Are Used? 4 Where Can I Find Sample Code? 4 The Development Process 4 IT Staff 5 Platforms 6 Devices 7 Ajax 7 SOA 8 Web Services 9 Other Languages 10 Fear of Web Technology 10 Expanding Your Skill Set 11 The Job Market 12 Outsourcing 13 Summary 14 Key Terms 14 Discussion/Review Questions 15 Exercises 15

viii Developing Business Applications for the Web 2: An Introduction to HTML 17 Why Learn HTML? 17 What Is HTML All About? 18 HTML5 18 A Basic HTML Page 18 Block-Level and Text-Level Elements 25 Block-Level Elements 25 Text-Level Elements 34 Structural Elements 39 HTML5 Structural Elements 42 Updated Sample Page 45 Summary 47 Key Terms 47 Discussion/Review Questions 47 Exercises 48 3: Using Cascading Style Sheets 49 What Is CSS? 49 How Cascading Style Sheets Work 50 Applying Style Sheets to Web Pages 52 Creating an Inline Style Sheet 53 Creating an Embedded Style Sheet 53 Creating an External Style Sheet 55 Importing Style Sheets 58 Exploring CSS Style Rules and Properties 59 How Do You Style Text Using CSS? 59 What Properties Control the Arrangement of an Element? 63 What Properties Control the Display of an Element? 67 What Properties Control the Background of an Element? 73 What Properties Control the Appearance of Elements? 75 Defining Style Classes 78 How Do Elements Inherit Properties from a Parent Element? 79 What Is an ID? 85 What You Can Do with a Cascading Style Sheet 86 Summary 91 Key Terms 91 Discussion/Review Questions 91 Exercises 92

Contents ix 4: Adding Links and Anchors 93 How to Place a Link on a Page 93 How Links Affect Search Engines 95 Deep Linking 96 How to Use Anchors 96 Types of Hyperlinks 99 Other Kinds of Links 100 Mailto Drawbacks 102 Using an FTP Link 102 Using Invisible Links 103 What About Our Example Page? 105 Summary 117 Key Terms 117 Discussion/Review Questions 117 Exercises 118 5: Visual Elements and Web Multimedia 119 Video Graphics Overview 119 Types of Image Files 120 Incorporating Images into Web Pages 122 Creating Image Hyperlinks 127 Image Maps 128 Tools for Working with Images 132 The Dos and Don ts of Working with Image Files 133 Web Multimedia 133 Embedding Audio on Web Pages 133 Embedding Videos on Web Pages 137 Embedding Videos with the <video> Element 138 Embedding Videos with the <embed> Element 141 Embedding Videos with the <object> Element 143 What About Our Example Page? 144 Summary 147 Key Terms 147 Discussion/Review Questions 148 Exercises 148

x Developing Business Applications for the Web 6: Arranging Content 149 Content-Arrangement Methods 149 The Purpose of Arranging Content 149 Tell Potential Customers About Your Company 150 Generate Sales Leads 150 Sell a Product 150 Communicate with Business Partners 151 Provide Resources 151 A Web Page Structure 151 Tables 151 Screen Readers 161 Columns and Column Groups 163 Nested Tables 166 Frames 168 Inline Frames 168 Web Forms 170 What About Our Example Page? 173 Summary 176 Key Terms 177 Discussion/Review Questions 177 Exercises 177 7: Web Application Overview 179 Getting Familiar with Web Applications for Business 179 Components of a Web Application System 180 The Client 180 The Browser 181 HTML 181 The Web Server 181 The Application Servers 183 Business Web Application Software 183 The Database 187 Website Design 188 Performance 191 Reusing Legacy Code 193 APIs 194 Stored Procedures 194 User-defined Functions 196 Conversion Tools 197 Security 198 Security Practices 199

Contents xi Coding for Security 200 Security Policy 201 Password Protection 202 Securing Data 202 Server Security 202 Web Hosting 203 Summary 204 Key Terms 205 Discussion Review/Questions 205 Exercises 206 8: Incorporating JavaScript 207 Introduction to JavaScript 207 JavaScript Compared to Other Tools 208 JavaScript Versus Server-side Scripting 208 JavaScript Versus VBScript 209 JavaScript s Advantages and Disadvantages 209 What Can JavaScript Do? 210 Syntax 210 Case-sensitivity 210 Comments 210 Identifiers 211 Reserved Words 211 Semicolons 212 Whitespace 212 How to Put JavaScript into an HTML Page 212 JavaScript Code Placement 213 Using an External JavaScript File 214 Breaking Up a Text String 215 Variables 215 Data Types 216 Boolean 216 Numbers 216 Strings 216 Operators 217 Operator Precedence 219 Statements 222 Conditional Statements 223 Expression Statements 227 Loops 232 Functions 236

xii Developing Business Applications for the Web Catching Errors 242 Objects 245 Date Objects 248 The Boolean Object 252 Math Objects 253 JavaScript Arrays 254 Array Methods 256 Events 258 Event Handlers 258 Onclick 259 Onmousedown 260 Onerror 261 Cookies 263 JavaScript Form Validation 265 Summary 277 Key Terms 277 Discussion/Review Questions 278 Exercises 278 9: Web Development with PHP 279 Introduction to PHP 279 PHP Compared with Other Tools 280 PHP Versus JavaScript 280 PHP Versus ASP.NET 280 PHP Versus Java 281 PHP s Advantages and Disadvantages 282 Introduction to PHP 283 What Can PHP Do? 284 Preparing for PHP 284 Basic PHP Syntax 285 Tags 285 Statement Terminator 285 Comments 286 Echo 286 Variables 286 Expressions 287 Data Types 288 Operators 289 Conditional Statements 291 If Statements 291 The Switch Statement 294

Contents xiii Loops 295 While Loops 295 For Loops 297 Arrays 299 Multidimensional Arrays 301 Functions 302 Getting Down to Business with PHP 306 Cookies 306 Date/Time 308 Email 311 Email Injection Attacks 314 PHP Error Handling 317 Logging Errors 318 Error-handling Components 319 A Custom Error-handler 320 Filters 322 Forms 324 Sessions 326 Working with Data 327 Summary 342 Key Terms 342 Discussion/Review Questions 342 Exercises 343 10: Web Development with ASP.NET 345 ASP.NET Compared with Other Tools 345 ASP.NET Is Now Open Source 345 ASP.NET Versus PHP 346 ASP.NET Versus Java 346 ASP.NET Versus CGI 346 ASP.NET s Advantages and Disadvantages 346 ASP.NET Processing 347 What Tools to Use 349 Server Information 354 Writing VBScript in Your Web Pages 355 Where to Place VBScript Code 356 ASP.NET Page Directives 357 Defining Variables 362 Using Arrays 363 Defining Subprocedures 363 Defining Functions 365

xiv Developing Business Applications for the Web Built-in Functions 367 If Statements 371 And/Or/Not Logical Operators 373 Short-Circuit Logical Operators 374 Select Case Statements 375 For Next/Each Loops 376 While/Do While/Until Loops 379 ASP.NET Code to Create a Simple Table 381 Section 1 of 3 386 Section 2 of 3 387 Section 3 of 3 388 Creating a More Advanced Table 390 Updating Data in a Database 395 Connecting to SQL Server 405 Summary 405 Key Terms 405 Discussion/Review Questions 405 Exercises 406 11: JavaServer Pages 409 JSP Overview 409 What JSP Is Used for 410 JSP s Advantages and Disadvantages 411 What You Need to Use JavaServer Pages 412 A Simple JSP Script 412 JSP Syntax Summary 413 Template Text 415 Scripting Elements 415 JSP Directives 419 JSP Actions 423 JSP Implicit Objects 433 JSP Standard Tag Libraries 436 Cookies 441 Accessing a Database 444 Displaying Database Records 444 Adding Data to a Database 449 Updating a Database 455 Exception Handling 469 Summary 474 Key Terms 474 Discussion/Review Questions 475 Exercises 475

Contents xv 12: Handling Browser Differences 477 What Is a Web Browser? 478 Browser Background and History 478 W3C Standards and Guidelines 479 Addressing Differences in Common Browsers 480 Browser Issues to Consider 480 Website Audience 481 Language 482 Common Browsers 486 Hardware 487 Monitor Settings 488 Operating System Support 490 Internet Connection Speed 491 Image Format Support 491 Minimizing the Impact of Different Browsers 492 Keep It Simple 492 Use Dynamic Components Carefully 493 Avoid Too Much Control 493 Browser Detection/Capability Testing 493 Summary 494 Key Terms 494 Discussion/Review Questions 495 Exercises 495 13: SEO and SMO for Web Pages 497 Search Engines 497 What Is a Search Engine? 498 How Does a Web Search Engine Work? 500 Specialized Search Engines 505 Search Engine Optimization (SEO) 507 PageRank 508 Keyword Positions 509 Meta Tags 509 Page Title 512 Text Links and Image Links 514 URLs 518 TrustRank 518 External Links 518 Page Content Matters 520 Avoid Spamming 521 Consultants and Paid Rankings 521 Submitting Key Pages to a Search Engine 521

xvi Developing Business Applications for the Web Social Media Optimization (SMO) 522 Summary 523 Key Terms 523 Discussion/Review Questions 523 Exercises 524 14: Best Practices 525 Focus on the Site s Objective 525 Structure Your Site 525 Avoid the Cutting Edge 527 Use CSS 527 Address Coding Issues 527 Coding to Specifications and Standards 528 Code Checkers and Validators 528 Use Accepted Coding Standards and Techniques 529 Documentation 529 JavaScript Support Coding 530 Fonts 532 Text 533 Test the Website and Code 533 Summary 535 Key Terms 535 Discussion/Review Questions 536 Exercises 536 Index 537