WordPress DK at DrupalCamp Copenhagen 2009

Preview:

DESCRIPTION

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

Citation preview

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

2

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

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

1. About WordPressRequirements

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

5

2. WordPress StatsDownload history

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

6

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

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

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

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

3. Why so Popular?

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

technology• Taxonomy on the go• Easy editing

11

3. Why so Popular?

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

12

3. Why so Popular?Basically:

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

13

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

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

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

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(); ?>

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

5. More than a blogGo all the way!

• Podcasting• VideoPress• bbPress• WordPress MU• BuddyPress

19

5. More than a blog

5. More than a blog

6. WordPress Cases

22

6. WordPress Cases

23

6. WordPress Cases

24

6. WordPress Cases

25

6. WordPress Cases

26

6. WordPress Cases

27

6. WordPress Cases

28

6. WordPress Cases

29

6. WordPress Cases

Se more cases at WordPress Showcase

30

7. Questions?

?31

Recommended