I've been using Django recently and I really love its built-in admin interface. I was wondering if there were any C# MVC projects our there which mimicked the django admin in terms of its ease and structure?
(I'm not looking for to use the whole django model in MVC, just looking for the admin portion of it)
With enough time and customizing of the EditorTemplates & DisplayTemplates I could create something similar on a per-site basis using Html.DisplayForModel()
and Html.EditorForModel()
but not all of it would be re-usable, nor have I gotten around to doing something like that (though I may go that route) and it takes a lot longer to setup. My experience with Django admin.py is that 10-15 lines of code goes a long long long way.
I have previously used EntitySpaces and they offered a web-admin grid, but a) its web-forms, b) it got less and less support as they continued development with it and c) you can't really use it and LINQtoSQL at the same time, and I find L2S to require much less overhead.
Any recommendations or projects you know of out there?
Thanks!
Django Admin's task is to provide an interface to the admin of the web project. Django's Docs clearly state that Django Admin is not made for frontend work.
your company should follow a least access principle policy; so yes: only select people should have access. Django has basic auditing capability via signals and displayed in the admin out of the box. You can build on top of this.
The Django admin application can use your models to automatically build a site area that you can use to create, view, update, and delete records. This can save you a lot of time during development, making it very easy to test your models and get a feel for whether you have the right data.
Django, by default, uses SQLite3 for development. SQLite3 is a simple relational database engine and your database is automatically created as db. sqlite3 the first time you run python manage.py migrate .
You can create the Dynamic Data Site in Visual Studio 2010, which does the same thing like Django-admin site. It requires Entity Framework.
Check out sharp architecture, it automatically sets up admin CRUD for the entities you define. (However this is NHibernate based, so you wont be able to use Linq2Sql)
Though it would be great if the built-in editor templating was improved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With