Domanda

I'm looking for a good tool (or library or a framework) that I could use to easily build basic content management functionalities over MongoDB.

I am very well aware of the Admin UIs listed in Mongo's website, and I'm already using RockMongo for query and some db admin tasks. The problem is that while I as a software developer can happily use these tools, they are too powerful and complex for the people who are responsible for managing the content in the database.

So I'm specifically looking for a MongoDB content-management tool with:

  • Ability to easily build (scaffold) user interface around collections (generated create, read, update and delete forms / views)
  • Ability to add data validation and some template or schema for objects, especially when new objects are created and added into a collection
  • Support for fine-grained access control (user groups, per collection and per object read/write/admin access)

I've been considering using django-nonrel for building one, but would like to get more opinions before going any further.

È stato utile?

Soluzione

Since you're looking for a solution beyond a straight Admin UI, I expect you will have to roll your own. I went through a similar exercise a few months ago and ended up using Yii Framework (PHP).

The attributes you're looking for (scaffolding, validation, RBAC, ..) are common to many frameworks. Are there specific languages you would prefer/consider using? There are frameworks/libraries for Ruby, PHP, Python, etc. Many of these go to lengths to coerce MongoDB into an ActiveRecord/ORM pattern to enable use of CRUD and scaffolding. An emerging approach for working with NoSQL data sources is the DataMapper/ODM pattern, which is a much more comfortable fit compared to ORM.

Altri suggerimenti

Have a look at penguin: a module that automatically generates administration pages based on your Mongoose models.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top