By skeftomai on
Suppose I am making a CRUD-style (create/read/update/delete) database web-application (example: Mantis). Is Drupal the appropriate tool for this type of application?
Would it be better, for this type of application, to go with something else or even a combination of development tools such as
- DB_DataObject_FormBuilder for form building and ORM
- Smarty for separating content from
- LiveUser or phpGACL for permissions
Some reasons why I ask:
- Perhaps Drupal is overkill?
- Isn't Drupal geared more toward social-type sites rather than database-type application?
- On top of the whole groups, users, and permissions framework Drupal provides, I need another layer. My example (Mantis), for example, not only lets me assign users to groups, but it also lets me grant/deny access to projects.
Comments
it depends
My answer "It depends"!
There is no right or wrong answer here.
It depends on how experienced you are with the Drupal API
It depends on how good of a PHP programmer you are
It depends on how well you know these other PHP tools.
It depends on how much of the Drupal framework you think you'd use.
http://CakePHP.org is another option to throw into the mix.
Ray Smith
http://RaymondSmith.com
Ray Smith
http://RaymondSmith.com
...
See the Organic Groups collection of modules
See the Project collection of modules.
Both have more/different rights module that they extend core with.
Don't know if they will suit your needs.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
What Drupal lacks, in my
What Drupal lacks, in my opinion, is a generic tool for simple tables. There is Views, of course, but that only makes sense for tables which are part of the node paradigma, roughly speaking. It would be nice to be able to "viewify" any table, but that isn't possible without major module writing.
The other day, I needed a very simple table with the name, address and field of expertise of journalists, only 3 fields, all in 1 table. The Drupal form API is nice to make the create/update forms, but with regard to retrieving, I ended up making my own MySQL/PHP construction. A simple question like "Give me all journalists with expertise in politics" cannot be fitted in the Drupal framework.
Yes, there are modules for database maintenance, such as DBA, but they are too powerful to give in the hands of casual visitors. They are for admins only. What would be so nice to have, is a tool which allows you to provide the visitor with, say, retrieval and update/insert rights to table A, but only retrieval rights to table B, these tables having nothing to do with the Drupal structure. Simply put, a basic CRUD framework for arbitrary tables. If there is such a module, I'd be thrilled to give it a try...
I like your idea...
Excellent idea. I started a new discussion on this here.