PHP & MySQL: Server-side Web Development (Paperback)
暫譯: PHP 與 MySQL:伺服器端網頁開發 (平裝本)

Jon Duckett

買這商品的人也買了...

相關主題

商品描述

Learn PHP, the programming language used to build sites like Facebook, Wikipedia and WordPress, then discover how these sites store information in a database (MySQL) and use the database to create the web pages.

This full-color book is packed with inspiring code examples, infographics and photography that not only teach you the PHP language and how to work with databases, but also show you how to build new applications from scratch. It demonstrates practical techniques that you will recognize from popular sites where visitors can:

  • Register as a member and log in
  • Create articles, posts and profiles that are saved in a database
  • Upload their own images and files
  • Automatically receive email notifications
  • Like and comment on posts.

To show you how to apply the skills you learn, you will build a complete content management system, enhanced with features that are commonly seen on social networks.

Written by best-selling HTML & CSS and JavaScript & jQuery author Jon Duckett, this book uses a unique visual approach, with step-by-step instructions, practical code examples and pro tips that will teach you how to build modern database-driven websites using PHP.

商品描述(中文翻譯)

學習 PHP,這是一種用於構建 Facebook、Wikipedia 和 WordPress 等網站的程式語言,然後了解這些網站如何在資料庫 (MySQL) 中儲存資訊並使用該資料庫來創建網頁。

這本全彩書籍充滿了啟發性的程式碼範例、資訊圖表和攝影作品,不僅教你 PHP 語言及如何與資料庫合作,還展示了如何從零開始構建新應用程式。它展示了你會在熱門網站上認識的實用技術,讓訪客可以:

- 註冊成為會員並登入
- 創建文章、帖子和個人資料,並儲存在資料庫中
- 上傳自己的圖片和檔案
- 自動接收電子郵件通知
- 對帖子進行讚和評論

為了展示如何應用你所學的技能,你將構建一個完整的內容管理系統,並增強社交網路上常見的功能。

這本書由暢銷書作者 Jon Duckett 撰寫,他是 HTML & CSS 和 JavaScript & jQuery 的作者,這本書採用獨特的視覺化方法,提供逐步指導、實用的程式碼範例和專業提示,將教你如何使用 PHP 構建現代的資料庫驅動網站。

作者簡介

Jon Duckett is the world-wide best-selling author of HTML & CSS: Design and Build Websites and JavaScript & JQuery: Interactive Front-End Web Development. His books have sold more than 400,000 copies in English and been translated into 10 languages. His "nicer way to learn" features a high-visual breakdown of code and concepts. LifeHacker called JavaScript & jQuery "the most elegant, visually engaging book you can learn JavaScript from." When he's not writing best-selling books, Jon has spent the last 15 years designing and building websites for companies ranging from small startups to globally recognized brands.

作者簡介(中文翻譯)

Jon Duckett 是全球暢銷書作者,著作包括 HTML & CSS: 設計與建構網站JavaScript & jQuery: 互動前端網頁開發。他的書籍在英語市場上銷售超過 400,000 本,並已翻譯成 10 種語言。他的「更好的學習方式」特別強調高視覺化的程式碼和概念解析。LifeHacker 稱 JavaScript & jQuery 為「最優雅、視覺上引人入勝的學習 JavaScript 的書籍」。在撰寫暢銷書的同時,Jon 在過去 15 年中為從小型創業公司到全球知名品牌的公司設計和建構網站。

目錄大綱

Introduction 1

Section A Basic Programming Instructions 17

Chapter 1 Variables, Expressions & Operators 29

Chapter 2 Control Structures 67

Chapter 3 Functions 103

Chapter 4 Objects & Classes 143

Section B Dynamic Web Pages 177

Chapter 5 Built-In Functions 201

Chapter 6 Getting Data From Browsers 231

Chapter 7 Images & Files 285

Chapter 8 Dates & Times 309

Chapter 9 Cookies & Sessions 329

Chapter 10 Error Handling 349

Section C Database Driven Websites 381

Chapter 11 Structured Query Language 397

Chapter 12 Get & Show Data From a Database 433

Chapter 13 Updating Data in a Database 483

Section D Extending the Sample Application 521

Chapter 14 Refactoring & Dependency Injection 533

Chapter 15 Namespaces & Libraries 557

Chapter 16 Membership 603

Chapter 17 Adding Functionality 633

Index 662

Code download: http://phpandmysql.com

目錄大綱(中文翻譯)

Introduction 1

Section A Basic Programming Instructions 17

Chapter 1 Variables, Expressions & Operators 29

Chapter 2 Control Structures 67

Chapter 3 Functions 103

Chapter 4 Objects & Classes 143

Section B Dynamic Web Pages 177

Chapter 5 Built-In Functions 201

Chapter 6 Getting Data From Browsers 231

Chapter 7 Images & Files 285

Chapter 8 Dates & Times 309

Chapter 9 Cookies & Sessions 329

Chapter 10 Error Handling 349

Section C Database Driven Websites 381

Chapter 11 Structured Query Language 397

Chapter 12 Get & Show Data From a Database 433

Chapter 13 Updating Data in a Database 483

Section D Extending the Sample Application 521

Chapter 14 Refactoring & Dependency Injection 533

Chapter 15 Namespaces & Libraries 557

Chapter 16 Membership 603

Chapter 17 Adding Functionality 633

Index 662

Code download: http://phpandmysql.com