Foundation PHP for Dreamweaver 8
暫譯: Dreamweaver 8 的 PHP 基礎教程

David Powers

  • 出版商: Friends of Ed
  • 出版日期: 2005-12-13
  • 售價: $1,620
  • 貴賓價: 9.5$1,539
  • 語言: 英文
  • 頁數: 530
  • 裝訂: Paperback
  • ISBN: 1590595696
  • ISBN-13: 9781590595695
  • 相關分類: DreamweaverPHP
  • 海外代購書籍(需單獨結帳)

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

商品描述

Description

In this book, you’ll learn how to:

  • Install, configure, and troubleshoot a testing environment with PHP/MySQL and Apache or IIS
  • Learn the fundamentals of PHP and good database design
  • Use Dreamweaver 8 server behaviors to create robust dynamic applications that validate user input for greater security and reliability
  • Incorporate live XML feeds into your web pages with PHP and Dreamweaver 8’s new XSL Transformation server behavior
  • Download and apply a suite of custom-built PHP functions designed exclusively for this book

Want to add the power of a database to your websites? Build online forms that send feedback straight to your inbox? Incorporate live news feeds and XML data into your web pages? This book shows you how to do all that and more.
Dreamweaver 8 takes a lot of the hard work out of integrating a database into your websites, but it can’t do everything. So instead of just giving you a series of instructions to click this and click that, this book helps you understand what’s going on in the background. As a result, you’re more likely to remember and to get it right.

Most books on PHP concentrate on code and throw all design considerations out the window. This one is different. It makes use of Dreamweaver 8’s vastly improved CSS rendering, and shows you how to build a site that’s smart in both senses of the word. It looks good and is intelligent too. You’ll learn how to change the entire look of the site, using PHP to serve up different stylesheets each month. You’ll also build a contact form protected against email injection attacks. All of Dreamweaver’s PHP server behaviors are put through their paces, and you’ll even make some custom server behaviors that will come in useful on any site you create.

Two chapters take you through the setup process with step-by-step instructions for both Windows and Mac OS X, helping you make the right choices: Apache or IIS? Remote or local testing? There are even instructions on how to set up virtual hosts on your own computer. And in the unlikely event that things go wrong, there’s plenty of troubleshooting advice too.

In this book we look specifically at using Dreamweaver's built-in server behaviors to build dynamic web sites using PHP and MySQL, the world’s most popular open source server-side language and database server combination, which are both reliable, powerful, and open source (and therefore free to use!) This latest version of Dreamweaver includes more powerful support for PHP and MySQL than ever before, and we'll show you how to make this work for you. No previous experience of PHP or MySQL is necessary to use this book.

Examples built throughout the book include a content management system, and an online image gallery. All examples are designed to meet modern usability requirements and be web standards compliant.

 

Table of Contents

  • Introduction
  • Chapter 1: So, You Want to Build Dynamic Sites?
  • Chapter 2: Dreamweaver and PHP—A Productive Partnership
  • Chapter 3: Getting the Work Environment Ready
  • Chapter 4: Getting Ready for the Case Study
  • Chapter 5: Integrating PHP into Your Site
  • Chapter 6: Getting Feedback from an Online Form
  • Chapter 7: Putting the Power of a Database
  • Chapter 8: Building a Random Quotation Generator
  • Chapter 9: Working with Multiple Tables
  • Chapter 10: Using Sessions to Track
  • Chapter 11: Displaying a Blog and Photo Gallery
  • Chapter 12: Using XSLT to Display Live News Feeds and XML
  • Appendix A: Using Languages Other Than English in MySQL
  • Appendix B: Essential MySQL Maintenance
  • Index

 

商品描述(中文翻譯)

**描述**

在這本書中,您將學習如何:
- 安裝、配置和排除使用 PHP/MySQL 和 Apache 或 IIS 的測試環境
- 學習 PHP 的基本概念和良好的資料庫設計
- 使用 Dreamweaver 8 的伺服器行為來創建穩健的動態應用程式,驗證用戶輸入以提高安全性和可靠性
- 使用 PHP 和 Dreamweaver 8 的新 XSL 轉換伺服器行為將即時 XML 資料源整合到您的網頁中
- 下載並應用專為本書設計的一套自訂 PHP 函數

想要為您的網站添加資料庫的功能嗎?建立可以直接將反饋發送到您的收件箱的線上表單?將即時新聞源和 XML 數據整合到您的網頁中?這本書將教您如何做到這一切以及更多。Dreamweaver 8 大大簡化了將資料庫整合到您的網站中的繁瑣工作,但它無法做到所有事情。因此,這本書不僅僅是給您一系列的點擊指令,而是幫助您理解背後發生的事情。結果,您更有可能記住並正確執行。

大多數關於 PHP 的書籍專注於代碼,卻忽略了所有設計考量。而這本書則不同。它利用了 Dreamweaver 8 大幅改進的 CSS 渲染,並展示如何建立一個在各方面都聰明的網站。它不僅外觀良好,還具備智能。您將學習如何使用 PHP 來每月提供不同的樣式表,改變整個網站的外觀。您還將建立一個防止電子郵件注入攻擊的聯絡表單。所有 Dreamweaver 的 PHP 伺服器行為都將經過實踐,您甚至會製作一些自訂的伺服器行為,這些行為在您創建的任何網站上都會派上用場。

兩個章節將帶您通過設置過程,提供 Windows 和 Mac OS X 的逐步指導,幫助您做出正確的選擇:Apache 還是 IIS?遠端測試還是本地測試?甚至還有如何在您自己的電腦上設置虛擬主機的指導。如果出現問題,還有大量的故障排除建議。

在這本書中,我們專門探討如何使用 Dreamweaver 的內建伺服器行為來使用 PHP 和 MySQL 建立動態網站,這是全球最受歡迎的開源伺服器端語言和資料庫伺服器組合,兩者都可靠、強大且開源(因此免費使用!)。這個最新版本的 Dreamweaver 提供了比以往更強大的 PHP 和 MySQL 支持,我們將向您展示如何讓這些功能為您服務。使用本書不需要先前的 PHP 或 MySQL 經驗。

書中包含的範例包括內容管理系統和線上圖像庫。所有範例均設計以符合現代可用性要求並遵循網頁標準。

**目錄**
- 介紹
- 第 1 章:那麼,您想建立動態網站?
- 第 2 章:Dreamweaver 和 PHP—高效的合作夥伴
- 第 3 章:準備工作環境
- 第 4 章:為案例研究做準備
- 第 5 章:將 PHP 整合到您的網站中
- 第 6 章:從線上表單獲取反饋
- 第 7 章:發揮資料庫的力量
- 第 8 章:建立隨機名言生成器
- 第 9 章:處理多個資料表
- 第 10 章:使用會話進行追蹤
- 第 11 章:顯示部落格和照片庫
- 第 12 章:使用 XSLT 顯示即時新聞源和 XML
- 附錄 A:在 MySQL 中使用非英語語言
- 附錄 B:基本的 MySQL 維護
- 索引