找回密码
 注册
搜索
热搜: java php web
查看: 745|回复: 1

Drupal 6 JavaScript and jQuery

[复制链接]
发表于 2010-1-3 09:48:18 | 显示全部楼层 |阅读模式


作者:Matt Butcher
出版日期:March 9, 2009
出版社:其它
页数:340
ISBN:ISBN-10: 1847196160 ISBN-13: 978-1847196163
文件格式:PDF

Putting jQuery, AJAX, and JavaScript effects into your Drupal 6 modules and themes
  • Learn about JavaScript support in Drupal 6
  • Packed with example code ready for you to use
  • Harness the popular jQuery library to enhance your Drupal sites
  • Make the most of Drupal’s built-in JavaScript libraries
In Detail
JavaScript: It’s not just for calculators and image rollovers.
Drupal 6 is loaded with new features, and not all of them arenecessarily implemented in PHP. This unique book, for web designers anddevelopers, will take you through what can be done with JavaScript (andespecially with jQuery) in Drupal 6.
With the combination of the powerhouse jQuery library with its ownrobust set of JavaScript tools, Drupal 6 comes with a pre-packagedkiller JavaScript environment. Cross-platform by nature, it providesall of the tools necessary to create powerful AJAX-enabled scripts,gorgeous visual effects, and view-enhancing behaviors. In addition,Drupal developers have ported some of its most powerful PHP tools –like a theming engine and support for localization and languagetranslation – to JavaScript, making it possible to write simple scriptswhere once only complex PHP code could be used.
This book gives you the keys to the toolbox, showing you how to useDrupal’s JavaScript libraries to make your modules and themes moredynamic, interactive and responsive, and add effects to make yourDrupal site explode into life!
If you’ve dipped your toe in the water of theme or moduledevelopment with Drupal 6, this is the book you want to make the lookand behavior of your work something special. With it’s project-basedapproach, this book is carefully constructed to guide you from howJavaScript fits into the overall Drupal architecture through to makingyou a master of the jQuery library in the world of Drupal themes andmodules.
What you will learn from this book?
  • An introduction to JavaScript in Drupal 6
  • The basics of the jQuery library
  • Creating JavaScript-enabled themes
  • Manipulating a page on the fly with jQuery
  • Authoring simple PHPTemplate files designed to maximize scripting potential
  • Using jQuery to add effects in Drupal 6
  • Working with Drupal 6 behaviors
  • Adding AJAX to modules
  • Using Drupal’s localization and language translation engine in your JavaScript
  • Theming on the client-side with Drupal’s JavaScript theme engine
  • Building better forms
  • Working with Drupal 6’s JavaScript library
  • Writing portable JavaScript tools as Drupal modules
Approach
This book focuses on teaching by example. Chapters are packed withexample code, providing hands-on examples you can play with and thenrelease to your own Drupal sites. By introducing short projectsinterspersed with discussion, the pace is rapid yet practical.
Who this book is written for?
This book is for web designers and developers who want to addJavaScript elements to Drupal themes or modules to create more flexibleand responsive user interfaces.
You are expected to know about the basic operation of Drupal, and befamiliar with the concept of theming and modules in Drupal. Noexperience of creating themes or modules is required.
You will need to know the basics of client-side web development;this means HTML, CSS, but also have a rudimentary grasp of the syntaxof JavaScript. Familiarity with PHP programming will be an advantage,since we will be writing PHPTemplate files and (at the end) creatingDrupal modules. However, the PHP is covered thoroughly enough that eventhe PHP neophyte will not find the text too demanding. The book alsocovers the jQuery JavaScript library and its use in Drupal, but noknowledge of jQuery is expected – you will learn everything you need inthis book.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2010-4-15 07:57:16 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|软晨网(RuanChen.com)

GMT+8, 2024-9-20 15:44

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表