Voyage: Persisting Objects in Document Databases
✒️ By Esteban Lorenzano, Stéphane Ducasse, Johan Fabry, and Norbert Hartl
Voyage: Persisting Objects in Document Databases is your practical guide to object persistence using the Voyage framework. Written by leading experts, this concise book covers everything from basic setup to advanced querying in MongoDB and UnqLite. Perfect for developers working with Pharo Smalltalk or anyone curious about object-oriented persistence in NoSQL environments. Whether you’re a beginner or a seasoned coder, you’ll find actionable tips and clear explanations throughout.
Book Description
“Voyage: Persisting Objects in Document Databases” is a hands-on guide for anyone looking to master object persistence with modern document databases. Authored by Esteban Lorenzano, Stéphane Ducasse, Johan Fabry, and Norbert Hartl, this book breaks down the core concepts of the Voyage framework. If you’ve ever wanted an easy way to persist objects directly into MongoDB or UnqLitewithout losing your mindthis is the manual for you.
The authors take you from zero to hero, starting with simple tutorials (think superheroes and their powers!) and leading up to advanced operations like custom queries and efficient data retrieval. The content is approachable but never dumbed down. You’ll get real code examples, practical advice, and a peek behind the curtain at how object persistence works under the hood.
This book is perfect for developers using Pharo Smalltalk, but it’s also a great resource if you’re exploring document-oriented NoSQL databases. Whether you’re prototyping apps or building production systems, you’ll find tips that make your workflow smoother.
What You Will Learn
- How to install and configure Voyage for use with MongoDB and UnqLite
- Connecting your applications to document databases quickly
- Basic CRUD operationscreate, read, update, deleteon persistent objects
- Modeling real-world entities as objects (with superheroes as your guides!)
- Embedding objects and handling relationships between them
- Writing efficient queries using both block syntax and JSON queries
- Dealing with cycles in object graphs without headaches
- Advanced querying features: sorting, pagination, and indexing
- Tips on database design and best practices for storing complex data types like dates
- Troubleshooting common issues with MongoDB commands
The book even covers how to reset or drop database connections when things get messy (because we all know they sometimes do). If you want more depth on the MongoDB database backend, or are curious about how Pharo Smalltalk integrates with NoSQL databases, this resource has you covered.
If you’re a developer who loves object-oriented programming or someone looking to modernize legacy data storage methods, “Voyage: Persisting Objects in Document Databases” is a must-read. It’s packed with actionable insights delivered in a lighthearted style that makes even complex topics feel manageable.

Leave a Reply
You must be logged in to post a comment.