Drupal vs WordPress

2,197 views

Published on

Vortrag zum Drupal Meetup Frankfurt http://groups.drupal.org/node/191788

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,197
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal vs WordPress

  1. 1. Drupal VS WordPressWalter Ebert
  2. 2. http://www.schipulcon.com/photos/841/in/9/
  3. 3. http://news.deviousmedia.com/which-open-source-backend-platform-suits-your
  4. 4. Top 6 Publishing Systeme in Europa ● Platz 1 WordPress: 429.766 Installationen ● Platz 2 Joomla!: 358.935 Installationen ● Platz 3 publishme.se: 246.863 Installationen ● Platz 4 FrontPage: 161.888 Installationen ● Platz 5 TYPO3: 145.414 Installationen ● Platz 6 Drupal: 67.496 Installationenhttp://t3n.de/news/cmscrawlercom-veroffentlicht-womit-europa-347717/
  5. 5. http://www.drupalgardens.com/http://wordpress.com/
  6. 6. http://www.microsoft.com/web/webmatrix/
  7. 7. GNU General Public License, version 2 GPLv2
  8. 8. System RequirementsDrupal WordPress● PHP 5.2.5 ● PHP 5.2.4● MySQL, PostgreSQL, ● MySQL SQLite (MS SQL, Oracle)
  9. 9. Programmierung mit Hooks anstatt von OOP
  10. 10. HooksDrupal WordPressfunction hook_init() { function spam_friends( $post_ID ) { if (drupal_is_front_page()) { $friends = bob@mail.me,susi@mail.me; drupal_add_css( wp_mail( drupal_get_path(module, foo) . $friends, /foo.css); Update, } I just updated my blog} ); return $post_ID; } add_action(publish_post,spam_friends); Mittels anonieme Funktionen (PHP5.3): add_action(wp_head, function() { echo something; }); add_filter(the_title, function($title) { return <b>. $title. </b>; });
  11. 11. DashboardDrupal WordPress
  12. 12. „Frontend“Drupal WordPress
  13. 13. InhalteDrupal WordPress● Nodes ● Posts● Entities
  14. 14. InhaltstypenDrupal WordPress add_action( init, create_post_type ); function create_post_type() { register_post_type( acme_product, array( labels => array( name => __( Products ), singular_name => __( Product ) ), public => true, has_archive => true, ) ); }
  15. 15. ThemingDrupal WordPresshttp://drupal.org/node/171194 http://yoast.com/wordpress-theme-anatomy/
  16. 16. ThemingDrupal Konfiguration WordPress Konventionbartik.info style.css (+ programmierung)name = Bartik /*description = A flexible, recolorable theme Theme Name: Twenty Elevenwith many regions. Theme URI:package = Core http://wordpress.org/extend/themes/twentyelevenversion = VERSION Author: the WordPress teamcore = 7.x Author URI: http://wordpress.org/ Description: The 2011 theme for WordPress ...stylesheets[all][] = css/layout.css Version: 1.2stylesheets[all][] = css/style.css License: GNU General Public Licensestylesheets[all][] = css/colors.css License URI: license.txtstylesheets[print][] = css/print.css Tags: dark, light, white, black, gray, ... */regions[header] = Headerregions[help] = Help html, body, div, span, applet, object, iframe,regions[page_top] = Page top h1, h2, h3, h4, h5, h6, p, blockquote, pre,regions[page_bottom] = Page bottom a, abbr, acronym, address, big, cite, code,regions[highlighted] = Highlighted del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var,regions[featured] = Featured dl, dt, dd, ol, ul, li,regions[content] = Content fieldset, form, label, legend,regions[sidebar_first] = Sidebar first table, caption, tbody, tfoot, thead, tr, th, td {
  17. 17. ThemesDrupal WordPress
  18. 18. FieldsDrupal WordPress
  19. 19. ErweiterungenDrupal WordPress
  20. 20. BenutzerverwaltungDrupal WordPress
  21. 21. EntwicklungDrupal WordPress● drupal.org ● wordpress.org● Repository: Git ● Repository: Das Internet aber offiziell Subversion● Vollständige Dokumentation ● Ausgiebige● Übersetzungen: Gettext Dokumentation ● Übersetzungen: Gettext
  22. 22. http://drupal.org/user/5665
  23. 23. Walter Ebert @wltrd www.walterebert.de drupal.org/user/699574searchmeetupfrankfurt.de

×