Drupal 模块开发教程
我想学习如何在 drupal-modules 中创建模块,这些模块可以与用户、数据库交互、分配权限、视图。
有没有涵盖这些内容的好的视频教程或简单的示例模块?
谢谢。
I'd like to learn how to create modules in drupal- modules which can interact with the user, database, assign permissions, views.
Is there any good video tutorial or a simple sample module which covers these things?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我的建议是获取一份 Pro Drupal Development 并开始学习。我认为这本书是最好的一站式选择,为学习 Drupal 开发提供了一个易于理解且深入的起点。
如果您真的想在不购买书籍的情况下度过难关,我建议您查看 Lullabot 网站 获取任何免费内容他们可用的内容。
了解了初步背景知识后,Drupal api 页面应该会对您有所帮助。点击左上角的搜索框进行提前搜索,以查找有关 drupal 功能的详细信息。这将是一个很好的资源,可以帮助您了解 googletorp 列出的函数的更多背景信息。我同意 googletorp 的观点,即这些是一个很好的入门函数列表。
My suggestion would be to pick up a copy of Pro Drupal Development and start working your way through. I think that book is the best one stop option for providing an easy to follow, yet in depth start for learning Drupal development.
If you really wanted to get by without purchasing a book, I would suggest checking out the Lullabot site for whatever free content they have available.
After an initial background, the Drupal api pages should be helpful for you, . Hit the search box in the upper left hand corner for type ahead search to find detailed info on drupal functions. This would be a great resource for getting some more background on the functions googletorp listed. I agree with googletorp that those are a good list of functions to get started with.
学习如何在Drupal中进行开发需要付出一些努力。您也许能够找到一些不错的视频,但只有当您亲自动手并开始编码时,您才能真正掌握这些视频。
这对你来说有多难,也很大程度上取决于你的背景。经验丰富的 PHP 开发人员不会发现使用 Drupal 进行开发有那么困难。
不过,您需要了解一些关键点。
根据您的描述,您应该看看这些函数:
It requires some effort to learn how to develop in Drupal. You might be able to find some good videos, but you will only really master this when you get your hands dirty and start coding.
How hard this will be for you, is also highly dependent on your background. A seasoned PHP developer wont find it that difficult to develop with Drupal.
There are some key points that you need to understand though.
From your description you should take a look at these functions:
除了 googletorp 和 mike munroe 已经说过的内容之外,请查看 drupal.org 上的模块开发人员指南。在 api 站点上,查看文档齐全的示例模块。
In addition to what googletorp and mike munroe already said, check out the module developers guide on drupal.org. On the api site, check out the well documented example modules.
我通过 CodeKarate 从初级到高级学习了 drupal。它是 Drupal 最好的网站之一。
I have learnt drupal from beginner to advanced with CodeKarate. its one of the best website for drupal.
有一个关于开发 JQuery/Javascript 的非常好的、易于理解的教程Drupal 上的模块。也检查一下。
There is a very good, easy to follow tutorial on developing JQuery/Javascript modules on Drupal. Check it out as well.