简体   繁体   English

Drupal 6模块开发

[英]Drupal 6 module development

Hi 你好
I am going to develop Drupal 6 module, could someone please advise some reference about how to develop Drupal 6 module to me. 我将要开发Drupal 6模块,有人可以向我提供一些有关如何开发Drupal 6模块的参考。

Thanks you 谢谢

A similar Stack Overflow question, Good drupal books/resources for programmers/developers? 类似的堆栈溢出问题, 对于程序员/开发人员来说好的drupal书籍/资源? , contains a lot of useful responses. ,包含许多有用的回应。 Personally, if I could have only one resource, I'd want the Pro Drupal Development book. 就个人而言,如果我只能拥有一种资源,那么我想要一本Pro Drupal开发书。

Beyond that, check out the Examples for Developers project and/or read the code of the modules that ship with Drupal core , for examples of how to do the basics. 除此之外,请查看“ Developers for Developers”项目和/或阅读Drupal core附带模块的代码,以获取有关基础知识的示例。 Those modules get lots of review and are good examples of the Drupal coding standards . 这些模块得到了很多审查,并且是Drupal编码标准的很好的例子。

http://drupal.org/developing/modules此链接具有许多链接,可以满足您的好奇心。

if you know write php already and you want to know basic step for the create a module from Drupal you can reffer the link http://drupallearn.blogspot.com/2011/10/create-custom-modules-on-drupal-create.html you have to write your own code in module file. 如果您知道已经编写了php,并且想了解从Drupal创建模块的基本步骤,则可以参考链接http://drupallearn.blogspot.com/2011/10/create-custom-modules-on-drupal-create .html,您必须在模块文件中编写自己的代码。 hope this will be help. 希望这会有所帮助。

Lullabot has a very long video specifically on module development. Lullabot的视频很长,专门介绍模块开发。

While a book (go for Pro Drupal Development!) is often easier for reference and can adjust to your speed, I've found that videos really augment the learning experience. 虽然一本书(适合Pro Drupal开发!)通常更易于参考,并且可以根据您的速度进行调整,但我发现视频确实可以增强学习体验。 It's easier to remember things (that's what voice does), and you follow the process of the developer/lecturer, which can be very beneficial in it's own right. 记住事情很容易(这就是声音的作用),而且您遵循开发人员/讲师的流程,这本身就非常有益。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM