PHP and MongoDB Web Development Beginner's Guide and over 2 million other books are available for Amazon Kindle . Learn more

Buy New

Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: £16.51

More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

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 , R. Islam
5.0 out of 5 stars  See all reviews (1 customer review)
RRP: £27.99
Price: £19.75 & FREE Delivery in the UK. Details
You Save: £8.24 (29%)
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
Only 1 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it Sunday, 24 Aug.? Choose Express delivery at checkout. Details


Amazon Price New from Used from
Kindle Edition £17.50  
Paperback £19.75  

Book Description

25 Nov 2011 1849513627 978-1849513623

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


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 + MongoDB in Action
Price For Both: £38.60

Buy the selected items together
  • MongoDB in Action £18.85

Customers Who Bought This Item Also Bought

Product details

  • Paperback: 292 pages
  • Publisher: Packt Publishing (25 Nov 2011)
  • Language: English
  • ISBN-10: 1849513627
  • ISBN-13: 978-1849513623
  • Product Dimensions: 23.5 x 19 x 1.5 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 1,259,095 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Back Cover
Search inside this book:

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
5.0 out of 5 stars Very happy with the book. 18 Jan 2013
By Fran
Format:Kindle Edition|Verified Purchase
I learned fast and without problems. Of course Im going to need to read something more, bit the balance between time, effort, money and acknowledge is very positive.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.1 out of 5 stars  10 reviews
2 of 2 people found the following review helpful
3.0 out of 5 stars A useful book for those getting started with MongoDB 24 Jan 2012
By Mason Jones - Published on
I recently was provided with an eBook review copy of PHP and MongoDB Web Development from Packt Publishing, by Rubayeet Islam. Being interested in MongoDB, though a bit out of date with my PHP development, I read through the book fairly quickly.

As the title indicates, the author focuses on using MongoDB to provide the storage back-end for PHP web applications. After a short introduction to the basic concepts behind MongoDB, we get a walk-through of installing MongoDB and getting PHP to talk with it, before starting in on building a blog. It's a safe example, since a blog is a reasonable candidate for a document store like MongoDB. It also provides a way to address one of the big design questions when using MongoDB, which is when to use embedded documents and when to store references. To my mind the question is glossed over a bit too quickly, but it is discussed.

Additional projects like session management and geolocation get a bit off-track, as a lot of time is spent describing the concepts rather than MongoDB, but the meatier sections that get into topics like Map-Reduce (creating a tag cloud) and web analytics are certainly worthwhile. I did feel that the chapter reviewing two MongoDB management tools could have been skipped, since the information will likely be out of date within a couple of months.

Overall, this is a reasonable beginner's guide, as its subtitle indicates. There's a great deal of PHP code filling its pages, which will give you a starting point if you need a boost to get going. Reading through it will give you the basics about MongoDB, and a bit more -- hints on indexing, optimizing, and Map-Reduce will keep you running. A lot of the information felt cursory, and I would have appreciated more depth, but that's probably just me wanting more than a beginner's introduction. Perhaps more relevant were my concerns about the copy-editing and grammar. I didn't notice any actual errors, but the grammar is quite rough and it made me wonder. It may make me old-fashioned these days, but I still expect my books to be well-edited and grammatically correct. The issue didn't get directly in the way of the information to be had, but it's still a pity. Nonetheless, if you're a PHP developer and you're looking to get started with MongoDB, you'll doubtless find this a useful book.
1 of 1 people found the following review helpful
2.0 out of 5 stars some good info but supplied code is buggy 29 July 2013
By Richard Scheipe - Published on
On the surface this seemed like a good way to learn how to use php to program apps against mongodb. It has some good information but I am spending hours trying to fix the author's php errors...
beware of that.
1 of 1 people found the following review helpful
5.0 out of 5 stars Great Web 2.0 Developer book for MongoDB and PHP! 29 Feb 2012
By Joe - Published on
I found this book to be very informative for someone who is interested in MongoDB and wants to learn the type of database architecture MongoDB supports. This book has a web-centric view where it shows step-by-step examples that anyone can follow. Every chapter has a review of what is covered in the chapter, and plenty of examples to illustrate the author's points.

My take on this subject is from the Database Administrator point of view, and here I found the book to be a little light on substance, but this book is clearly not marketed to that segment but to developers. Some of the advanced topics covered in this book are MapReduce, GridFS and Geospatial location and on these topics this book excels.

This book would be a fine addition to any bookshelf and will have a special place in mine. It clearly shows the power of MongoDB and PHP in a Web 2.0 environment and would be a great reference to anyone in Web development.
1 of 1 people found the following review helpful
4.0 out of 5 stars Wonderful Intro to Mongo Book for Web Developers 28 Jan 2012
By Michael B. Benner - Published on
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.
5.0 out of 5 stars Projects-Oriented book 10 Jan 2013
By Nasser Al-Manji - Published on
I bought this book from Packt Publishing web site.
I consider myself as an Intermediate Programmer who seeks to expand his skills. I think this book was well balanced in depth and breadth. Good topics discussed in an easy manner (no stress on the reader, so that main concepts are not distracted).
I love the example approach the Author follows. You can build your own blog using this book. I believe most books in computer science (at least the ones which want you to know about a certain technology to a professional extent) should be written in similar manner (rather than isolating theory from practical aspects) You can find the source-code in the publisher website.
Overall, I will be looking for similar books, because they combine many benefits under one cover.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category