PHP and MongoDB Web Development Beginner's Guide
暫譯: PHP 與 MongoDB 網頁開發入門指南

Rubayeet Islam

  • 出版商: Packt Publishing
  • 出版日期: 2011-11-27
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 292
  • 裝訂: Paperback
  • ISBN: 1849513627
  • ISBN-13: 9781849513623
  • 相關分類: NoSQLMongoDBPHP
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Combine the power of PHP and MongoDB to build dynamic web 2.0 applications

  • Learn to build PHP-powered dynamic web applications using MongoDB as the data backend
  • Handle user sessions, store real-time site analytics, build location-aware web apps, and much more, all using MongoDB and PHP
  • Full of step-by-step instructions and practical examples, along with challenges to test and improve your knowledge

In Detail

With the rise of Web 2.0, the need for a highly scalable database, capable of storing diverse user-generated content is increasing. MongoDB, an open-source, non-relational database has stepped up to meet this demand and is being used in some of the most popular websites in the world. MongoDB is one of the NoSQL databases which is gaining popularity for developing PHP Web 2.0 applications.

PHP and MongoDB Web Development Beginner's Guide is a fast-paced, hands-on guide to get started with web application development using PHP and MongoDB. The book follows a "Code first, explain later" approach, using practical examples in PHP to demonstrate unique features of MongoDB. It does not overwhelm you with information (or starve you of it), but gives you enough to get a solid practical grasp on the concepts.

The book starts by introducing the underlying concepts of MongoDB. Each chapter contains practical examples in PHP that teache specific features of the database.

The book teaches you to build a blogging application, handle user sessions and authentication, and perform aggregation with MapReduce. You will learn unique MongoDB features and solve interesting problems like real-time analytics, location-aware web apps etc. You will be guided to use MongoDB alongside MySQL to build a diverse data back-end.

With its concise coverage of concepts and numerous practical examples, PHP and MongoDB Web Development Beginner's Guide is the right choice for the PHP developer to get started with learning MongoDB.

What you will learn from this book

  • Get MongoDB up and running on the machine (Windows/Mac/Linux)
  • Build a PHP-powered website with MongoDB as the data storage
  • Handle HTTP sessions with MongoDB
  • Store website analytics data in real time
  • Process large datasets with MapReduce
  • Use MongoDB to supplement your existing relational database - build data archives, cache tiers, store results of expensive SQL queries in MongoDB
  • Build location-aware web applications
  • Optimize MongoDB for better performance and security

Approach

The book follows a "Code first, explain later" approach, using practical examples in PHP to demonstrate unique features of MongoDB. This book is packed with step-by-step instructions and practical examples, along with challenges to test and improve your knowledge.

Who this book is written for

This book assumes that you are experienced in web application development using PHP, HTML, and CSS. Having working knowledge of using a relational database system such as MySQL will help you grasp some of the concepts quicker, but it is not strictly mandatory. No prior knowledge of MongoDB is required.

商品描述(中文翻譯)

結合 PHP 和 MongoDB 的力量來構建動態的 Web 2.0 應用程式

  • 學習如何使用 MongoDB 作為資料後端來構建 PHP 驅動的動態 Web 應用程式
  • 處理使用者會話、儲存即時網站分析、構建位置感知的 Web 應用程式等等,全部使用 MongoDB 和 PHP
  • 本書充滿逐步指導和實用範例,並提供挑戰來測試和提升您的知識

詳細內容

隨著 Web 2.0 的興起,對於能夠儲存多樣化使用者生成內容的高可擴展性資料庫的需求日益增加。MongoDB 作為一個開源的非關聯資料庫,已經滿足了這一需求,並被用於一些世界上最受歡迎的網站。MongoDB 是一種 NoSQL 資料庫,因其在開發 PHP Web 2.0 應用程式中的受歡迎程度而受到關注。

《PHP 和 MongoDB 網頁開發初學者指南》是一本快速且實用的指南,幫助您開始使用 PHP 和 MongoDB 進行網頁應用程式開發。本書採用「先寫程式碼,後解釋」的方法,使用 PHP 的實用範例來展示 MongoDB 的獨特功能。它不會讓您感到資訊過載(或讓您感到匱乏),而是提供足夠的資訊讓您對概念有扎實的實踐理解。

本書首先介紹 MongoDB 的基本概念。每一章都包含 PHP 的實用範例,教導資料庫的特定功能。

本書教您構建一個部落格應用程式、處理使用者會話和身份驗證,以及使用 MapReduce 進行聚合。您將學習到 MongoDB 的獨特功能,並解決有趣的問題,如即時分析、位置感知的 Web 應用程式等。您將被指導如何將 MongoDB 與 MySQL 一起使用,以構建多樣化的資料後端。

憑藉對概念的簡明覆蓋和眾多實用範例,《PHP 和 MongoDB 網頁開發初學者指南》是 PHP 開發者學習 MongoDB 的正確選擇。

您將從本書中學到什麼

  • 在機器上(Windows/Mac/Linux)啟動和運行 MongoDB
  • 構建一個以 MongoDB 作為資料儲存的 PHP 驅動網站
  • 使用 MongoDB 處理 HTTP 會話
  • 即時儲存網站分析數據
  • 使用 MapReduce 處理大型數據集
  • 使用 MongoDB 補充您現有的關聯資料庫 - 構建資料檔案、快取層,將昂貴的 SQL 查詢結果儲存在 MongoDB 中
  • 構建位置感知的 Web 應用程式
  • 優化 MongoDB 以提高性能和安全性

方法

本書採用「先寫程式碼,後解釋」的方法,使用 PHP 的實用範例來展示 MongoDB 的獨特功能。本書充滿逐步指導和實用範例,並提供挑戰來測試和提升您的知識。

本書的讀者對象

本書假設您在使用 PHP、HTML 和 CSS 進行網頁應用程式開發方面有經驗。對於使用關聯資料庫系統(如 MySQL)的工作知識將幫助您更快掌握某些概念,但這並不是絕對必要的。無需具備 MongoDB 的先前知識。