Something about this book pisses me off | Drupal 6 JavaScript and jQuery | Matt Butcher
 
 


Suche books:   



Drupal 6 JavaScript and jQuery
Matt Butcher

Packt Publishing, 2009 - 340 pages

average customer review:based on 4 reviews
view larger image
 for more information click here







Wax on and wax off

I can't read a PACKT book without getting fortunately surprised by the high profile of the author. Thank you Matt Butcher for this brilliant masterpiece.

In order to read "Drupal 6 JavaScript and jQuery" you only need to talk "grasp" Javascript, "rudimentary" HTML & CSS and have some familiarity with PHP. If you want to evolve from PHP neophyte and Javascript looser(and perhaps hater), read this book and be careful! because Matt "Yoda" Butcher will kindly teach you the secret arts of jQuery Knights from the ancient order of Drupal.

This adventure of 324 pages begins with a courage test: Do you speak PHP, SQL, HTML, CSS, XML, Javascript? Don't fear! This book includes a gently description for each of those languages, which tells "who is who" and helps to focus on the target: Javascript. The next challenge is perhaps the most important: Drupal's Architecture. Facing you with key concepts of Drupal: Theme, Module, Node, User and Block. Then, with a solid background you will then be ready to receive your own army knife: Drupal Javascript Development Tools.

When second lesson comes is time to join the concepts of "wax on and wax off", I'm talking about Working with Javascript and Drupal, here is when the real action begins. Twenty pages before you were learning about what a theme is, but now is time to create your very first Drupal stuff at the rhythm of the unforgettable Backstreet Boys song "Step by Step". But cooking your own delicious Drupal theme with Javascript potatoes and CSS tomatoes is not enough for a dinner that you deserve. Lesson number tree will show results of your effort and dedication, it is time for jQuery!

I've just commented about of three chapters, and there are six more waiting for you! Will let you discover and enjoy this book by your self. Remember, Drupal is not hard, it just takes time (like some of the best things in life).

Blessings!


 for more information click here


Wow, this is easier than I thought

Drupal version 6 ships with a Drupal JavaScript library (drupal.js) as well as a fairly recent and powerful library that is gaining followers rapidly called jQuery.

I have been waiting for this book to come out for months, since I first heard that it was being written. Now that I have had a chance to read it, I must say that it does not fail to please.

What I wanted to learn was why Drupal chose to include JavaScript in the Drupal core, what it is used to accomplish and how. I am very familiar with HTML and CSS, and am reasonably adept at reading and modifying PHP when necessary, so all the other main parts of Drupal are built using tools I know and understand. I wanted to find out how and why I would want to take advantage of the stated and implied benefits of including the free and open source jQuery library in sites I administer and design using Drupal.

The books starts off with a very quick introduction to Drupal. It is obvious that the intended audience is not newcomers, and that this is not a basic introduction level text. It is assumed that anyone reading this is familiar with web site creation and administration, web hosting basics, and knows how to install a Drupal site that uses the default theme. You get a quick tour of the main core features of Drupal and some nice web browser tools for developers. Then we get to the meat of the book.

Starting in chapter two we learn how to work with JavaScript in Drupal by writing a short js program and discovering how to include it in a node by incorporating a link to the script in a theme. This is a clear and great beginning.

Chapter three is dedicated completely to the jQuery library, what it is capable of doing, and how to use it the Drupal way instead of reinventing the wheel. The basic point here is that it is a lot easier to use a library to perform complex tasks than it is to write a complete JavaScript function, which would then need to be adapted for different browsers, and it is easy to call those library functions within Drupal because the Drupal developers have chosen to create ways to do so that are even easier than calling those library functions would be in a standard flat HTML/CSS page or some other content management systems. There are useful examples throughout such as how to make a set of announcements display one at a time at the top of your page, fading in and out, so that you can give several tidbits of information to your site guests without requiring all of the space on your page. Cool stuff.

The book contains useful information on how to use the drupal.js library, written by the Drupal developer community, to do many tasks, such as the sample collapsing blocks project that lets guests choose whether to allow information to be displayed or to shrink boxes so that there is more space on a page. We learn how to use js to create beautiful effects and help with site theming, how it can be used to translate your site into other language for guests, and even how to build your own modules.

I have only scratched the surface of the book. I am still learning the language. By intent, jQuery is a huge time saver and makes incorporating client side functions into your site easier than using the language alone, and the way the Drupal community has chosen to incorporate that library and write their own in addition makes it still easier. I am glad I picked up the book. Now, if you will excuse me, I need to go play.


 for more information click here


Something about this book pisses me off

I find it hard to pick this book up and use it. I guess it's because it takes too long to get you to the part you need to fit your application into the drupal framework. I've skipped around a lot and I can tell there's some quality nuggets in there, I just have to do too much to find it. If i'm doing that, why don't i just google it because I know js/jquery fairly well already? Trying to do it the -right- way for drupal (and there's a right way) takes too much effort and make brain hurt. Maybe that's my fault. I'm just sharing my impression, hopefully for your benefit.

The good news is that barnes and noble carries this title often so you can read through it to decide whether or not buy it cheaper on amazon! harhar ima dick.


 for more information click here




 for more information click here


A great way to learn about using Javascript and jQuery in Drupal.

Drupal, is a powerful content management system that allows you to build professional, scalable websites without needing a large amount of programming knowledge. Many books have been written about using Drupal to create content and theme the content so it matches your look in feel. However, not much had been written about improving the experience of users as they interact with your website until Drupal 6 JavaScript and jQuery was written by Matt Butcher.

The majority of Drupal 6 Javascript and jQuery is structured as a series of projects with complete source code and detailed descriptions of how the project works and the design decisions the author made as he wrote the code. Projects real-time notifications for new comments, a templating system, a simple text editor, an rss viewer, auto-completion for search fields, collapsible blocks, and more. All projects are so well explained that anyone with basic programming knowledge in any language will be able to follow along, but experienced developers will not find the explanations tedious. This is an extremely difficult balance to strike in a technical book. I was also impressed that many of the projects were practical and could easily be extended for use in websites. The projects even gave me ideas that I could use for sites that are not Drupal based.

The book starts with a brief introduction to Drupal and the elements with Drupal that will be manipulated throughout the book. With that explanation done, the book quickly moves introduces as to two tools that will make developing Drupal based sites with Javascript easier. The first tool is Firebug a Firefox extension which includes a powerful Javascript debugger (plus loads of other great tools). The second tool is the Devel module for Drupal. The Devel module allows you to inspect much of what is going on behind the scenes in Drupal. The Theme developer information is especially relevant for this book.

After all of the tools are been introduced, the meat of the book starts and we learn the Drupal way of adding JavaScript to our site. Some of the most valuable advice in this section are the tips which will especially help novices to learn the basics. After a quick project to demonstrate including Javascript, we dive into jQuery. The introduction to jQuery section covers the basics of jQuery and demonstrates using jQuery outside of Drupal before a presenting a project with the two combined. Using this approach definitely makes it easier to understand the jQuery syntax if you haven't had a chance to try jQuery before.

After our tutorial on jQuery, we turn our focus back to Drupal and the functionality contained drupal.js in Chapter 4. The majority of the time is spent talking about Drupal behaviors which allow you to define code which runs when a specific condition is met. The chapter also explores other key functionality which Drupal provides to JavaScript developers. Projects in this section make extensive use of jQuery to minimize the amount of custom code which needs to be written. It's also nice to see the author include information about making your code more secure, a topic which is often ignored in the interest of streamlining code.

Next we move onto translations. I have to admit that this isn't the most exciting section of the book. However, my next project will be a multi-lingual site so I'm sure that I will be referring back to this section extensively during that project. Although the topic is a little dry, Matt does an excellent job explaining all of the intricacies of handling translations in JavaScript.

As we move out of the translation section, we journey into the world of themeing from a JavaScript perspective. Themeing is essential to every Drupal project regardless of whether you are using a contributed theme or creating a custom theme that you build from scratch. The themeing system within Drupal is remarkably sophisticated. However, much of that sophistication is not available within JavaScript. Therefore, the project for this chapter builds a framework to support themes in JavaScript. The themeing capabilities are very similar to those found within PHP and include the ability to define templates which can be overridden by other developers allowing presentation to be implemented independently from business logic. Although the project itself is complicated the explanation is easy to follow and well documented. The themeing system is used in all future projects throughout the rest of the book.

The next topic is AJAX and webservices. The projects in this chapter include a webclips project which displays a random item from an RSS feed and real-time comment notifications. The webclips project uses an XML feed to get data and the comment notification uses a JSON based data feed. The JSON feed is created using the Views module. The techniques used in this chapter can be used in a wide variety of projects.

Up to this point in the book, all code has been implemented within Drupal themes to keep the emphasis on JavaScript and jQeuery. In chapter 8, the book explores adding Javascript to a Drupal module. This is done to make the code easier to deploy and independent of the theme you are using on your site. The main project in this site focuses on extending the Simple Text Editor built in chapter 4. The revised editor adds additional capabilities to the editor, makes additional use of jQuery, and makes the code easier to maintain and extend. As always, the code is easy to understand and expertly described.

The final chapter features 2 projects which both a very cool factor and could be used on a majority of websites. Rather than describing them in detail here, I'll leave it to you to read more about them.

I highly recommend Drupal 6 JavaScript and jQuery to anyone building sites with Drupal that want to make their sites more interactive and leverage the power of JavaScript.


 for more information click here






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 are necessarily implemented in PHP. This unique book, for web designers and developers, will take you through what can be done with JavaScript (and especially with jQuery) in Drupal 6.

With the combination of the powerhouse jQuery library with its own robust set of JavaScript tools, Drupal 6 comes with a pre-packaged killer JavaScript environment. Cross-platform by nature, it provides all 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 language translation - to JavaScript, making it possible to write simple scripts where once only complex PHP code could be used.

This book gives you the keys to the toolbox, showing you how to use Drupal's JavaScript libraries to make your modules and themes more dynamic, interactive and responsive, and add effects to make your Drupal site explode into life!

If you've dipped your toe in the water of theme or module development with Drupal 6, this is the book you want to make the look and behavior of your work something special. With it's project-based approach, this book is carefully constructed to guide you from how JavaScript fits into the overall Drupal architecture through to making you a master of the jQuery library in the world of Drupal themes and modules.

What you will learn from this book?

An introduction to JavaScript in Drupal 6The basics of the jQuery libraryCreating JavaScript-enabled themes Manipulating a page on the fly with jQueryAuthoring simple PHPTemplate files designed to maximize scripting potentialUsing jQuery to add effects in Drupal 6Working with Drupal 6 behaviors Adding AJAX to modulesUsing 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 libraryWriting portable JavaScript tools as Drupal modules

Approach

This book focuses on teaching by example. Chapters are packed with example code, providing hands-on examples you can play with and then release to your own Drupal sites. By introducing short projects interspersed 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 add JavaScript elements to Drupal themes or modules to create more flexible and responsive user interfaces.

You are expected to know about the basic operation of Drupal, and be familiar with the concept of theming and modules in Drupal. No experience 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 syntax of JavaScript. Familiarity with PHP programming will be an advantage, since we will be writing PHPTemplate files and (at the end) creating Drupal modules. However, the PHP is covered thoroughly enough that even the PHP neophyte will not find the text too demanding. The book also covers the jQuery JavaScript library and its use in Drupal, but no knowledge of jQuery is expected - you will learn everything you need in this book.


 for more information click here




hot or not?    What's your opinion?     Write a review and share your thoughts!











   


javascript

Head First JavaScript
Learning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating ...
JavaScript: The Definitive Guide
Murach's JavaScript and DOM Scripting (Murach: Training & Reference)
JavaScript: The Missing Manual



jquery

Dojo: The Definitive Guide
jQuery UI 1.7: The User Interface Library for jQuery
Professional ASP.NET MVC 1.0 (Wrox Programmer to Programmer)
jQuery in Action
jQuery UI 1.6: The User Interface Library for jQuery



drupal

Learning Drupal 6 Module Development: A practical tutorial for ...
Cracking Drupal: A Drop in the Bucket
Drupal Essential Training
Drupal 5 Views Recipes
Pro Drupal Development, Second Edition (Beginning)




search for books
drupal, javascript, jquery




Suche books:   


books
apparel
baby
beauty
books
camera photo
cell phones
classical music
computers
dvd
electronics
gourmet food
health personal care
kitchen
magazines
musical instruments
office products
outdoor living
computer video games
popular music
pet-supplies
software
sporting goods
tools hardware
toys-games
vhs
watches jewelry



* Palmer Profitability

randomly chosen


book: Models of Care for Drug Service Provision

home  impressum - about us