SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Wordpress as a CMS
  Not just another list of plugins

                      Brad Touesnard
                      http://bradt.ca
                      brad@touesnard.com

                      BarCampVancouver2008
                      September 27th, 2008
Client:
“I want a CMS.”
Why not a framework?
• Need to design a backend
 •   Usability

• Need to code a backend
     •   Difficult problems (WYSIWYG integration, file upload,
         content filters, etc)

     •   Security

     •   Quality assurance
Why not a CMS?

Joomla                          Ez Publish
               Mambo
                              Typo3
XOOPS

                  bitweaver
  Expression
    Engine
                                      Drupal
Why not a CMS?

Joomla                          Ez Publish
               Mambo
  Wordpress is a CMS!         Typo3
XOOPS

                  bitweaver
  Expression
    Engine
                                      Drupal
Why not a CMS?

Joomla                        Ez Publish
             Mambo
  Wordpress is a CMS!       Typo3
XOOPS


      and it’s better...
  Expression
                bitweaver

    Engine
                                    Drupal
Why is it better?
Backend Interface

• Designed by usability experts at Happy Cog
• Clean, Standards Compliant XHTML filters
• Flawless WYSIWYG Integration
• Easy media uploading and embedding
Wordpress.com
• Very popular
 •   #29 trafficed site in the US (via Quantcast)
 •   Alexa Rank: 29
 •   4,209,042 blogs, 153,086 new posts, 37,653,000 words
     today*

• Tons of user feedback
• An easy to sell to clients
• Corporate support: Automattic
                                     *All stats on this slide were recorded September 24th, 2008.
Malleable

• Plugin Hooks
• Template Tags
• Backend customization
Community

• Wordpress.org
 • Forums
 • Documentation
 • Plugins
 • Themes
Challenges
Case Study:
GoHave1.com
Case Study:
GoHave1.com
Case Study:
GoHave1.com
Case Study:
GoHave1.com
Custom Fields

• Store post meta data about posts
 • Author (name, location, photo, blurb)
 • Feature story
 • Quick facts
GoHave1.com:
          Displaying a
         Feature Story
$custom = get_post_custom();
if (isset($custom['feature_story'][0])) {
    echo $custom['feature_story'][0];
}
Limitations of
Custom Fields

 • No WYSIWYG
 • Only relates to a
   single post
Create Relationships
 with Custom Fields
• Store related post ID in custom field
• Retrieve related post using the post ID
            POST
             (12)
                              POST
          Feature Story: 14    (14)


                                      POST
           Quick Facts: 58             (58)
Relationships with Custom Fields:
             Benefits

• Users can edit using the WYSIWYG
• We can feature posts on several pages
  without copying
GoHave1.com:
          Retrieving a
         Feature Story
$custom = get_post_custom();
if (isset($custom['feature_story'][0])) {
    $id = $custom['feature_story'][0];
    $story =& get_post($id);
}
print_r($story);
stdClass Object
(
    [ID] => 23
    [post_author] => 1
    [post_date] => 2008-03-25 14:48:37
    [post_date_gmt] => 2008-03-25 22:48:37
    [post_content] => I never entertained the idea...
    [post_title] => Jo Krombholz's Story
    [post_category] => 0
    [post_excerpt] => I never entertained the idea...
    [post_status] => publish
    [comment_status] => open
    [ping_status] => open
    [post_password] =>
    [post_name] => jo-krombholz
    [to_ping] =>
    [pinged] =>
    [post_modified] => 2008-04-29 12:08:40
    [post_modified_gmt] => 2008-04-29 20:08:40
    [post_content_filtered] =>
    [post_parent] => 0
    [guid] => http://gohave1.com/archives/augue-ipsum-orci-dolor-interdum-enim/
    [menu_order] => 0
    [post_type] => post
    [post_mime_type] =>
    [comment_count] => 1
    [ancestors] => Array
)
Relationships with Custom Fields:
             Problems
                               “You want me
 Usability nightmare!          to do what??”
  A. Posts that aren’t posts
  B. Managing post IDs
Future
Improvements
Problem A:
Posts that aren’t posts
              Solution:
Develop a new post type called ‘element’
      Won’t show up in post lists
Problem B:
Managing Post IDs

          Solution:
 Simple post selection interface
  Add panel below Categories
 Include posts of type ‘element’
Final Thoughts

• Wordpress is not for every situation
 • Only 90% of them
• As for the other 10%...
 • Frameworks might work for you
 • Write it from scratch!

Contenu connexe

Tendances

Maintainable Frontend Development with BEM
Maintainable Frontend Development with BEMMaintainable Frontend Development with BEM
Maintainable Frontend Development with BEM
Varya Stepanova
 

Tendances (20)

WooCommerce: Customization Definitions
WooCommerce: Customization DefinitionsWooCommerce: Customization Definitions
WooCommerce: Customization Definitions
 
WordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshopWordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshop
 
Modern Front-End Development
Modern Front-End DevelopmentModern Front-End Development
Modern Front-End Development
 
Maintainable Frontend Development with BEM
Maintainable Frontend Development with BEMMaintainable Frontend Development with BEM
Maintainable Frontend Development with BEM
 
