MongoDB in Action is a comprehensive guide to MongoDB for application developers. The book begins by explaining what makes MongoDB unique and describing its ideal use cases. A series of tutorials designed for MongoDB mastery then leads into detailed examples for leveraging MongoDB in e-commerce, social networking, analytics, and other common applications.
earn 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
.So sánh hiệu suất hoạt động của MongoDB và SQL Server 2008
Trong bài viết dưới đây, chúng tôi sẽ chỉ ra điểm khác biệt về hiệu suất hoạt động của hệ quản trị cơ sở dữ liệu còn khá mới mẻ hiện nay, đó là MongoDB và 1 trong những hệ thống phổ biến như SQL Server (MySQL hoặc Oracle).
Relational Data Modeling and Normalization What Is a Normal Form, Anyway? So What’s the Problem? Denormalizing for Performance MongoDB: Who Needs Normalization, Anyway? MongoDB Document Format Embedding for Locality Embedding for Atomicity and Isolation Referencing for Flexibility Referencing for Potentially High-Arity Relationships Many-to-Many Relationships Conclusion
Written by the Chief Solutions Architect at 10gen—the company that develops and supports this open source database—this book takes you through MongoDB basics such as queries, read-write operations, and administration, and then dives into MapReduce, sharding, and other advanced topics. Get out of the relational database rut, and take advantage of a high-performing system optimized for operations and scale.
Trên thực tế thì việc sử dụng Java driver khá đơn giản. Trước tiên, các bạn cần đảm bảo rằng đã bao gồm driver jar mongo.jar trong đường dẫn classpath chính. Đoạn mã dưới đây được lấy ra từ ví
dụexamples/QuickTour.java trong driver.
And then there was light – a lightweight database! How often have we all wanted some
database that was "just a data store"? Sure, you can use it in many complex ways but in
the end, it's just a plain simple data store. Welcome MongoDB!
And then there was light – a lightweight language that was fun to program in. It supports all
the constructs of a pure object-oriented language and is fun to program in. Welcome Ruby!
Both MongoDB and Ruby are the fruits of people who wanted to simplify things in a complex
world. Ruby, written by Yokihiro Matsumoto was made, picking the best...
Create a MongoDB cluster that will grow to meet the needs of your application. With this short and concise book, you'll get guidelines for setting up and using clusters to store a large volume of data, and learn how to access the data efficiently. In the process, you'll understand how to make your application work with a distributed database system.
Scaling MongoDB will help you:
Data is getting bigger and more complex by the day, and so are the choices in handling that data. As a modern application developer you need to understand the emerging field of data management, both RDBMS and NoSQL. Seven Databases in Seven Weeks takes you on a tour of some of the hottest open source databases today. In the tradition of Bruce A. Tate's Seven Languages in Seven Weeks, this book goes beyond your basic tutorial to explore the essential concepts at the core each technology.
A few years ago, I wrote a book with a colleague about open source ESBs (Enterprise
Service Buses), Open Source ESBs in Action (Manning, 2008). In that book we wrote
about using open source tools to integrate applications and expose legacy systems as
services. In the years that followed, ESBs were seen as one of the cornerstones of developing
Service Oriented Architectures (SOAs). In 2008, when people talked about SOA,
especially in the enterprise world, they meant the traditional SOAP-over-HTTP-based