Notes for CodeSchool's Javascript ES2015

This article is now hosted at: http://bbros.us/blog/notes-codeschools-es2015

The following are my notes for ES2015: The Shape of JavaScript to Come course: https://www.codeschool.com/courses/es2015-the-shape-of-javascript-to-come . The course gives an overview of the new syntax features available in ES2015. (Please also see the attached file for better formatting.)

Notes for CodeSchool's Javascript Best Practices

The following are my notes for Codeschool.com Java Script Best Practices course: http://campus.codeschool.com/courses/javascript-best-practices/contents . The coarse mainly features how to create modules from your javascript code, in a way that is easy to manage. (Please also see the attached file for better formatting.)

JavaScript Best Practices

* notes 1.1

Disable Incompatible GrowlMail Plugin in OSX 10.8

After upgrading to OSX 10.8, I no longer needed Growl installed because of the built-in notification system. After uninstalling Growl, I fould that GrowlMail was still installed and was keeping my Mail program from starting automatically. You can remove this plug-in manually by turning off mail, and then removing ~/Library/Mail/Bundles/GrowlMail.mailbundle

Up with the Google Fonts Module

After being alerted to Google Fonts, the Google Font API, and the Google Fonts Module in a recent Drupal Planet post (http://acquia.com/blog/robert/google-fonts-api-time-drupal-market-one-day), I dropped my lunch and said, "Rad!" Then I rolled up the sleeves and dropped a few fonts into my blog as easy as the dog drops logs on the lawn. What follow is usage notes and examples on getting this all going for yourself:

How-to wrap your CSS Injector files into a new Zen sub-theme

I frequently use a 3rd party designer to help with the tedious task of going from PSD to final theme. If you haven't realized it yet, but alot of designers have problems setting up a local MAMP install w/ drupal in which to fuck with css. To deal with this without giving the designer any command-line access, my shop uses what we call CZI on all drupal installs. This stands for CSS Injector, Zen theme, IMCE, and allows a designer to upload images and apply css rules to a development site they have been given permissions for on the theme, Zen, that provides all the classes and ids anyone would need.

After my shop, the designer, and the client are satisfied, CSS Injector and it's external files become a weight and need to be removed. Below I detail the process of using Zenophile (http://drupal.org/project/zenophile) to create a zen subtheme in which to wrap up all your CSS Injector files:

Drupal Legal Module Provides Required Terms and Conditions

If you want to make any sort of terms and conditions applicable to becoming a member of your Drupal site, I would suggest using the Legal module. It provides for a text agreement that a user must agree to to get an account on the site. The agreement is signified via a single checkbox or multiple custom checkboxes. Additionally, the terms can be updated which requires users to agree to the agreement during their next site visit, a text box also provides for notes on changes.

Installation and Setup for Node Reference View

The Node Reference module defines a field type for use by the Content Creation Kit (CCK) to reference one node from another. It works very good and allows you to add a greater amount of complexity to your site. The only problem with the Node Reference module is that the default display options for the referenced node field are very limited. But thanks to the Node Reference Views module, you can use all the formatting power of the Views module to display your referenced node field.

Installing and Configuring Tagadelic in Drupal 6

Having built two fairly robust and strongly interlinked taxonomies to aid in categorization, SEO and navigability of my site, I decided I wanted one of those (old school) tag clouds to display my lexicon. After waiting for the enormous drupal modules page to load, I decided the best route to follow would be to use Tagadelic, though it appears that I may have to use helper modules to get the fully customizable effect I am looking for.

According to the module description found on the module page of your site: Tagadelic makes weighted tag clouds from your taxonomy terms.

How to Park a Domain at Google via Adsense

As a Web developer I have collected a large stable of domains over the years. Sometimes from clients that failed to make payments. Sometimes from when my own genious internet startup ideas get no further then the late night domain purchase. I decided to make better use of my domains and have now turned a select few of them into parked domains at Google Adsense. An example can be found at http://themvs.us . While I was at it, I wrote detailed notes for my company's use. I have included a version of those notes here to help anyone else along who plans to do the same.

Formatting Timestamps in Drupal

Most data dealing with times and dates is stored as a as a standard Unix timestamp in Drupal. Examples of this are the node creation and revision dates, or the user creation, login, and access dates. If you access this data directly from the database you will retrieve this highly illegible timestamp. Good thing that Drupal provides a function for formatting dates: format_date().

Syndikovat obsah