drupal vs wordpress

23
Walter Ebert Drupal VS WordPress

Upload: walter-ebert

Post on 08-May-2015

1.360 views

Category:

Technology


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Drupal vs WordPress

Walter Ebert

Drupal VS WordPress

Page 2: Drupal vs WordPress

http://www.schipulcon.com/photos/841/in/9/

Page 3: Drupal vs WordPress

http://news.deviousmedia.com/which-open-source-backend-platform-suits-your

Page 4: Drupal vs WordPress

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 Installationen

http://t3n.de/news/cmscrawlercom-veroffentlicht-womit-europa-347717/

Page 5: Drupal vs WordPress

http://wordpress.com/

http://www.drupalgardens.com/

Page 6: Drupal vs WordPress

http://www.microsoft.com/web/webmatrix/

Page 7: Drupal vs WordPress

GNU General Public License, version 2

GPLv2

Page 8: Drupal vs WordPress

System Requirements

Drupal● PHP 5.2.5● MySQL, PostgreSQL,

SQLite (MS SQL, Oracle)

WordPress● PHP 5.2.4● MySQL

Page 9: Drupal vs WordPress

Programmierung mitHooks

anstatt vonOOP

Page 10: Drupal vs WordPress

Hooks

Drupal

function hook_init() { if (drupal_is_front_page()) { drupal_add_css( drupal_get_path('module', 'foo') . '/foo.css'); }}

WordPress

function spam_friends( $post_ID ) { $friends = '[email protected],[email protected]'; wp_mail( $friends, '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>';});

Page 11: Drupal vs WordPress

Dashboard

Drupal WordPress

Page 12: Drupal vs WordPress

„Frontend“

Drupal WordPress

Page 13: Drupal vs WordPress

Inhalte

Drupal● Nodes● Entities

WordPress● Posts

Page 14: Drupal vs WordPress

Inhaltstypen

Drupal WordPressadd_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, ) );}

Page 15: Drupal vs WordPress

Theming

Drupal WordPress

http://yoast.com/wordpress-theme-anatomy/http://drupal.org/node/171194

Page 16: Drupal vs WordPress

Theming

Drupalbartik.infoname = Bartikdescription = A flexible, recolorable theme with many regions.package = Coreversion = VERSIONcore = 7.x

stylesheets[all][] = css/layout.cssstylesheets[all][] = css/style.cssstylesheets[all][] = css/colors.cssstylesheets[print][] = css/print.css

regions[header] = Headerregions[help] = Helpregions[page_top] = Page topregions[page_bottom] = Page bottomregions[highlighted] = Highlighted

regions[featured] = Featuredregions[content] = Contentregions[sidebar_first] = Sidebar first

WordPressstyle.css/*Theme Name: Twenty ElevenTheme URI: http://wordpress.org/extend/themes/twentyelevenAuthor: the WordPress teamAuthor URI: http://wordpress.org/Description: The 2011 theme for WordPress ... Version: 1.2License: GNU General Public LicenseLicense URI: license.txtTags: dark, light, white, black, gray, ...*/

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, font, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {

Konfiguration Konvention(+ programmierung)

Page 17: Drupal vs WordPress

Themes

Drupal WordPress

Page 18: Drupal vs WordPress

Fields

Drupal WordPress

Page 19: Drupal vs WordPress

Erweiterungen

Drupal WordPress

Page 20: Drupal vs WordPress

Benutzerverwaltung

Drupal WordPress

Page 21: Drupal vs WordPress

Entwicklung

Drupal● drupal.org● Repository: Git● Vollständige

Dokumentation● Übersetzungen: Gettext

WordPress● wordpress.org● Repository: Das Internet

● Ausgiebige Dokumentation

● Übersetzungen: Gettext

aber offiziell Subversion

Page 22: Drupal vs WordPress

http://drupal.org/user/5665

Page 23: Drupal vs WordPress

Walter Ebert

@wltrd

www.walterebert.de

drupal.org/user/699574

searchmeetupfrankfurt.de