66
Drupal basics Michał Pękała Drupal Camp Wrocław 13-14 kwietnia 2013 Where my projects went wrong

Drupal basics

Embed Size (px)

Citation preview

Page 1: Drupal basics

Drupal basics

Michał Pękała

Drupal Camp Wrocław – 13-14 kwietnia 2013

Where my projects went wrong

Page 2: Drupal basics

Michał Pękała

Page 3: Drupal basics

1

Page 4: Drupal basics

Why would I care?

Learn from my failures

Get alerted

Confront

Page 5: Drupal basics

Identify

Frame Fill

Reduce

Page 6: Drupal basics

Identify

Problem

Tools

Page 7: Drupal basics

What’s the problem?

What’s the real problem?

Page 8: Drupal basics

We tend to “over-invent”

Constraints foster creativity.

Page 11: Drupal basics

1 sentence

Page 12: Drupal basics

1 important task

Page 13: Drupal basics

Reinvent?

Page 14: Drupal basics
Page 17: Drupal basics

“Good artists borrow,

great artists steal”

Pablo Picasso

Page 18: Drupal basics

Check how others do

commenting

shopping

bookmarking

Facebook integration

Page 19: Drupal basics

Is Drupal right for me, at all?

Page 20: Drupal basics

Yes, if multiple object types

(article, review, forum post, …)

Page 21: Drupal basics

Make the task achievable

Frame

Page 22: Drupal basics

1 task

Do you remember?

Page 23: Drupal basics

Turn computer on

Page 24: Drupal basics

Good sites

are metaphors

of something real

Page 25: Drupal basics
Page 26: Drupal basics

So are good Drupal sites

Page 27: Drupal basics

Let’s build a site

Directory of mobile apps!

Page 28: Drupal basics

What’s an app?

Title Author Description Screenshots Android versions Update Download count

Drupal calls them fields

Page 29: Drupal basics

There are various apps

Drupal calls them nodes

Page 30: Drupal basics

Do you group apps?

These groups are

categories in Drupal

Page 31: Drupal basics

Do you group theses groups?

Meet taxonomies

Page 32: Drupal basics

Types of objects

App

Developer

Review

Call them content types

Page 33: Drupal basics

Let’s put nodes, fields and

taxonomies together!

Page 34: Drupal basics

List all apps – Views

1. Create a view

2. Filter by content type: app

Page 35: Drupal basics

List recommended – Views

1. Create a view

2. Filter by content type: app

3. Filter by taxonomy term: recommended

Page 36: Drupal basics

List newest apps – Views

1. Create a view

2. Filter by content type: app

3. Filter by content post date: greater than “-1 week”

4. Order by content post date - descending

Page 37: Drupal basics

I haven’t used any other modules

by now. Really.

Page 38: Drupal basics

Do what users do.

Even though the site may still

be messy and ugly.

Page 39: Drupal basics

Fill in the gaps

Fill

Page 40: Drupal basics

Put user in the center

What else would she really need?

Page 42: Drupal basics

Lists

Explore Views

Show selected nodes with

Nodequeue

Page 43: Drupal basics

Navigation & URLs

Build menus

Watch out for bells and whistles

of Suckerfish

Prettify URLs with Pathauto

Page 49: Drupal basics

“Sorry, Drupal does it this way”

Don’t let Drupal take over the project.

You’re the boss!

Page 50: Drupal basics

Reduce

Take half of the half

Follow guys from 37 Signals

Page 51: Drupal basics

Reduce load times

Minify+combine JS+CSS

Sprites

Cache – Boost, Memcache

Page 52: Drupal basics

Cut, cut, cut…

Page 53: Drupal basics

“We’ll use the module

next month”

Cut!

Page 54: Drupal basics

“Our CEO loves

the ‘Who is logged in’ block”

Cut!

Page 55: Drupal basics

“And if the user had

2 Facebook profiles?”

Cut!

Page 56: Drupal basics

“They will love the guest book,

for sure.”

Cut!

Page 57: Drupal basics

“We should add those

cool private messages!”

Cut!

Page 58: Drupal basics

Maybe there’s something more

you could

Page 59: Drupal basics

To make

happy

Page 60: Drupal basics

And help them do

1 important task

Page 61: Drupal basics

1

Page 62: Drupal basics

Identify

Frame Fill

Reduce

Page 64: Drupal basics

Cheer up! You’re not alone!

Other guys managed to set up

their home sites on Drupal

Page 65: Drupal basics
Page 66: Drupal basics

That’s it!

Michał Pękała www.pekala.pl

[email protected]