Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WordPress is a CMS, DAMMIT!

Aaron Holbrook
February 20, 2013

WordPress is a CMS, DAMMIT!

If you think that WordPress is still just a blogging engine or you're trying to convince your boss or a stakeholder otherwise you need to hear this talk!

WordPress isn't just a blogging engine anymore, it's an extremely capable application framework. If you love posts, categories, and tags, picture a custom post type for your products or services. WordPress is capable of running a website with different types of content, objects, taxonomies, meta-data and relationships between objects.

Aaron Holbrook (@aaronjholbrook) will demonstrate why WordPress is a great solution to handle any type of content management you can dream up... dammit.

Aaron Holbrook

February 20, 2013
Tweet

More Decks by Aaron Holbrook

Other Decks in Technology

Transcript

  1. WordPress is a CMS
    aaronjholbrook.com
    aaronjholbrook


    View full-size slide

  2. DAMMIT!
    WordPress is a CMS
    aaronjholbrook.com
    aaronjholbrook


    View full-size slide

  3. What is a CMS?

    View full-size slide

  4. CONTENT MANAGEMENT SYSTEM
    Allows end-users to easily manage content

    View full-size slide

  5. CONTENT MANAGEMENT SYSTEM
    Separate content from structure
    Manage content
    Separate content from structure

    View full-size slide

  6. CONTENT MANAGEMENT SYSTEM
    Versioning of past content
    Manage content
    Separate content from structure
    Version past content

    View full-size slide

  7. CONTENT MANAGEMENT SYSTEM
    Manage media (files/attachments)
    Manage content
    Separate content from structure
    Version past content
    Manage media

    View full-size slide

  8. CONTENT MANAGEMENT SYSTEM
    Manage content grouping
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content

    View full-size slide

  9. CONTENT MANAGEMENT SYSTEM
    Is EASY to use
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content
    Easy to use

    View full-size slide

  10. CONTENT MANAGEMENT SYSTEM
    Manage any type of content (extensible)
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content
    Easy to use
    Manage any type of content

    View full-size slide

  11. WORDPRESS
    ISN’T A CMS

    View full-size slide

  12. WORDPRESS
    ISN’T A CMS
    WORDPRESS JUST CAN’T
    HANDLE THE COMPLEXITY

    View full-size slide

  13. WORDPRESS
    ISN’T A CMS
    ISNT THAT JUST
    A BLOGGING
    ENGINE?
    WORDPRESS JUST CAN’T
    HANDLE THE COMPLEXITY

    View full-size slide

  14. WORDPRESS
    ISN’T A CMS
    But I thought WordPress
    just did blog stu ?
    ISNT THAT JUST
    A BLOGGING
    ENGINE?
    WORDPRESS JUST CAN’T
    HANDLE THE COMPLEXITY

    View full-size slide

  15. WORDPRESS IS
    JUST A BLOG

    View full-size slide

  16. at least not anymore!

    View full-size slide

  17. Let’s take a look back

    View full-size slide

  18. WORDPRESS HISTORY
    March 27, 2003 - 0.70
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content
    Easy to use
    Manage any type of content



    View full-size slide

  19. WORDPRESS HISTORY
    December 26, 2005 - 2.0
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content
    Easy to use
    Manage any type of content




    View full-size slide

  20. WORDPRESS HISTORY
    December 18, 2009 - 2.9
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content
    Easy to use
    Manage any type of content






    View full-size slide

  21. WORDPRESS HISTORY
    June 17, 2010 - 3.0
    Manage content
    Separate content from structure
    Version past content
    Manage media
    Manage grouping of content
    Easy to use
    Manage any type of content







    View full-size slide

  22. And in fact...

    View full-size slide

  23. 48% of the top 100 blogs are WordPress

    View full-size slide

  24. Top 100 blogs
    WordPress

    View full-size slide

  25. And even cooler:

    View full-size slide

  26. WordPress makes up 17% of the internet

    View full-size slide

  27. Internet
    WordPress

    View full-size slide

  28. Pac-Man
    Power Pellet

    View full-size slide

  29. That’s a CMS

    View full-size slide

  30. SO W*F HAPPENED?

    View full-size slide

  31. THE PERFECT
    STORM

    View full-size slide

  32. Post Types
    Taxonomies
    Metadata
    Relationships

    View full-size slide

  33. INTRODUCING
    Post Types

    View full-size slide

  34. POST TYPES
    Infinite potentiality of content types

    View full-size slide

  35. POST TYPES
    Create as many di erent types of content as you can imagine!

    View full-size slide

  36. POST TYPES
    Create as many di erent types of content as you can imagine!
    websites

    View full-size slide

  37. POST TYPES
    Internally WordPress classifies di erent types of
    content in a wp_posts table

    View full-size slide

  38. POST TYPES
    They are di erentiated by a column called post_type

    View full-size slide

  39. POST TYPES (default)
    Post
    Page
    Attachment
    Revisions
    Nav menus
    (blog content)
    (static content)
    (media / files)
    (past posts / pages)

    View full-size slide

  40. POST TYPES (make your own!)
    Beer
    Wine
    Alcohol
    Bars
    Drunkards
    People
    Places
    TV Shows
    Guides
    Movies
    People
    Dogs
    Cats
    Animals
    Zebras
    Lightsabers
    Jedi
    Spaceships
    Sith
    Bounty Hunters

    View full-size slide

  41. INTRODUCING
    Taxonomies

    View full-size slide

  42. TAXONOMIES
    Systematic division into ordered groups

    View full-size slide

  43. TAXONOMIES (default)
    Category
    Tag
    (post categorization)
    (like categories, more freeform)

    View full-size slide

  44. TAXONOMIES (make your own!)
    Rank
    Role
    Rating
    Classification
    Lethality
    Kingdom
    Phylum
    Class
    Order
    Family
    Genres
    Brands
    Cuisines
    Vibes
    Prices
    Lightsaber Model
    Rank of Jedi
    Make of Spaceship
    Sith Caste
    Guild

    View full-size slide

  45. INTRODUCING
    Metadata

    View full-size slide

  46. METADATA
    Data about data

    View full-size slide

  47. METADATA
    Data about data
    post types

    View full-size slide

  48. METADATA
    Adjectives that describe content

    View full-size slide

  49. METADATA (make your own!)
    Credit Card
    Price
    Exp. Date
    Featured
    Rating
    Address
    Phone number
    Zip code
    Designation
    Name
    Lightsaber Color
    Force Strength
    Specialization
    Hyperdrive Rating
    Shielding

    View full-size slide

  50. INTRODUCING
    Relationships

    View full-size slide

  51. RELATIONSHIPS
    Complex content management

    View full-size slide

  52. RELATIONSHIPS
    Relate one POST TYPE to another

    View full-size slide

  53. RELATIONSHIPS
    One-to-one
    One-to-many
    Many-to-many

    View full-size slide

  54. RELATIONSHIPS (example)
    POST TYPES
    Wine
    Vineyard
    Region
    RELATIONSHIPS
    Wine belongs to vineyard
    Vineyard is in a region
    (one-to-many)
    (one-to-many)

    View full-size slide

  55. RELATIONSHIPS (example)
    Show wines the vineyard makes on vineyard’s page
    Show vineyards in region

    View full-size slide

  56. Wine -> Vineyard Vineyard -> Region

    View full-size slide

  57. INTRODUCING
    Template Hierarchy

    View full-size slide

  58. TEMPLATE HIERARCHY
    Utilizing built-in methods for customizing
    displayed information
    holb.cc/th

    View full-size slide

  59. CUSTOM POST TYPE ARCHIVE
    archive-$posttype.php

    View full-size slide

  60. CUSTOM POST TYPE ARCHIVE
    archive-$posttype.php
    archive-wine.php
    archive-$posttype.php

    View full-size slide

  61. CUSTOM POST TYPE ARCHIVE
    archive-$posttype.php
    archive-wine.php
    archive.php

    View full-size slide

  62. CUSTOM POST TYPE SINGLE
    single-$posttype.php

    View full-size slide

  63. CUSTOM POST TYPE SINGLE
    single-$posttype.php
    single-wine.php

    View full-size slide

  64. CUSTOM POST TYPE SINGLE
    single-$posttype.php
    single-wine.php
    single.php

    View full-size slide

  65. http://boschdaredevil.com
    contests, announcements, entries, tips, news

    View full-size slide

  66. http://vinology.com.au
    wines, vineyards, social network, ecommerce

    View full-size slide

  67. http://sassyhongkong.com
    directory, restaurants, bars, shopping, search, sort

    View full-size slide

  68. Resources
    Make it hap’n, cap’n

    View full-size slide

  69. RESOURCES
    ARTICLES
    Complete guide to Custom Post Types
    Add taxonomies to your CPT
    Using WordPress for Application Development
    Intro Posts 2 Posts Plugin
    PLUGINS
    Super CPT
    Advanced Custom Fields
    Posts 2 Posts
    holb.cc/supercpt
    holb.cc/acf
    holb.cc/taxonomies
    holb.cc/p2p
    holb.cc/cptguide
    holb.cc/appdev
    holb.cc/introp2p

    View full-size slide

  70. WordPress IS a CMS

    View full-size slide

  71. WordPress IS a CMS
    Dammit!

    View full-size slide

  72. Aaron Holbrook
    THANKS!
    aaronjholbrook
    aaronjholbrook.com
    holb.cc/cmsslides



    View full-size slide