CouchDB and PHP Web Development Beginner’s Guide

Tim Juravich

  • 出版商: Packt Publishing
  • 出版日期: 2012-06-25
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 304
  • 裝訂: Paperback
  • ISBN: 1849513589
  • ISBN-13: 9781849513586
  • 相關分類: NoSQLPHP
  • 下單後立即進貨 (約3~4週)

商品描述

Get your PHP application from conception to deployment by leveraging CouchDB's robust features with this book and ebook.

Overview

  • Build and deploy a flexible Social Networking application using PHP and leveraging key features of CouchDB to do the heavy lifting.
  • Explore the features and functionality of CouchDB, by taking a deep look into Documents, Views, Replication, and much more.
  • Conceptualize a lightweight PHP framework from scratch and write code that can easily port to other frameworks.

In Detail

CouchDB is a NoSQL database which is making waves in the development world. It's the tool of choice for many PHP developers so they need to understand the robust features of CouchDB and the tools that are available to them.

CouchDB and PHP Web Development Beginner's Guide will teach you the basics and fundamentals of using CouchDB within a project. You will learn how to build an application from beginning to end, learning the difference between the "quick way" to do things, and the "right way" by looking through a variety of code examples and real world scenarios.

You will start with a walkthrough of setting up a sound development environment and then learn to create a variety of documents manually and programmatically. You will also learn how to manage their source control with Git and keep track of their progress. With each new concept, such as adding users and posts to your application, the author will take you through code step-by-step and explain how to use CouchDB's robust features. Finally, you will learn how to easily deploy your application and how to use simple replication to scale your application.

What you will learn from this book

  • Set up a web development environment from scratch
  • Dive into CouchDB and learn how it looks at databases, documents, design documents, and views
  • Conceptualize and create a simple PHP framework from scratch that will interact directly with CouchDB
  • Create the ability for users to sign up, log in, and reset their password through our application using CouchDB
  • Allow users to create posts and leverage design documents, views, and lists to do the heavy lifting
  • Learn how to add some of the bells and whistles commonly used by modern social networks
  • Add security and deploy your application to production
  • Learn how to use CouchDB to replicate your database

Approach

Each chapter follows the creation of a social networking application with step-by-step instructions. This means that you will have easily created a complete, working application by the end of the book.

Who this book is written for

This book is for beginner and intermediate PHP developers interested in using CouchDB development in their projects. Advanced PHP developers will appreciate the familiarity of the PHP architecture and can easily learn how to incorporate CouchDB into their existing development experiences.

商品描述(中文翻譯)

使用這本書和電子書,利用CouchDB的強大功能,將您的PHP應用程式從構思到部署。

概述:
- 使用PHP建立並部署靈活的社交網路應用程式,並利用CouchDB的關鍵功能來處理繁重的工作。
- 通過深入研究文件、視圖、複製等功能,探索CouchDB的特點和功能。
- 從頭開始構思一個輕量級的PHP框架,並編寫可以輕鬆移植到其他框架的代碼。

詳細內容:
CouchDB是一個在開發世界中引起轟動的NoSQL數據庫。對許多PHP開發人員來說,它是首選工具,因此他們需要了解CouchDB的強大功能和可用工具。

《CouchDB和PHP Web開發初學者指南》將教您在項目中使用CouchDB的基礎知識和基本原則。您將學習如何從頭到尾構建一個應用程式,通過查看各種代碼示例和現實世界情境,了解“快速方式”和“正確方式”之間的區別。

您將從設置穩定的開發環境開始,然後學習如何手動和以編程方式創建各種文件。您還將學習如何使用Git管理源代碼並跟踪進度。隨著每個新概念的出現,例如向應用程式添加用戶和帖子,作者將逐步帶您通過代碼並解釋如何使用CouchDB的強大功能。最後,您將學習如何輕鬆部署應用程式以及如何使用簡單的複製來擴展應用程式。

從本書中您將學到:
- 從頭開始設置Web開發環境
- 深入了解CouchDB的數據庫、文件、設計文件和視圖
- 從頭開始構建一個簡單的PHP框架,直接與CouchDB交互
- 通過CouchDB讓用戶註冊、登錄和重置密碼
- 允許用戶創建帖子,並利用設計文件、視圖和列表來處理繁重的工作
- 學習如何添加現代社交網路常用的一些功能
- 添加安全性並將應用程式部署到生產環境
- 學習如何使用CouchDB複製數據庫

方法:
每個章節都按照逐步指示創建一個社交網路應用程式。這意味著您將在本書結束時輕鬆創建一個完整的、可運行的應用程式。

本書適合初級和中級PHP開發人員,他們有興趣在項目中使用CouchDB開發。高級PHP開發人員將欣賞到PHP架構的熟悉性,並可以輕鬆學習如何將CouchDB融入到他們現有的開發經驗中。