38
Drupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing March 12 2010

Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Embed Size (px)

Citation preview

Page 1: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Drupal 7: What’s New?

Matt Cheney, Drupal Drupal Drupal

Stanford Tech BriefingMarch 12 2010

Page 2: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

What is the Drupal CMS• Drupal is an Open Source Content

Management System

• Rapidly Growing Platform for Making Websites

• Powers Thousands of Big Sites from Britney.com to Whitehouse.gov

Page 3: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Drupal 7: CMS Blockbuster• The kind of feeling you got when

you saw Star Wars in 1977....

• Huge technical improvements

• Important usability enhancements

• Drupal 7 moves the whole industry forward. The next big thing.

A really awesome (but copyrighted) image from Avatar

Page 4: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

The Road to Drupal 7

Page 5: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Drupal 7 Timeline

Page 6: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Drupal 7: Coming of Age

• Admin Experience

• Under the Hood

• Theming and Design

Image of the BreakfastClub ft. John Hughes

Page 7: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Out of the Box Experience

• Default States out of the Box

• Install Profile API Support!

Page 8: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: Admin Bar

• Admin Toolbar: “Admin Menu” Grown Up

• “Shortcuts” and their Advantages

Page 9: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: “Seven”

Page 10: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: I.A.

Page 11: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: Add ContentEdit Teaser

Input Formats

Vertical Tabs

Page 12: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: Dashboard

Page 13: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: Edit in Place

Page 14: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: Overlays

Page 15: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Admin Experience: Module

Page 16: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Better Technology

A movie poster from Star Trek

Page 17: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Less Technology

Page 18: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: More Modules!

Admin Role

FILEFIELDImage and Image API

IMAGECACHE

Poormanscron

Token

Imagefield FeedAPI (some)

Install Profile API (some) CCK

Page 19: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Fields in Core

Boolean

Decimal/Float/Integer

File

Image

Image

Textfield

Textarea

Body

List

which can be used on...

Nodes Users CommentsTaxonomy Terms

and many more to come...

Page 20: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Javascript

• jQuery 1.3

• jQuery Forms 2.2

• jQuery UI 1.7

• drupal_add_library()

• CTools AJAX Framework

A movie poster from Cars

Page 21: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: SimpleTest

Page 22: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Security

• Email Notifications for Security Updates

• PHP Filter has global kill switch

• Cron.php requires key in URL

• New Permission Screen!

• Stronger Password Hashing

• Login Limitations

Page 23: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: DBTNG

• Full Database Abstraction Layer using PHPʼs Data PDO

• Full PHP Database Support - MySQL, SQLite, PostgreSQL in D7. MSSQL, Oracle forthcoming.

• Master/Slave Replication, Transactions, Multi-Insert, Delayed Insert!

A group shot of Star Trek TNG

cast

Page 24: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Performance

• Proxy and Reverse Proxy Support: Varnish!

• Full XDebug Profiling for Micro Optimizations

• InnoDB Default Storage System

• CDN Support

The Fast and the Furious Movie

Poster

Page 25: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Registry

Page 26: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Under the Hood: Hooks• hook_modules_X()

• hook_taxonomy_term_X()

• hook_taxonomy_vocabulary_X()

• hook_aggregator_X()

• hook_node_X()

• hook_user_X()

and many many more...

“Hook” by Robin Williams and others

Page 27: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Design: A Theme Called “Stark”

“Stark” from Jim Henson’s “Farscape”

Page 28: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Design: $page and hook_page_alter()

Page 29: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Design: #WYSIWYG

Page 30: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Design: Image Handling in Core

Page 31: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Design: Page Elements as Blocks

Page 32: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Design: Revamped *.tpl.php

• Better XHTML Structure for CSS-only Design. Zen!

• Standard Semantic Class/ID Names (.section, #navigation)

• Simply: Easier to Theme

Page 33: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Drupal 7: A Community Affair

Page 34: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

What about Contrib?

#D7CX

Page 35: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Demo: Let’s Enter the Drupal 7

“The Matrix”

Page 36: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

When Will it be Ready?

Page 37: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Drupalcon SF: The Drupal 7 Party

Page 38: Drupal 7: What’s New? - Stanford Universityweb.stanford.edu/.../Stanford-ITS-Drupal7-3-12-10.pdfDrupal 7: What’s New? Matt Cheney, Drupal Drupal Drupal Stanford Tech Briefing

Questions?

and thanks to many for pictures and images about Drupal 7 reused here!