Build a WordPress theme from HTML5 template @ Telerik
Build a WordPress theme from HTML5 template @ TelerikBuild a WordPress theme from HTML5 template @ Telerik
Build a WordPress theme from HTML5 template @ Telerik
 
Markdown vs. WYSIWYG - Stop using the web like a word document
Markdown vs. WYSIWYG - Stop using the web like a word document Markdown vs. WYSIWYG - Stop using the web like a word document
Markdown vs. WYSIWYG - Stop using the web like a word document
 
Creating Customizable Widgets for Unpredictable Needs
Creating Customizable Widgets for Unpredictable NeedsCreating Customizable Widgets for Unpredictable Needs
Creating Customizable Widgets for Unpredictable Needs
 
Shortcodes vs Widgets: Which one and how?
Shortcodes vs Widgets: Which one and how?Shortcodes vs Widgets: Which one and how?
Shortcodes vs Widgets: Which one and how?
 
Efficient, maintainable CSS
Efficient, maintainable CSSEfficient, maintainable CSS
Efficient, maintainable CSS
 
The ABCs of HTML
The ABCs of HTMLThe ABCs of HTML
The ABCs of HTML
 
Wordpress To Go Democamp Mtl2009
Wordpress To Go Democamp Mtl2009Wordpress To Go Democamp Mtl2009
Wordpress To Go Democamp Mtl2009
 
Contributing To WordPress
Contributing To WordPressContributing To WordPress
Contributing To WordPress
 
The Way to Theme Enlightenment
The Way to Theme EnlightenmentThe Way to Theme Enlightenment
The Way to Theme Enlightenment
 
Agile Wordpress
Agile WordpressAgile Wordpress
Agile Wordpress
 
Doing More with LESS for CSS
Doing More with LESS for CSSDoing More with LESS for CSS
Doing More with LESS for CSS
 
Creating a Wordpress Theme from Scratch
Creating a Wordpress Theme from ScratchCreating a Wordpress Theme from Scratch
Creating a Wordpress Theme from Scratch
 
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
CSS Grid Changes Everything - Keynote at WebCamp Zagreb 2017
 
Front End Tooling and Performance - Codeaholics HK 2015
Front End Tooling and Performance - Codeaholics HK 2015Front End Tooling and Performance - Codeaholics HK 2015
Front End Tooling and Performance - Codeaholics HK 2015
 
Magento x codekit x sass x compass x skeleton responsive grid
Magento x codekit x sass x compass x skeleton responsive gridMagento x codekit x sass x compass x skeleton responsive grid
Magento x codekit x sass x compass x skeleton responsive grid
 
WordCamp Boston 2012 - Creating Content With Shortcodes
WordCamp Boston 2012 - Creating Content With ShortcodesWordCamp Boston 2012 - Creating Content With Shortcodes
WordCamp Boston 2012 - Creating Content With Shortcodes
 

Similaire à Wordpress as a CMS

WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...
Denise Williams
 
WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1
Yoav Farhi
 
Joomla! Day Los Angeles 2011 WebMatrix
Joomla! Day Los Angeles 2011 WebMatrixJoomla! Day Los Angeles 2011 WebMatrix
Joomla! Day Los Angeles 2011 WebMatrix
Alice Pang
 
J day la 2011 webmatrix
J day la 2011 webmatrixJ day la 2011 webmatrix
J day la 2011 webmatrix
Alice Pang
 

Similaire à Wordpress as a CMS (20)

WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...WordPress Custom Fields: Control your content presentation by breaking out of...
WordPress Custom Fields: Control your content presentation by breaking out of...
 
WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...WordPress Internationalization and Localization - WordPress Translation Day 3...
WordPress Internationalization and Localization - WordPress Translation Day 3...
 
Ajax In Action 2008 - Gui Development With qooxdoo
Ajax In Action 2008 - Gui Development With qooxdooAjax In Action 2008 - Gui Development With qooxdoo
Ajax In Action 2008 - Gui Development With qooxdoo
 
WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1WordPress Developers Israel Meetup #1
WordPress Developers Israel Meetup #1
 
WordPress Plugins for n00bs
WordPress Plugins for n00bsWordPress Plugins for n00bs
WordPress Plugins for n00bs
 
Amazing WordPress & Productivity Tips
Amazing WordPress & Productivity TipsAmazing WordPress & Productivity Tips
Amazing WordPress & Productivity Tips
 
Adobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + FireworksAdobe MAX 2008: HTML/CSS + Fireworks
Adobe MAX 2008: HTML/CSS + Fireworks
 
Plugins Spectacular WordCamp Sydney 2012
Plugins Spectacular WordCamp Sydney 2012Plugins Spectacular WordCamp Sydney 2012
Plugins Spectacular WordCamp Sydney 2012
 
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
The Plugin Spectactular - Tony Cosentino - WordCamp Sydney 2012
 
Introduction to WordPress Theme Development
Introduction to WordPress Theme DevelopmentIntroduction to WordPress Theme Development
Introduction to WordPress Theme Development
 
WordPress as a CMS
WordPress as a CMSWordPress as a CMS
WordPress as a CMS
 
Do it in code! A guide to creating a custom site structure plugin in WordPress.
Do it in code! A guide to creating a custom site structure plugin in WordPress.Do it in code! A guide to creating a custom site structure plugin in WordPress.
Do it in code! A guide to creating a custom site structure plugin in WordPress.
 
Optimize wordpress
Optimize wordpressOptimize wordpress
Optimize wordpress
 
Getting Started: The Installation
Getting Started: The InstallationGetting Started: The Installation
Getting Started: The Installation
 
Matt doyleppt
Matt doylepptMatt doyleppt
Matt doyleppt
 
Fluent 2012 v2
Fluent 2012   v2Fluent 2012   v2
Fluent 2012 v2
 
Joomla! Day Los Angeles 2011 WebMatrix
Joomla! Day Los Angeles 2011 WebMatrixJoomla! Day Los Angeles 2011 WebMatrix
Joomla! Day Los Angeles 2011 WebMatrix
 
J day la 2011 webmatrix
J day la 2011 webmatrixJ day la 2011 webmatrix
J day la 2011 webmatrix
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdf
 
WordPress: After The Install
WordPress: After The InstallWordPress: After The Install
WordPress: After The Install
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Wordpress as a CMS

  • 1. Wordpress as a CMS Not just another list of plugins Brad Touesnard http://bradt.ca brad@touesnard.com BarCampVancouver2008 September 27th, 2008
  • 3. Why not a framework? • Need to design a backend • Usability • Need to code a backend • Difficult problems (WYSIWYG integration, file upload, content filters, etc) • Security • Quality assurance
  • 4. Why not a CMS? Joomla Ez Publish Mambo Typo3 XOOPS bitweaver Expression Engine Drupal
  • 5. Why not a CMS? Joomla Ez Publish Mambo Wordpress is a CMS! Typo3 XOOPS bitweaver Expression Engine Drupal
  • 6. Why not a CMS? Joomla Ez Publish Mambo Wordpress is a CMS! Typo3 XOOPS and it’s better... Expression bitweaver Engine Drupal
  • 7. Why is it better?
  • 8. Backend Interface • Designed by usability experts at Happy Cog • Clean, Standards Compliant XHTML filters • Flawless WYSIWYG Integration • Easy media uploading and embedding
  • 9. Wordpress.com • Very popular • #29 trafficed site in the US (via Quantcast) • Alexa Rank: 29 • 4,209,042 blogs, 153,086 new posts, 37,653,000 words today* • Tons of user feedback • An easy to sell to clients • Corporate support: Automattic *All stats on this slide were recorded September 24th, 2008.
  • 10. Malleable • Plugin Hooks • Template Tags • Backend customization
  • 11. Community • Wordpress.org • Forums • Documentation • Plugins • Themes
  • 17. Custom Fields • Store post meta data about posts • Author (name, location, photo, blurb) • Feature story • Quick facts
  • 18. GoHave1.com: Displaying a Feature Story $custom = get_post_custom(); if (isset($custom['feature_story'][0])) { echo $custom['feature_story'][0]; }
  • 19. Limitations of Custom Fields • No WYSIWYG • Only relates to a single post
  • 20. Create Relationships with Custom Fields • Store related post ID in custom field • Retrieve related post using the post ID POST (12) POST Feature Story: 14 (14) POST Quick Facts: 58 (58)
  • 21. Relationships with Custom Fields: Benefits • Users can edit using the WYSIWYG • We can feature posts on several pages without copying
  • 22. GoHave1.com: Retrieving a Feature Story $custom = get_post_custom(); if (isset($custom['feature_story'][0])) { $id = $custom['feature_story'][0]; $story =& get_post($id); }
  • 23. print_r($story); stdClass Object ( [ID] => 23 [post_author] => 1 [post_date] => 2008-03-25 14:48:37 [post_date_gmt] => 2008-03-25 22:48:37 [post_content] => I never entertained the idea... [post_title] => Jo Krombholz's Story [post_category] => 0 [post_excerpt] => I never entertained the idea... [post_status] => publish [comment_status] => open [ping_status] => open [post_password] => [post_name] => jo-krombholz [to_ping] => [pinged] => [post_modified] => 2008-04-29 12:08:40 [post_modified_gmt] => 2008-04-29 20:08:40 [post_content_filtered] => [post_parent] => 0 [guid] => http://gohave1.com/archives/augue-ipsum-orci-dolor-interdum-enim/ [menu_order] => 0 [post_type] => post [post_mime_type] => [comment_count] => 1 [ancestors] => Array )
  • 24. Relationships with Custom Fields: Problems “You want me Usability nightmare! to do what??” A. Posts that aren’t posts B. Managing post IDs
  • 26. Problem A: Posts that aren’t posts Solution: Develop a new post type called ‘element’ Won’t show up in post lists
  • 27. Problem B: Managing Post IDs Solution: Simple post selection interface Add panel below Categories Include posts of type ‘element’
  • 28. Final Thoughts • Wordpress is not for every situation • Only 90% of them • As for the other 10%... • Frameworks might work for you • Write it from scratch!