Sams Teach Yourself PHP, MySQL & JavaScript All in One (English) 6th 版本
暫譯: Sams 自學 PHP、MySQL 與 JavaScript 全方位指南(第六版)

Julie C. Meloni

商品描述

In just a short time, you can learn how to use PHP, MySQL, and JavaScript together to create dynamic, interactive websites and applications using three leading web development technologies.

 

No previous programming experience is required. Using a straightforward, step-by-step approach, each lesson in this book builds on the previous ones, enabling you to learn the essentials of full-stack web application development — from HTML, CSS, and JavaScript on the front end, to PHP scripting and MySQL databases on the server.

 

Regardless of whether you run Linux, Windows, or MacOS, the book includes complete instructions to install all the software you need to set up a stable environment for learning, testing, and production.

 

Step-by-step instructions carefully walk you through the most common web application development tasks.

 

Practical, hands-on examples show you how to apply what you learn.

 

Quizzes and exercises help you test your knowledge and stretch your skills.

 

Learn how to:

 

• Build web pages with HTML5 and CSS

• Use JavaScript to build dynamic, interactive web pages

• Get PHP, MySQL, and JavaScript to work together to create modern, standards-compliant web applications

• Enhance interactivity with AJAX

• Leverage JavaScript libraries such as jQuery

• Work with cookies and user sessions

• Get user input with web-based forms

• Use basic SQL commands

• Interact with the MySQL database using PHP

• Write maintainable code and get started with version control

• Decide when frameworks such as Bootstrap, Foundation, React, Angular,

and Laravel can be useful

• Create a web-based discussion forum or calendar

• Add a storefront and shopping cart to your site

 

Contents at a Glance

 

PART I Web Application Basics

1 Understanding How the Web Works

2 Structuring HTML and Using Cascading Style Sheets

3 Understanding the CSS Box Model and Positioning

4 Introducing JavaScript

5 Introducing PHP

 

PART II Getting Started with Dynamic Web Sites

6 Understanding Dynamic Web Sites and HTML5 Applications

7 JavaScript Fundamentals: Variables, Strings, and Arrays

8 JavaScript Fundamentals: Functions, Objects, and Flow Control

9 Understanding JavaScript Event Handling

10 The Basics of Using jQuery

 

PART III Taking Your Web Applications to the Next Level

11 AJAX: Getting Started with Remote Scripting

12 PHP Fundamentals: Variables, Strings, and Arrays

13 PHP Fundamentals: Functions, Objects, and Flow Control

14 Working with Cookies and User Sessions

15 Working with Web-Based Forms

 

PART IV Integrating a Database into Your Applications

16 Understanding the Database Design Process

17 Learning Basic SQL Commands

18 Interacting with MySQL Using PHP

 

PART V Getting Started with Application Development

19 Creating a Simple Discussion Forum

20 Creating an Online Storefront

21 Creating a Simple Calendar

22 Managing Web Applications

 

PART VI Appendixes

A Installation QuickStart with XAMPP

B Installing and Configuring MySQL

C Installing and Configuring Apache

 

D Installing and Configuring PHP

商品描述(中文翻譯)

在短時間內,您可以學會如何將 PHP、MySQL 和 JavaScript 結合使用,利用這三種領先的網頁開發技術來創建動態、互動的網站和應用程式。

不需要任何先前的程式設計經驗。本書採用簡單明瞭的逐步教學方式,每一課都在前一課的基礎上進行,讓您學會全端網頁應用程式開發的基本要素——從前端的 HTML、CSS 和 JavaScript,到伺服器端的 PHP 腳本和 MySQL 資料庫。

無論您使用的是 Linux、Windows 還是 MacOS,本書都提供完整的安裝指示,以設置一個穩定的學習、測試和生產環境。

逐步的指示將仔細引導您完成最常見的網頁應用程式開發任務。

實用的、動手的範例將展示如何應用您所學的知識。

測驗和練習幫助您檢測知識並提升技能。

學習如何:

• 使用 HTML5 和 CSS 建立網頁

• 使用 JavaScript 建立動態、互動的網頁

• 使 PHP、MySQL 和 JavaScript 協同工作,創建現代的、符合標準的網頁應用程式

• 使用 AJAX 增強互動性

• 利用 JavaScript 函式庫,如 jQuery

• 處理 cookies 和使用者會話

• 使用基於網頁的表單獲取使用者輸入

• 使用基本的 SQL 命令

• 使用 PHP 與 MySQL 資料庫互動

• 撰寫可維護的程式碼並開始使用版本控制

• 決定何時使用如 Bootstrap、Foundation、React、Angular 和 Laravel 等框架

• 創建基於網頁的討論論壇或日曆

• 為您的網站添加商店和購物車

內容概覽

第一部分 網頁應用程式基礎

1 了解網路如何運作

2 結構化 HTML 和使用層疊樣式表

3 了解 CSS 盒模型和定位

4 介紹 JavaScript

5 介紹 PHP

第二部分 開始動態網站

6 了解動態網站和 HTML5 應用程式

7 JavaScript 基礎:變數、字串和陣列

8 JavaScript 基礎:函式、物件和流程控制

9 了解 JavaScript 事件處理

10 使用 jQuery 的基本知識

第三部分 將您的網頁應用程式提升到新水平

11 AJAX:開始使用遠端腳本

12 PHP 基礎:變數、字串和陣列

13 PHP 基礎:函式、物件和流程控制

14 處理 cookies 和使用者會話

15 使用基於網頁的表單

第四部分 將資料庫整合到您的應用程式中

16 了解資料庫設計過程

17 學習基本的 SQL 命令

18 使用 PHP 與 MySQL 互動

第五部分 開始應用程式開發

19 創建一個簡單的討論論壇

20 創建一個線上商店

21 創建一個簡單的日曆

22 管理網頁應用程式

第六部分 附錄

A 使用 XAMPP 的安裝快速入門

B 安裝和配置 MySQL

C 安裝和配置 Apache

D 安裝和配置 PHP