la drupal camp 2012: beginner best practices

24
Level Up: For Beginning Themers and Site Builders Meghan Sweet (@meghsweet) 28 July, 2012 LA Drupal Camp 2012

Upload: meghsweet

Post on 21-Jan-2015

1.994 views

Category:

Technology


5 download

DESCRIPTION

This session is tailored specifically to beginners who want to check in with their process, learn some new tricks, and ask questions. There is a lot to know about Drupal and there are many ways to accomplish the same goal. So there are no absolute right answers here, just suggestions and discussion.

TRANSCRIPT

Page 1: LA Drupal Camp 2012: Beginner Best Practices

Level Up: For Beginning Themers and Site Builders

Meghan Sweet (@meghsweet)

28 July, 2012

LA Drupal Camp 2012

Page 2: LA Drupal Camp 2012: Beginner Best Practices

Welcome!How do you learn

Drupal?

Page 3: LA Drupal Camp 2012: Beginner Best Practices

Sometimes things are really easy..

Page 4: LA Drupal Camp 2012: Beginner Best Practices

Sometimes things are really hard.

Page 5: LA Drupal Camp 2012: Beginner Best Practices

Standing on the Shoulders of GiantsLeveraging Contributed Modules-17,318 Modules on Drupal.org

- Assess the project page

- Read the README file

- Put all contrib modules in ../sites/all/modules/

-Views, admin_menu, ctools, webform, wysiwyg, panels, context.

Page 7: LA Drupal Camp 2012: Beginner Best Practices

What do you need in your toolbox?HTMLCSS / JavascriptWillingness to build rapport with PHPFirebug or Chrome Inspector

Basics of the Command LineDrushVersion ControlDev > Test > Live

Drupal Community

You can leverage a lot of skills you already have.

Page 8: LA Drupal Camp 2012: Beginner Best Practices

The “Drupal Way”?

Page 9: LA Drupal Camp 2012: Beginner Best Practices

Site Development Plan

Typical Drupal Site

Page 10: LA Drupal Camp 2012: Beginner Best Practices

Gall's Law

A complex system that works is invariably found to have evolved from a simple system that worked...

Page 11: LA Drupal Camp 2012: Beginner Best Practices

Build features zoomed in, then pull back and

see how it all fits together.

Page 12: LA Drupal Camp 2012: Beginner Best Practices

Structure Content

Break up your content into the pieces you want control over.

Important in mobile theming- content first

Consider your admins and your visitors.

Good content is user-centeredAdopt the cognitive frameworks of your users- E R I N K I S S A N E

Page 14: LA Drupal Camp 2012: Beginner Best Practices

Slow Site?

Page 15: LA Drupal Camp 2012: Beginner Best Practices

Common Client-side Performance Pitfalls- Cache Settings

- Image Optimization

- Image Handling

- CSS Images

- Size of pages, libraries, CSS.

Page 16: LA Drupal Camp 2012: Beginner Best Practices

Theming!

Where everything can be overridden.

Page 17: LA Drupal Camp 2012: Beginner Best Practices

There is no "best" theme.

-@rupl

Page 18: LA Drupal Camp 2012: Beginner Best Practices

Where to startDevelop a theming strategy and find a theme to match

- ‘Starter’ themes- Base Themes- Responsive Theming- Click-to-Config

Page 19: LA Drupal Camp 2012: Beginner Best Practices

Control your layout through configurationPanels, Panelizer, Panopoly

Context, Omega

Display Suite

Page 20: LA Drupal Camp 2012: Beginner Best Practices

Advancing Theming

Its all about Overriding

Configuration -> CSS -> PHP

Page 21: LA Drupal Camp 2012: Beginner Best Practices

You can give back to the community.

Page 22: LA Drupal Camp 2012: Beginner Best Practices

Coding Standards- Indent of 2 spaces

- No trailing white space

- CSS properties in alphabetical order

Page 23: LA Drupal Camp 2012: Beginner Best Practices

Learn MoreBooks

Training

Documentation

Blogs

Videos

Meetups

Camps and Cons

IRC

Spirit of willingness, giving back and helping each other

Page 24: LA Drupal Camp 2012: Beginner Best Practices

Thank You!@meghsweet

@chapter_three