Amazon.com: PHP and MongoDB Web Development Beginner's Guide (9781849513623): Rubayeet Islam: Books
PHP and MongoDB Web Development Beginner's Guide and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Kindle Edition
 
   
Sell Back Your Copy
For a $2.52 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
PHP and MongoDB Web Development Beginner's Guide
 
 
Start reading PHP and MongoDB Web Development Beginner's Guide on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

PHP and MongoDB Web Development Beginner's Guide [Paperback]

Rubayeet Islam (Author)
4.1 out of 5 stars  See all reviews (7 customer reviews)

List Price: $44.99
Price: $40.90 & this item ships for FREE with Super Saver Shipping. Details
You Save: $4.09 (9%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Friday, February 24? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $14.84  
Paperback $40.90  

Book Description

November 25, 2011

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.


Frequently Bought Together

PHP and MongoDB Web Development Beginner's Guide + The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing + MongoDB: The Definitive Guide
Price For All Three: $109.36

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing $36.49

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • MongoDB: The Definitive Guide $31.97

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Rubayeet Islam

Rubayeet Islam is a software developer with over four years of experience in large-scale web application development on open-source technology stacks (LAMP, Python/Django, Ruby on Rails). He is currently involved in developing cloud-based distributed software that uses MongoDB as its analytics and metadata back-end. He has also spoken in seminars to promote the use of MongoDB and NoSQL databases in general. He graduated from University of Dhaka with BS in Computer Science and Engineering.


Product Details

  • Paperback: 292 pages
  • Publisher: Packt Publishing (November 25, 2011)
  • Language: English
  • ISBN-10: 1849513627
  • ISBN-13: 978-1849513623
  • Product Dimensions: 9.2 x 7.5 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (7 customer reviews)
  • Amazon Best Sellers Rank: #338,820 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

7 Reviews
5 star:
 (3)
4 star:
 (2)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.1 out of 5 stars (7 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

5.0 out of 5 stars Great Book, February 17, 2012
This review is from: PHP and MongoDB Web Development Beginner's Guide (Paperback)
I enjoyed reading and building along with the book "PHP and MongoDB Web Development". The book is logically organized and contains many helpful hints and tutorials. I felt the content appropriately addressed the target audience, individuals with some background in web development looking to increase their exposure to a new technology. For me, the best part of the book is the useful examples and exercises, specifically using MongoDB to implement a session manager for clustered web applications, geospacial indexing, and web analytics with asynchronous writes. I found the exercises given in the book to be very relevant to the strengths of MongoDB. Furthermore, the book gives a good introduction to the Map/Reduce concept and provides good examples for those who may not be familiar with it.
I thought the author did a nice job of illustrating the fact that while MongoDB has many benefits, it's not the perfect fit for every need. There are even times when it can and should be used with a relational database system and the author gives examples of when this would be an effective use and when it would not. The book provides good resources for those readers wanting to delve a bit deeper into more advanced uses and aspects of MongoDB.
Overall, I found "PHP and MongoDB Web Development" to be an excellent reference for building applications with MongoDB. I would, and will, recommend this book to all of my developer colleagues.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4.0 out of 5 stars Great intro to MongoDB and NoSQL, January 31, 2012
This review is from: PHP and MongoDB Web Development Beginner's Guide (Paperback)
Today (January 30, 2012), I have finished reading the book 'PHP and MongoDB Web Development'. This book is a great intro to MongoDB and NoSQL.

There's no special knowledge required to read this book. If you have a background in relational databases and wish to learn more about MongoDB or are interested in it as an example of a NoSQL implementation, this is a great book.

This is what the book covers:

> Installation of MongoDB (chapter 1)

In chapter 1, Getting Started with MongoDB, you will learn how to install and run your first MongoDB server. You will find an easy to follow step-by-step guide on how to install it on your platform of choice. Within an hour (maximum), you should be ready to go!

This chapter also learns you the basic concepts of MongoDB and NoSQL. With a relational database background it's fairly easy to grasp.

> Building a blogger web application (chapter 2-5)

In the following chapters you will learn how to build a blogger web application using PHP, HTML (CSS) and MongoDB as the backend database. In these chapters you will learn all the basic database operations like Create, Read, Update and Delete (CRUD).

Building your First MongoDB Powered Web App (Chapter 2) will fresh up your memory, on the functionality that is required for a basic blogger application. You will create pages to insert/update a blog article, get an articles overview and create a blogger dashboard.

In the next chapter you will learn how to implement a generic Session Manager for handling user authentication in the blogging web app. You will also create the login, logout and profile page for the blogger application.

In chapter 4 (Aggregation Queries) you will learn about MapReduce, a design pattern for data processing. It will be used to create the Tag Cloud for the blogger app. You will also find an example on how to create an overview "average rating per author".

At this point the very simple blogger web application is completed. In this next chapter (Web Analytics using MongoDB) you will learn how to store website analytics in MongoDB. You will basically implement a simple pageview counter for the blogger app.

> Using MongoDB (6-8)

Chapter 6, Using MongoDB with Relational Databases, will challenge you to use both MongoDB and MySQL (or any other relational database). Potential use cases where MongoDB can be employed alongside a relational database system are: data archiving, logging, storing entity metadata and storing results of aggregation queries.

GridFS is MongoDB's solution for storing binary data in the database (Chapter 7, Handling Large Files with GridFS). You will see a few examples on how to serve files (images) from GridFS.

In the following chapter (Chapter 8,Building Location-aware Web Applications with MongoDB and PHP) you will learn about the feature Geo-spatial indexing. It can be used to build location-aware web applications with it, like the popular application Foursquare have done. If you follow the step-by-step example, you will have your own location-aware service in minutes using PHP, JavaScript, MongoDB and Google Maps.

> Security, Performance and Database administration (chapter 9-10)

Chapter 9 (Improving Security and Performance) will teach you how to manage your database server and how to optimize your database. At first you will see how you can add user authentication (disabled by default) and improve the security of a MongoDB server. You will also learn how to implement index keys to boost performance.

In the final chapter (Chapter 10, Easy MongoDB Administration with RockMongo and phpMoAdmin) you will learn about tools for administering a MongoDB server. You will see that both RockMongo and phpMoAdmin provide an easy way to explore, manipulate or import and export your data. The comparison of RockMongo versus phpMoAdmin at the end of the chapter is very useful.

------
Final Thoughts

This book is great in learning you the concepts of MongoDB by doing: less theory, more results. It is definitely a good beginner's guide for PHP and MongoDB web development.

The book is easy to read, thanks to the easy-to-understand concept of creating a blogger web application. Since most developers already understand the basic functionality, you can focus more how to do it using MongoDB.

While reading the book, I already downloaded the C# driver to do some more experimenting with MongoDB server. Preparing the environment (.NET/C#) turned out to be easy, and within half an hour I was able to play with MongoDB server using my own favorite language (C#). At that point, this book is also useful as a reference for the basic instructions.

I'm coming from a traditional relational database background, specializing in SQL server over the last 12 years. I was hoping that this book was a good introduction to NoSQL in general and it is was! I can recommend this book if you're interested in learning the basic concepts of a NoSQL database.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4.0 out of 5 stars Wonderful Intro to Mongo Book for Web Developers, January 27, 2012
This review is from: PHP and MongoDB Web Development Beginner's Guide (Paperback)
This was a great book for those looking to get their feet wet with MongoDB. PHP And MongoDB covered many more topics than many of the MongoDB books I have read recently and while I am not a PHP developer gave me a few more ways to leverage MongoDB in my day to day work.

I especially enjoyed the chapters on Geospatial functionality and the GridFS system. Both of these topics we handled throughly and are typically glossed over in other books.

The one place I felt this book was light was the operations and administration side of things. Nowadays, many developers are handling operations as well and I feel that those topics could be explored further in books like this.

All in all, I would recommend anyone in web development looking for somewhere to start with MongoDB pick up this book and give it a read.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews





Only search this product's reviews



Inside This Book (learn more)
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
 
(11)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject