there's a module for that, mima summit 2010

46
There’s a Module for That Fast and Easy Websites with Drupal Emma Jane Hogbin HICK Tech @emmajanedotnet [email protected]

Upload: emma-jane-hogbin

Post on 08-May-2015

1.040 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: There's a Module for That, MIMA Summit 2010

There’s a Module for ThatFast and Easy Websites with Drupal

Emma Jane HogbinHICK Tech@[email protected]

Page 2: There's a Module for That, MIMA Summit 2010

I am IAM

Page 3: There's a Module for That, MIMA Summit 2010

SorryA boot

eh?

Page 4: There's a Module for That, MIMA Summit 2010
Page 5: There's a Module for That, MIMA Summit 2010

www.bar5.com

Know your cattle

Page 6: There's a Module for That, MIMA Summit 2010

Know your pumpkin

photo credit: calliope

Page 7: There's a Module for That, MIMA Summit 2010

How we chuck 'em

Page 8: There's a Module for That, MIMA Summit 2010

How you chuck 'em

Jack o lantern: 2040 feet

Page 9: There's a Module for That, MIMA Summit 2010

Drupaldrupal.org/user/1773

Photo: morten.dkLegs: walkah

Page 10: There's a Module for That, MIMA Summit 2010

</me>

Page 11: There's a Module for That, MIMA Summit 2010

Scenario

http://www.flickr.com/photos/35237098471@N01/28726053/

http://www.flickr.com/photos/13380295@N08/2607310371/

http://www.flickr.com/photos/22221172@N00/1215596106/

It’s Wednesday. You’re sort of tired. The phone rings.

Page 12: There's a Module for That, MIMA Summit 2010

http://www.flickr.com/photos/22746515@N02/2951202881/

It's better than Farmville.

Page 13: There's a Module for That, MIMA Summit 2010

I need a Web site. Pronto.My buddy said you can make it happen.I got $500.

Page 14: There's a Module for That, MIMA Summit 2010

And you’re like … “Sure.”

Drupal Developer heyrocker.

Page 15: There's a Module for That, MIMA Summit 2010

Fast and Easy with Drupal

Topics● Creating ideal conditions● Multisite Drupal● Drush● Must-Have Modules● Dev Staging Deploy→ →● New site ready in 30 minutes

or it’s free.http://www.flickr.com/photos/25299470@N00/3642425935/

Page 16: There's a Module for That, MIMA Summit 2010

Create the Conditions You Need

For Success

http://www.flickr.com/photos/38284047@N00/71034227/

Page 17: There's a Module for That, MIMA Summit 2010

www.bar5.com

Know your clients

Page 18: There's a Module for That, MIMA Summit 2010

Successful Drupal Shops...● Re-use code (and contribute it back where possible).● Automate repetitive procedures (such as upgrades).● Have a test/development site.● Train their clients on how to update their own sites.● Use version control.● Know a key set modules really, really well.● Interact with the Drupal community.

Page 19: There's a Module for That, MIMA Summit 2010

Drupal is Built with Re-use in Mind

http://www.flickr.com/photos/91695677@N00/3227109747/

Page 20: There's a Module for That, MIMA Summit 2010

Features of Multisite

● Shared code base● Shared IP address● Shared modules directory● Unique content in separate databases● Unique directory for uploaded files● Unique themes

Page 21: There's a Module for That, MIMA Summit 2010

Automate Tasks

http://www.flickr.com/photos/thehenryford/4974233749/

Automate Tasks

Page 22: There's a Module for That, MIMA Summit 2010

Want to clone sheep websites?Check out Aegir.

http://groups.drupal.org/hostmaster2

`

Page 23: There's a Module for That, MIMA Summit 2010

Find and use appropriate tools.

http://www.flickr.com/photos/26170836@N05/4731018653/

Page 24: There's a Module for That, MIMA Summit 2010

Important Drush Commands$ drush command

Basics● help● status● cache-clear

Site Upgrades● updatedb● site-install● site-upgrade

Modules/Themes● pm-download● pm-enable

Users● user-add-role● user-create● user-cancel

Page 25: There's a Module for That, MIMA Summit 2010

Drush wants to help youDrush wants to help you(apply security patches).(apply security patches).

http://www.flickr.com/photos/59158146@N00/2339618314/

Page 26: There's a Module for That, MIMA Summit 2010

Collect Useful Modules

Page 27: There's a Module for That, MIMA Summit 2010

Must-Have Modules by Category

● Everyone Must-Have● SEO● Ecommerce & Marketing● Administrative helpers● Navigation / UI● Visual Awesome Sauce

Page 28: There's a Module for That, MIMA Summit 2010

Get your digital cameras ready

50+ modules

will be listed.

And I’m not waiting for you to write them all down.www.slideshare.net/emmajane

Page 29: There's a Module for That, MIMA Summit 2010

http://www.flickr.com/photos/10101046@N06/3452774704/

Ready?

Page 30: There's a Module for That, MIMA Summit 2010

Modules for Everyone

● Mollom, Comment Closer, Comment Mail, Feedburner

● Markdown, FCKEditor, TinyMCE, WYSIWYG● Views, CCK, emfield, filefield, Link, Email● Image Cache, ImageField, Imagefield Import● Backup and Migrate

Page 31: There's a Module for That, MIMA Summit 2010

Modules for SEO

● SEO Checklist, SEO Friend

● Page Title (and Token)● Node Words● Breadcrumb fixer-

uppers● XML Site Map, Index

Page, URL List

● Pathauto● Global Redirect● Path Redirect● RobotsTxt● Search 404● Link Checker

Page 32: There's a Module for That, MIMA Summit 2010

Modules for Ecommerce & Marketing

● Ubercart● uc_coupon● uc_free_order● uc_views● uc_who_bought_what● FusionDrupalThemes

case study http://drupal.org/node/858914

● Mailchimp, Constant Contact (etc)

● Mass Contact● Simple News, mimemail● Google Analytics, Piwik

Page 33: There's a Module for That, MIMA Summit 2010

Admin Helpers

● Views Bulk Operation● Total Control● Features● Scheduler● Devel and Devel

Themer

● Administration Menu● Admin Role● RootCandy (theme)● Admin (module/theme)● Admin Links, Universal

Edit Button (FF plugin)

Page 34: There's a Module for That, MIMA Summit 2010

Modules for (better) Navigation

● Menu Breadcrumb● Taxonomy Breadcrumb● Custom Breadcrumbs● Menu Block

Page 35: There's a Module for That, MIMA Summit 2010

Visual Awesome Sauce

● Views Slideshow● Typekit● Nice Menus● Tabs, CCK Fieldgroup

Tabs

● Panels, Context or Display Suite

● Skinr v2● Fusion themes

Page 36: There's a Module for That, MIMA Summit 2010

http://www.flickr.com/photos/70099148@N00/145270356/

Where do they go?

Page 37: There's a Module for That, MIMA Summit 2010

Installing [Modules] with Drush

$ cd drupal/sites/example.com

$ drush dl module_nameProject menu_block (6.x-2.3) downloaded to [success]/home/emmajane/websites/drupal/sites/all/modules/menu_block.

$ drush en module_nameThe following projects will be enabled: menu_blockDo you really want to continue? (y/n): ymenu_block was enabled successfully. [ok]

Page 38: There's a Module for That, MIMA Summit 2010

Dev Staging Deployment→ →Dev Staging Deployment→ →

http://www.flickr.com/photos/88448902@N00/457428714/

Page 39: There's a Module for That, MIMA Summit 2010

Find and Use Appropriate Tools

Three Drupal bacon savers:● Install profiles.● Feature server.● Exportables.

Photo by: chrys. All rights reserved. Permission not obtained. I'm going to copyright hell.You can rat me out at: http://www.flickr.com/photos/chrys/2329243533/#/

Page 40: There's a Module for That, MIMA Summit 2010

Install Profile

http://www.flickr.com/photos/22801406@N06/2211020136/

Page 41: There's a Module for That, MIMA Summit 2010

Feature Server

http://www.flickr.com/photos/71018547@N00/3547111423/

Page 42: There's a Module for That, MIMA Summit 2010

Feature server with cherries on top.

http://www.flickr.com/photos/27577455@N05/4465238124/

Page 43: There's a Module for That, MIMA Summit 2010

Exportables

http://www.flickr.com/photos/sebbisuperstar/2470560831

Page 44: There's a Module for That, MIMA Summit 2010

Sanity Tips for Dev Deploy→

● Version control everything you can.● Export what’s in the database and put it under version

control. CCK, Views, Panels● Use helper modules to stage changes: Features, Deploy.● Create db snapshots with Backup and Migrate.● Create sandboxes with Demo (or WebEnabled).● Test themes with real data before launching changes.● Document everything.

Page 45: There's a Module for That, MIMA Summit 2010

SummaryNow that you have your Drupal toolkit you can build that $500 Web site in 30 minutes:

1. Choose an Install Profile based on client needs.

2. Create a new sub-dir in your Drupal sites folder.

3.With Drush:

1. Install the new site.

2. Enable relevant modules and/or features.

3. Choose and enable “contributed” theme.

4. Create a client account so they can add content.

Total time: About 30 minutes.

Page 46: There's a Module for That, MIMA Summit 2010

[email protected]@hicktech.com

@emmajanedotnet@emmajanedotnet

Thank you!Thank you!