Foundation PHP for Dreamweaver 8

David Powers

  • 出版商: Friends of Ed
  • 出版日期: 2005-12-13
  • 售價: $1,580
  • 貴賓價: 9.5$1,501
  • 語言: 英文
  • 頁數: 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建立動態網站。PHP和MySQL是世界上最受歡迎的開源伺服器端語言和資料庫伺服器組合,它們都可靠、強大且開源(因此可以免費使用!)。這個最新版本的Dreamweaver比以往任何時候都更強大地支持PHP和MySQL,我們將向您展示如何讓它為您工作。使用本書不需要任何PHP或MySQL的先前經驗。

本書中的示例包括內容管理系統和在線圖片庫。所有示例都設計符合現代的可用性要求和網絡標準。

目錄

- 引言
- 第1章:所以,您想要建立動態網站嗎?
- 第2章:Dreamweaver和PHP - 一個高效的合作夥伴關係
- 第3章:開始工作