PHP and MongoDB Web Development: Beginner’s Guide
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.
- Paperback: 292 pages
- Publisher: Packt Publishing (November 2011)
- Language: English
- ISBN-10: 1849513627
- ISBN-13: 978-1849513623