Walter Ebert
Drupal VS WordPress
http://www.schipulcon.com/photos/841/in/9/
http://news.deviousmedia.com/which-open-source-backend-platform-suits-your
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/
http://wordpress.com/
http://www.drupalgardens.com/
http://www.microsoft.com/web/webmatrix/
GNU General Public License, version 2
GPLv2
System Requirements
Drupal● PHP 5.2.5● MySQL, PostgreSQL,
SQLite (MS SQL, Oracle)
WordPress● PHP 5.2.4● MySQL
Programmierung mitHooks
anstatt vonOOP
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>';});
Dashboard
Drupal WordPress
„Frontend“
Drupal WordPress
Inhalte
Drupal● Nodes● Entities
WordPress● Posts
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, ) );}
Theming
Drupal WordPress
http://yoast.com/wordpress-theme-anatomy/http://drupal.org/node/171194
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)
Themes
Drupal WordPress
Fields
Drupal WordPress
Erweiterungen
Drupal WordPress
Benutzerverwaltung
Drupal 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
http://drupal.org/user/5665
Walter Ebert
@wltrd
www.walterebert.de
drupal.org/user/699574
searchmeetupfrankfurt.de