AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mongodb compass plugins1/14/2024 We were a team of two people (now four!) with over a hundred thousand users. We couldn’t handle the feature request volume.Both users and developers can share prebuilt plugins with collaborators to share data/provide support.Users can have really specific needs that sometimes don’t make sense for anyone else. Writing your own software means you can make it as specific to the problem you’re trying to solve as you want.Plugins are React apps built with Webpack that can be run inside or independently of Compass. Compass is an Electron App written in React and NodeJS.Attendees will leave the talk with an understanding of how the Compass plugin architecture works and how to start writing their own plugin. Writing a Compass plugin is a lot of fun, as well as a great way to get to know React, Node, MongoDB. I will also explore the security implications of having third-party plugins and the unique challenges involved with supporting open-source plugins in a closed-source project. Attendees who are interested in writing their own plugin architecture will learn about how we solved the specific problems with supporting external plugins in an Electron app. I will demo Compass, describe the plugin architecture, and then live-code an example plugin. So what happens if a user has a feature request we can’t support? We let them do it themselves! This talk is about how we implemented a plugin architecture for Compass so that users can write their own features. Add stages, remove them, or drag and drop to re-order in the pipeline.Compass is a MongoDB user interface tool written for Electron using NodeJS and React. Code skeletons and auto-complete make it easy to build a stage, while a preview of documents shows you if the stage is doing what you need. Looking for other functionality? Install a plugin or build your ownĬonstruct aggregation pipelines in an intuitive UI. With a live preview of documents that pass and fail the validation rule, it's easy to see whether the rule has the desired behavior Extensible via plugins The Compass Plugin Framework is exposed as an API, making it extensible by users. Write JSON Schema validation rules in an intelligent editor that auto-suggests field names, BSON data types, and validation keywords. Add and remove indexes at the click of a button A simpler way to validate your data: Understand the type and size of your indexes, their utilization and special properties. Know how queries are running through an easy-to-understand GUI that helps you identify and resolve performance issues View utilization and manage your indexes: Modify existing documents with greater confidence using the intuitive visual editor, or insert new documents and clone or delete existing ones in just a few clicks Understand performance issues with visual explain plans: Point and click to construct sophisticated queries, execute them with the push of a button and Compass will display your results both graphically and as sets of JSON documents A better approach to CRUD makes it easier to interact with your data: Drill down into database operations easily and understand your most active collections Visualize, understand, and work with your geospatial data: Real-time server statistics let you view key server metrics and database operations. It allows you to quickly visualize and explore your schema to understand the frequency, types and ranges of fields in your data set Get immediate insight into server status and query performance: MongoDB Compass analyzes your documents and displays rich structures within your collections through an intuitive GUI. Understand performance issues with visual explain plans, view utilization and manage your indices Know your data with built-in schema visualization Modify your data with a powerful visual editing tool. Visualize, understand, and work with your data through an intuitive GUI. Compass empowers you to make smarter decisions about indexing, document validation, and more Vizualize and explore: View and optimize your query performance. Interact with your data with full CRUD functionality. MongoDB Compass helps you visually explore your data.
0 Comments
Read More
Leave a Reply. |