0%

Book Description

Speak the languages that power the web 

With more high-paying web development jobs opening every day, people with coding and web/app building skills are having no problems finding employment. If you’re a would-be developer looking to gain the know-how to build the interfaces, databases, and other features that run modern websites, web apps, and mobile apps, look no further. Web Coding & Development All-in-One For Dummies is your go-to interpreter for speaking the languages that handle those tasks.

Get started with a refresher on the rules of coding before diving into the languages that build interfaces, add interactivity to the web, or store and deliver data to sites. When you're ready, jump into guidance on how to put it all together to build a site or create an app.

  • Get the lowdown on coding basics
  • Review HTML and CSS
  • Make sense of JavaScript, jQuery, PHP, and MySQL
  • Create code for web and mobile apps

There’s a whole world of opportunity out there for developers—and this fast-track boot camp is here to help you acquire the skills you need to take your career to new heights!

Table of Contents

  1. Cover
  2. Introduction
    1. About This Book
    2. Foolish Assumptions
    3. Icons Used in This Book
    4. Beyond the Book
  3. Book 1: Getting Ready to Code for the Web
    1. Chapter 1: How Web Coding and Development Work
      1. The Nuts and Bolts of Web Coding and Development
      2. Understanding the Front End: HTML and CSS
      3. Understanding the Back End: PHP and MySQL
      4. How It All Fits Together: JavaScript and jQuery
      5. How Dynamic Web Pages Work
      6. What Is a Web App?
      7. What Is a Mobile Web App?
      8. What’s the Difference between Web Coding and Web Development?
    2. Chapter 2: Setting Up Your Web Development Home
      1. What Is a Local Web Development Environment?
      2. Do You Need a Local Web Development Environment?
      3. Setting Up the XAMPP for Windows Development Environment
      4. Setting Up the XAMPP for OS X Development Environment
      5. Choosing Your Text Editor
    3. Chapter 3: Finding and Setting Up a Web Host
      1. Understanding Web Hosting Providers
      2. A Buyer’s Guide to Web Hosting
      3. Finding a Web Host
      4. Finding Your Way around Your New Web Home
  4. Book 2: Coding the Front End, Part 1: HTML & CSS
    1. Chapter 1: Structuring the Page with HTML
      1. Getting the Hang of HTML
      2. Understanding Tag Attributes
      3. Learning the Fundamental Structure of an HTML5 Web Page
      4. Some Notes on Structure versus Style
      5. Applying the Basic Text Tags
      6. Creating Links
      7. Building Bulleted and Numbered Lists
      8. Inserting Special Characters
      9. Inserting Images
      10. Carving Up the Page
    2. Chapter 2: Styling the Page with CSS
      1. Figuring Out Cascading Style Sheets
      2. Getting the Hang of CSS Rules and Declarations
      3. Adding Styles to a Page
      4. Styling Page Text
      5. Working with Colors
      6. Getting to Know the Web Page Family
      7. Using CSS Selectors
      8. Revisiting the Cascade
    3. Chapter 3: Sizing and Positioning Page Elements
      1. Learning about the CSS Box Model
      2. Styling Sizes
      3. Adding Padding
      4. Building Borders
      5. Making Margins
      6. Getting a Grip on Page Flow
      7. Floating Elements
      8. Positioning Elements
    4. Chapter 4: Creating the Page Layout
      1. What Is Page Layout?
      2. Laying Out Page Elements with Floats
      3. Laying Out Page Elements with Inline Blocks
      4. Making Flexible Layouts with Flexbox
      5. Shaping the Overall Page Layout with CSS Grid
      6. Providing Fallbacks for Page Layouts
  5. Book 3: Coding the Front End, Part 2: JavaScript
    1. Chapter 1: An Overview of JavaScript
      1. JavaScript: Controlling the Machine
      2. What Is a Programming Language?
      3. Is JavaScript Hard to Learn?
      4. What Can You Do with JavaScript?
      5. What Can’t You Do with JavaScript?
      6. What Do You Need to Get Started?
      7. Basic Script Construction
      8. Adding Comments to Your Code
      9. Creating External JavaScript Files
    2. Chapter 2: Understanding Variables
      1. What Is a Variable?
      2. Naming Variables: Rules and Best Practices
      3. Understanding Literal Data Types
      4. JavaScript Reserved Words
      5. JavaScript Keywords
    3. Chapter 3: Building Expressions
      1. Understanding Expression Structure
      2. Building Numeric Expressions
      3. Building String Expressions
      4. Building Comparison Expressions
      5. Building Logical Expressions
      6. Understanding Operator Precedence
    4. Chapter 4: Controlling the Flow of JavaScript
      1. Understanding JavaScript’s Control Structures
      2. Making True/False Decisions with if() Statements
      3. Branching with if()…else Statements
      4. Making Multiple Decisions
      5. Understanding Code Looping
      6. Using while() Loops
      7. Using for() Loops
      8. Using do…while() Loops
      9. Controlling Loop Execution
      10. Avoiding Infinite Loops
    5. Chapter 5: Harnessing the Power of Functions
      1. What Is a Function?
      2. The Structure of a Function
      3. Where Do You Put a Function?
      4. Calling a Function
      5. Passing Values to Functions
      6. Returning a Value from a Function
      7. Understanding Local versus Global Variables
      8. Using Recursive Functions
    6. Chapter 6: Working with Objects
      1. What Is an Object?
      2. The JavaScript Object Hierarchy
      3. Manipulating Object Properties
      4. Working with Object Methods
      5. Playing Around with the window Object
      6. Programming the document Object
    7. Chapter 7: Working with Arrays
      1. What Is an Array?
      2. Declaring an Array
      3. Populating an Array with Data
      4. Creating Multidimensional Arrays
      5. Using the Array Object
    8. Chapter 8: Manipulating Strings, Dates, and Numbers
      1. Manipulating Text with the String Object
      2. Dealing with Dates and Times
      3. Working with Numbers: The Math Object
    9. Chapter 9: Debugging Your Code
      1. Understanding JavaScript’s Error Types
      2. Getting to Know Your Debugging Tools
      3. Debugging with the Console
      4. Pausing Your Code
      5. Stepping through Your Code
      6. Monitoring Script Values
      7. More Debugging Strategies
      8. Top Ten Most Common JavaScript Errors
      9. Top Ten Most Common JavaScript Error Messages
  6. Book 4: Coding the Front End, Part 3: jQuery
    1. Chapter 1: Developing Pages Faster with jQuery
      1. Getting Started with jQuery
      2. Selecting Elements with jQuery
      3. Manipulating Page Elements with jQuery
      4. Modifying CSS with jQuery
      5. Tweaking HTML Attributes with jQuery
    2. Chapter 2: Livening Up Your Page with Events and Animation
      1. Building Reactive Pages with Events
      2. Building Lively Pages with Animation
    3. Chapter 3: Getting to Know jQuery UI
      1. What’s the Deal with jQuery UI?
      2. Getting Started with jQuery UI
      3. Working with the jQuery UI Widgets
      4. Introducing jQuery UI Effects
      5. Taking a Look at jQuery UI Interactions
  7. Book 5: Coding the Back End: PHP and MySQL
    1. Chapter 1: Learning PHP Coding Basics
      1. Understanding How PHP Scripts Work
      2. Learning the Basic Syntax of PHP Scripts
      3. Declaring PHP Variables
      4. Building PHP Expressions
      5. Outputting Text and Tags
      6. Working with PHP Arrays
      7. Controlling the Flow of Your PHP Code
      8. Working with PHP Functions
      9. Working with PHP Objects
      10. Debugging PHP
    2. Chapter 2: Building and Querying MySQL Databases
      1. What Is MySQL?
      2. Introducing phpMyAdmin
      3. Creating a MySQL Database and Its Tables
      4. Querying MySQL Data
    3. Chapter 3: Using PHP to Access MySQL Data
      1. Understanding the Role of PHP and MySQL in Your Web App
      2. Using PHP to Access MySQL Data
      3. Creating and Running Insert, Update, and Delete Queries
      4. Separating Your MySQL Login Credentials
  8. Book 6: Coding Dynamic Web Pages
    1. Chapter 1: Melding PHP and JavaScript with Ajax and JSON
      1. What Is Ajax?
      2. Making Ajax Calls with jQuery
      3. Introducing JSON
      4. Returning Ajax Data as JSON Text
    2. Chapter 2: Building and Processing Web Forms
      1. What Is a Web Form?
      2. Understanding How Web Forms Work
      3. Building an HTML5 Web Form
      4. Handling and Triggering Form Events
      5. Submitting the Form
    3. Chapter 3: Validating Form Data
      1. Validating Form Data in the Browser
      2. Validating Form Data on the Server
      3. Regular Expressions Reference
  9. Book 7: Coding Web Apps
    1. Chapter 1: Planning a Web App
      1. What Is a Web App?
      2. Planning Your Web App: The Basics
      3. Planning Your Web App: Responsiveness
      4. Planning Your Web App: Accessibility
      5. Planning Your Web App: Security
    2. Chapter 2: Laying the Foundation
      1. Setting Up the Directory Structure
      2. Creating the Database and Tables
      3. Getting Some Back-End Code Ready
      4. Creating the App Startup Files
    3. Chapter 3: Managing Data
      1. Handling Data the CRUD Way
      2. Creating New Data
      3. Reading and Displaying Data
      4. Updating and Editing Data
      5. Deleting Data
    4. Chapter 4: Managing App Users
      1. Configuring the Home Page
      2. Setting Up the Back End to Handle Users
      3. Signing Up a New User
      4. Signing a User In and Out
      5. Resetting a Forgotten Password
      6. Deleting a User
  10. Book 8: Coding Mobile Web Apps
    1. Chapter 1: Exploring Mobile-First Web Development
      1. What Is Mobile-First Web Development?
      2. Learning the Principles of Mobile-First Development
      3. Going Mobile Faster with jQuery Mobile
      4. Working with Images in a Mobile App
      5. Storing User Data in the Browser
    2. Chapter 2: Building a Mobile Web App
      1. Building the Button Builder App
      2. Getting Some Help from the Web
      3. Building the App: HTML
      4. Building the App: CSS
      5. Building the App: JavaScript and jQuery
  11. About the Author
  12. Connect with Dummies
  13. Index
  14. End User License Agreement
18.191.189.85