Linux loadable kernel modules, introduced in version 1.2 of the kernel, are one of the most important innovations in the Linux kernel. They provide a kernel that is both scalable and dynamic. Discover the ideas behind loadable modules, and learn how these independent objects dynamically become part of the Linux kernel.
If you release a new version of your module and it needs to have a new database schema, you need to do two things to make this change work. First, be sure to update the schema structure in mymodule_schema() so that new installations of your module get the new database table structure. Second, use a hook_update_N() function,
"To add CSS or JS that should be present on all pages, modules should not implement this hook, but declare these files in their .info file."
CSS files can be added to a .info file using the following format:
Following the Snobol tradition, LPeg defines patterns as first-class objects. That is, patterns are regular Lua values (represented by userdata). The library offers several functions to create and compose patterns. With the use of metamethods, several of these functions are provided as infix or prefix operators. On the one hand, the result is usually much more verbose than the typical encoding of patterns using the so called regular expressions (which typically are not regular expressions in the formal sense). On the other hand, first-class patterns allow much better documentation (as it is easy to comment the code, to use auxiliary variables to break complex definitions, etc.) and are extensible, as we can define new functions to create and compose patterns.
Images, JavaScript, and Flash files that PHP sends to the browser are not affected by the GPL because they are data. However, Drupal's JavaScript, including the copy of jQuery that is included with Drupal, is itself under the GPL as well, so any Javascript that interacts with Drupal's JavaScript in the browser must also be under the GPL or a GPL compatible license.
One Step Checkout for Magento will simplify the checkout process in your Magento store and increase your sales. By reducing the amount of steps to just a single one, and removing unecessary questions and fields, more of your customers will complete the purchase. Supports GeoIP, AJAX-updating of totals and much more.
* View
* CVS instructions
Modules · Developer · JavaScript utilities · Performance and scalability · Theme related · Utility
derjochenmeyer - January 17, 2008 - 01:07
Javascript Aggregator
The aim of the JavaScript Aggregator module is to improve performance of your site with less server requests and bandwidth per page. In Drupal 5, all the JavaScript files will be aggregated into one file and optionally minified. JavaScript aggregation was brought into core with Drupal 6, so the Drupal 6 version of this module goes one step further to minify that file.
It basically does the following:
* Takes the $scripts variable and removes .js files using a regular expression
* Generates a unique filename for any set of .js files
* Creates and caches one file containing all .js files in files/js
* Optionally minifies the JavaScript using JSMin
* Returns a modified $scripts variable with link to cached file
To aggregate the JavaScript files in Drupal 5:
"Fashionly ist eine Community- und Nachrichtenseite zum Thema Mode und Lifestyle. Die Anwendung nutzt das Potential von Syndizierung mittels Push- und Pop-Techniken und integriert Twitter, Facebook und LinkedIn und damit einen hohen Grad an viralem Marketing. Die Realisierung von Fashionly besitzt einen extrem hohen Automatsierungsgrad, wie z.B. automatische Verschlagwortung und Kategorisierung mittels Workflow-Funktionalität. Wie wir dies technisch mit Drupal-Bordmitteln umgesetzt haben stellen wir gerne vor." Leider geht aus der Präsentation nur hervor, dass das Ganze mit den Modulen Feed-API, Services, Blog-API, OpenCalais und Twitter realisiert wurde.
P. D, C. Veeramani, B. Shalini, and R. Karthika. International Journal of Innovative Science and Modern Engineering (IJISME), 2 (10):
41-45(September 2014)