la drupal camp 2012: beginner best practices
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/2.jpg)
Welcome!How do you learn
Drupal?
![Page 3: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/3.jpg)
Sometimes things are really easy..
![Page 4: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/4.jpg)
Sometimes things are really hard.
![Page 5: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/8.jpg)
The “Drupal Way”?
![Page 9: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/9.jpg)
Site Development Plan
Typical Drupal Site
![Page 10: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/11.jpg)
Build features zoomed in, then pull back and
see how it all fits together.
![Page 12: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/12.jpg)
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 13: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/13.jpg)
Skew, The Frontend Engineer's Misery
![Page 14: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/14.jpg)
Slow Site?
![Page 15: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/16.jpg)
Theming!
Where everything can be overridden.
![Page 17: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/17.jpg)
There is no "best" theme.
-@rupl
![Page 18: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/18.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/19.jpg)
Control your layout through configurationPanels, Panelizer, Panopoly
Context, Omega
Display Suite
![Page 20: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/20.jpg)
Advancing Theming
Its all about Overriding
Configuration -> CSS -> PHP
![Page 21: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/21.jpg)
You can give back to the community.
![Page 22: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/22.jpg)
Coding Standards- Indent of 2 spaces
- No trailing white space
- CSS properties in alphabetical order
![Page 23: LA Drupal Camp 2012: Beginner Best Practices](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/23.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022062617/54bf74f04a7959c2088b4668/html5/thumbnails/24.jpg)
Thank You!@meghsweet
@chapter_three