wordpress dk at drupalcamp copenhagen 2009

31
DrupalCamp Copenhagen 2009 by Lisa Risager , Morten Høybye Frederiksen , Jesper Laugesen & René Clausen Nielsen Creative Commons Attribution-Share Alike 2.5 Denmark

Post on 18-Oct-2014

5.202 views

Category:

Technology


14 download

DESCRIPTION

WordPress DK made a presentation at DrupalCamp Copenhagen 2009 in order to show the Drupals what a proper userfriendly kinda-CMS looks like.

TRANSCRIPT

Page 2: WordPress DK at DrupalCamp Copenhagen 2009

Agenda1. About WordPress2. WordPress Stats3. Why so popular?4. Developing WordPress5. More than a blog6. WordPress Cases7. Questions

2

Page 3: WordPress DK at DrupalCamp Copenhagen 2009

1. About WordPressA little history

• Started in 2003• Successor of b2/cafelog• Focus on web standards• WordPress 1.0 was out in January, 2004• Themes introduced in 2005• WordPress.com (hosted blogs) in 2005• First WordCamp in 2006

3

Page 4: WordPress DK at DrupalCamp Copenhagen 2009

1. About WordPressWhere to find stuff

• Self-install: wordpress.org• Hosted: wordpress.com• Danish community: wordpress.dk• Documentation: codex.wordpress.org• Support: wordpress.org/support/• Development: trac.wordpress.org

4

Page 5: WordPress DK at DrupalCamp Copenhagen 2009

1. About WordPressRequirements

• PHP version 4.3 or greater• MySQL version 4.0 or greater• 5 minutes• Yes, 5 minutes!

5

Page 6: WordPress DK at DrupalCamp Copenhagen 2009

2. WordPress StatsDownload history

• 2005: 900,000 downloads• 2006: 1,545,703 downloads• 2007: 3,816,965 downloads

6

Page 7: WordPress DK at DrupalCamp Copenhagen 2009

2. WordPress Stats WordPress 2.7 has been downloaded

5,518,284times

(And it was only released on December 10, 2008)As of May 24, 2009

7

Page 8: WordPress DK at DrupalCamp Copenhagen 2009

2. WordPress StatsOn WordPress.org you’ll find

• 4,245 plugins, 22,152,788 downloads, all GPL.

• 791 themes, 4,938,397 downloads, all Open Source.

• 2,617 ideas, 56,802 votes, and counting.

As of May 24, 2009

8

Page 9: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?• Ease of use for developers• Ease of use for webmasters• Ease of use for web editors• Ease of use for end users

9

Page 10: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?• Vocabulary: Dashboard, blog, post,

page, comments, settings, appearance, plugins, widgets, media, users

• …and so on

• It is NOT primarily a framework, but an out-of-the-box blogging tool!

10

Page 11: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?

• Made for writers – just add words!• Lets you focus on content, not

technology• Taxonomy on the go• Easy editing

11

Page 12: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?

• Made by designers• Preview• Web standards• Focus on usability and user-testing

12

Page 13: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?Basically:

• It’s sooooo, like, pretty. You know, like, beautiful!

13

Page 14: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?Dead simple (and blisteringly quick) setup – as presented in the unfortunately rather

poor video at http://wordpress.23video.com/video/466604/screencast-for-drupalcamp:

00:00-01:10 Installation01:10-01:52 Password change01:52-03:52 Theme change03:52-06:27 Settings changes06:27-07:51 Editing a post (editing title, content, category, tags and a custom field)07:51-08:32 Editing post permalink08:32-09:07 Editing a comment09:07-09:20 Collapsing admin menu09:20-10:26 Installing and configuring OpenID support10:26-11:11 Finding interesting plugins11:11-12:25 Installing and configuring All in One SEO Pack12:25-14:11 Installing and configuring Google XML Sitemaps14:11-15:16 Configuring special theme options15:16-16:00 Installing Lightbox 216:00-18:28 Writing a new post with an image and resizing text field18:28-19:03 Changing shown author name19:03-22:06 Arranging widgets22:06-23:35 Rearranging and tweaking the dashboard

14

Page 15: WordPress DK at DrupalCamp Copenhagen 2009

3. Why so Popular?

• Next level: make your own template• Make your own plugin• Use Custom Fields• Integrate with Flickr, Facebook,

Twitter, iPhone & other stuff

15

Page 16: WordPress DK at DrupalCamp Copenhagen 2009

4. Developing WordPressEasy Plugin Use & Developmentplugin.php

Simple, but comprehensive, APIs:• Template tags: the_title(), the_permalink(),

get_the_time(), the_time(), get_bookmarks(), ... • Actions: atom_head, wp_head, loop_start, ...• Filters: comment_url, the_title, the_title_rss...• Function override: wp_mail(), get_userdata(), …• Helper functions: is_404(), is_search(), ...

16

Page 17: WordPress DK at DrupalCamp Copenhagen 2009

4. Developing WordPress

17

Themes & The Loopindex.php

<?php get_header(); ?><?php if ( have_posts() ) : while ( have_posts() ) :

the_post(); ?><!-- HTML, PHP & template tags etc. --><?php endwhile; else: ?><p><?php _e('Sorry, no posts matched your criteria.'); ?

></p><?php endif; ?><?php get_footer(); ?>

Page 18: WordPress DK at DrupalCamp Copenhagen 2009

4. Developing WordPressTheme developmentstyle.css + index.php

• Functional templates: functions.php, 404.php, archive.php, page.php, single.php, ...

• Multiple loops: rewind_posts(), query_posts('category_name=wp'), new WP_Query('tag=drupal&order=ASC')

• Configuration: add_theme_page()• Parent-child themes: TEMPLATE: sandbox

18

Page 19: WordPress DK at DrupalCamp Copenhagen 2009

5. More than a blogGo all the way!

• Podcasting• VideoPress• bbPress• WordPress MU• BuddyPress

19

Page 20: WordPress DK at DrupalCamp Copenhagen 2009

5. More than a blog

Page 21: WordPress DK at DrupalCamp Copenhagen 2009

5. More than a blog

Page 22: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

22

Page 23: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

23

Page 24: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

24

Page 25: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

25

Page 26: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

26

Page 27: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

27

Page 28: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

28

Page 29: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

29

Page 30: WordPress DK at DrupalCamp Copenhagen 2009

6. WordPress Cases

Se more cases at WordPress Showcase

30

Page 31: WordPress DK at DrupalCamp Copenhagen 2009

7. Questions?

?31