PHP and MongoDB Web Development Beginner's Guide

Rubayeet Islam

  • 出版商: Packt Publishing
  • 出版日期: 2011-11-27
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 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應用程式
- 使用MongoDB和PHP處理使用者會話、儲存即時網站分析資料、建立具有位置感知功能的Web應用程式等等
- 充滿逐步指示和實用範例,並提供挑戰以測試和提升您的知識

詳細內容

隨著Web 2.0的興起,對於一個能夠儲存多樣化使用者生成內容的高度可擴展資料庫的需求越來越大。MongoDB是一個開源的非關聯式資料庫,已經應用於全球一些最受歡迎的網站。MongoDB是一個受歡迎的NoSQL資料庫,用於開發PHP Web 2.0應用程式。

《PHP和MongoDB Web開發初學者指南》是一本快節奏、實戰導向的指南,以PHP和MongoDB開始進行Web應用程式開發。本書採用“先編碼,再解釋”的方法,使用PHP的實用範例來展示MongoDB的獨特功能。本書不會讓您被資訊淹沒(或讓您感到缺乏資訊),而是提供足夠的內容讓您對概念有實際的理解。

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

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

通過簡潔的概念介紹和眾多實用範例,《PHP和MongoDB Web開發初學者指南》是PHP開發者學習MongoDB的正確選擇。

本書的學習重點:

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

方法

本書採用“先編碼,再解釋”的方法,使用PHP的實用範例來展示MongoDB的獨特功能。本書充滿了逐步指示和實用範例,並提供挑戰以測試和提升您的知識。

本書的讀者

本書假設您具有使用PHP、HTML和CSS進行Web應用程式開發的經驗。對於使用關聯式資料庫系統(如MySQL)的工作知識將有助於更快地理解一些概念,但並非絕對必要。不需要事先了解MongoDB的知識。