![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Drupal
文章平均质量分 82
wonderfan
云计算,电商和移动互联网
展开
-
Drupal's Bootstrap
1. Drupal bootstrap' phases: static $phases = array( DRUPAL_BOOTSTRAP_CONFIGURATION, DRUPAL_BOOTSTRAP_PAGE_CACHE, DRUPAL_BOOTSTRAP_DATABASE, DRUPAL_BOOTSTRAP_VARIABLES, DRUPAL_原创 2012-11-26 16:53:57 · 623 阅读 · 0 评论 -
Use Drupal
Whenever I work with a significant framework or off-the-shelfsoftware, I invariably encounter situations in which I need to do“one-off” programmatic batch tasks outside the normal flow of theapplicati原创 2012-12-26 18:51:13 · 773 阅读 · 1 评论 -
How Drupal servers requests?
This article describes how Drupal 7 servers requests topages and how to get information about executed page handler.Any request to Drupal page is served by the index.phpfile in Drupal's directory.原创 2012-12-26 18:51:17 · 435 阅读 · 0 评论 -
CMS Series:Joomla and Drupal
A pluginis a kind of joomla extension. Plugins provide functions which areassociated with trigger events. Joomla provides a set of coreplugin events, but any extension can fire events. When a partic原创 2012-12-26 18:52:37 · 439 阅读 · 0 评论 -
Guide to Drupal cache
Building complicated, dynamic content in Drupal is easy, but itcan come at a price. A lot of the stuff that makes a Web 2.0 siteso cool can spell 'performance nightmare' under heavy load,thrashing the原创 2012-12-26 18:51:15 · 421 阅读 · 0 评论 -
Drupal line by line : part 3
I'd just finished explaining that Drupal was aware that it neededto do a full bootstrap and it was just about to start the firstphase of that process.Drupal calls the function _drupal_bootstrap_conf原创 2012-12-26 18:51:07 · 514 阅读 · 0 评论 -
Use ANT and Maven to create executable jar with dependent library
As we all know, we can use java jar command and IDE (Eclipse, Net-Bean and etc) export tools to generate the java jar file. Sometime, it is more convenient and maintainable to use ANT and Maven to do原创 2012-12-19 20:07:33 · 719 阅读 · 0 评论 -
Drupal Form API
Now, form generation engine collects the information about formelements bycalling element_info() function.This in turn callshook_element(), which might beimplemented by other modules. We can use this原创 2012-12-26 18:54:10 · 344 阅读 · 0 评论 -
Custom Field Handlers for Views
This is the goal: Extending the schedulermodule tobe able to view a countdown until a node is published orunpublished. Countdown meaning "How many time units until the nodeis published or unpublis原创 2012-12-26 18:54:06 · 347 阅读 · 0 评论 -
Magento And Drupal : Small Tips
Sometime, it is easy to use Magento log to track the problem.However, it is hard to find the your desired information as the logfile is large with lots of other information. The better way is tocreate原创 2012-12-26 18:53:57 · 354 阅读 · 0 评论 -
Drupal 7 Entities:What are they?
In Drupal 6, module developers often use Nodes as an all-purposemethod for having objects that can be saved into the database. Thishack avoids having to write a lot of boilerplate CRUD for allcustom d原创 2012-12-26 18:53:37 · 511 阅读 · 0 评论 -
Drupal line by line : part 5
Welcome to the 5th installment of the Drupal 7 Line by Lineseries of articles.In the first four installments I covered index.php, the basicsof the drupal_bootstrap() function and the first two phase原创 2012-12-26 18:51:11 · 383 阅读 · 0 评论 -
Drupal 7 Line by Line : Part 2
this post I'll start walking through one of those functions:drupal_bootstrap(). If you recallfrom Part 1 I said this function is starts up (bootstraps) all ofDrupal's mechanisms required to handle a原创 2012-12-26 18:51:04 · 447 阅读 · 0 评论 -
Drupal 7 Line by Line
With the choice made I got working on a graphic design and thetask of decorating/styling/skinning (or what Drupal called theming)my website. The hacker in me didn't bother Googling for answers orreadi原创 2012-12-26 18:51:02 · 423 阅读 · 0 评论 -
Clone in the PHP
Objects in PHP are assigned by reference, so copying an object with the = operator will result in a second variable referencing the same object and not an actual copy. Enter PHP's clone function which原创 2012-12-07 15:10:24 · 357 阅读 · 0 评论 -
How to use modules in Drupal
When you finish a series of module actions: download, install and enable; you would wonder how front-end UI accesses or uses your installed modules. From Drupal's codes, i know that there are two ways原创 2012-12-12 18:55:17 · 630 阅读 · 0 评论 -
Understand Drupal's render and theme
You may say that Drupal does not follow the MVC way. In my opinion, Drupal have the implicit MVC pattern like these: Model: database layer and entity module;Controller: menu system;View: Drupal原创 2012-12-14 14:10:32 · 667 阅读 · 0 评论 -
Explore block module in Drupal
block.info is the block module description file and the "package" property tells us that block is Drupal core module and it can be configured by menu "admin/structure/block".block.install is execute原创 2012-12-15 11:07:27 · 646 阅读 · 0 评论 -
Entities, Bundles,Fields and Field instance
EntitiesAn entity is an abstractdata type in drupal. An Entitytype is required to implementthe Entity interfaces asdefined in the core Entity API. It is a generalisation of the node,comment, user,原创 2012-12-26 18:54:12 · 331 阅读 · 0 评论 -
Overview Of The Drupal Module Info File
OverviewOf The Drupal Module Info FileDrupal uses .info files to store metadata about themes andmodules.For modules, the .info file is used for:rendering information on the Drupal We原创 2012-12-26 18:54:01 · 482 阅读 · 0 评论 -
One big topic in Drupal: theme
What is a theme function?A theme function is a PHP function within Drupal that is prefixedwith theme_. Theme functions display HTML, and which can becustomized by themes.All functions that pro原创 2012-12-26 18:53:55 · 424 阅读 · 0 评论 -
Drupal_bootstrap:Connect to Drupal
For testing purposes, or for executing Drupal-related operationsbut from a PHP script that runs outside of Drupal, I often createindependent PHP files that are not meant to be Drupal modules butstill原创 2012-12-26 18:51:00 · 480 阅读 · 0 评论 -
Drupal line by line : part 4
Welcome to the fourth part of the Drupal 7 Line by Line seriesof articles.In this series I've been going through the Drupal page loadprocess by going through the code line by line. So far I've cover原创 2012-12-26 18:51:09 · 461 阅读 · 0 评论 -
Creating an Executable jar File
In Java, it is common to combine several classes in one .jar ("java archive") file. Library classes are stored that way. Larger projects (such as the Case Study in the AP program) use jar files. Yo原创 2012-12-19 19:46:17 · 590 阅读 · 0 评论 -
Drupal Blocks:What Changed in D6 and D7
Blocks in Drupal 6 (and 5) always felt a little less loved thanother portions of Drupal. While the node and theming APIs offeredstraightforward and often elegant methods to modify behaviourwithout m原创 2012-12-26 18:53:59 · 411 阅读 · 0 评论 -
REST service in Drupal
1.需要用到的模块2.配置service resources3.调用service原创 2013-11-09 17:41:39 · 616 阅读 · 0 评论