使用 CMS 处理复杂的数据收集
我为我就读的大学的一个小组做网络工作。我们正在请一家设计公司重做我们的网站,并将我们自己对网站进行编码。我们希望在 CMS 之上构建新网站,以便人们可以轻松添加内容。到目前为止,我一直在考虑使用 Drupal。在思考 Drupal 为我们提供的服务效果时,我遇到的问题是数据收集。我们正在彻底修改我们的数据库以保持数据集中。例如,我们不是为每个表单创建一个包含名字和姓氏字段(我们所做的许多表单的通用字段)和所有其他字段的表,而是将通用字段提取到用户表等表中。这将帮助我们更好地跟踪人们对我们团队的参与情况,并使我们的数据更加有用。有没有简单的方法可以使用 Drupal 模块来做到这一点?我对 CCK 进行了一些研究,但它看起来除了对表之间没有“复杂”关系的简单数据之外没有什么用处。
您有什么建议?有一些我可以使用的好模块吗?您是否推荐一个更适合我的需求的不同 CMS(注意:需要是 php)?
I do web work for a group at the university I attend. We’re having a design company redo our site and will be coding the site ourselves. We’d like to build the new site on top of a CMS so that people can easily add content. So far I’ve been looking into using Drupal. The problem I’m running into while thinking through how well Drupal will work for us is in regards to data collection. We’re overhauling our database to keep data centralized. For example, rather than create a table for every form with fields for First Name and Last Name (common fields for a lot of the forms we do) and all other fields, we’re pulling the common fields out to tables like a user table. This will help us track people’s involvement with our group much better and make our data far more useful. Is there any easy way to do this with Drupal modules? I’ve looked into CCK a bit but it doesn’t look like it’s useful for more than simple data that doesn’t have “complex” relationships between tables.
What are your recommendations? Are there some good modules I could use; do you recommend a different CMS (NOTE: needs to be php) that would better suite my needs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我和你有同样的问题——到目前为止,我遇到的从表单收集数据的最好的 CMS 是 Concrete5 (http: //concrete5.org)。每当您使用他们的“表单”块时,提交的内容都会发送到仪表板后端的“报告”部分。我不喜欢他们的组织方法,但这是迄今为止我见过的最好的组织方法,而且它还允许您转储到文件。
I have the same exact question as you -- so far the best CMS I've come across for data collection from forms is Concrete5 (http://concrete5.org). Any time you use their "form" block, the submissions are sent to the "Reports" section on the back end of the dashboard. I don't love their organization method, but it's the best I've seen so far, and it also lets you dump to a file.
我认为您想要带有视图和有机组的 Drupal。
你们有哪些形式?
I think you want Drupal with Views and Organic Groups.
What kind of forms do you have?
如果您关心数据库结构,则不应使用 Drupal。 CCK 是定义内容类型的方法,60% 的 Drupal 站点都使用它,也是 Drupal 7 核心字段的基础。
也就是说,您可能想质疑您的一些假设。首先,有很多模块向CCK添加了新的字段类型,例如FileField,因此可能并不像你想象的那么简单。其次,您是否真的需要担心数据库的组织方式,或者这只是达到其他目的(例如报告)的一种手段。如果它正在报告您的需求,您通常可以使用 Views 来处理它,这是唯一使用超过CCK。
如果您确实需要担心数据库结构,并且确实需要比 CCK 能够处理的更复杂的关系,我建议您不要寻找 CMS,而是寻找一个框架。这些类型的详细信息通常在 CMS 中自动处理。
You shouldn't use Drupal if you care about database structure. CCK is the method of defining content types, used on 60% of all Drupal sites and the basis of fields in Drupal 7 core.
That said, you may want to question a few of your assumptions. First, there are a lot of modules that add new field types to CCK, e.g. FileField, so it may not be as simple as you think. Second, do you really need to worry about how the database is organized, or is that just a means to some other end, e.g. reporting. If it's reporting you're after, you can generally handle that with Views, the only module used more than CCK.
If you really do need to worry about the database structure and really do need more complex relations than CCK can handle, I'd suggest you're not looking for a CMS so much as a framework. Those kinds of details are generally handled automatically in a CMS.