Upload
combell-group
View
497
Download
1
Embed Size (px)
DESCRIPTION
Citation preview
Drupal& Ubercart
Drupal Core
• Content Management System
• Open Source
• Community driven
• Idee: Alles is een node (inhoud) van een bepaald type (inhoudstype)
• Modules
Overzicht
• Drupal Core
• Drupal Contributed
• Drupal Ubercart
• Drupal Custom
• Drupal op vivabox.be
Drupal Core
• Fields
• Taxonomy
• Blocks
• User system
• Modules
• Theming
Drupal Theming
Drupal Contributed
• Content construction kit (CCK)
• Drupal 6
• Imagecache
• Drupal 6
• Views
• What You See Is What You Get (WYSIWYG)
• Image Manager (IMCE)
Vele andere:
• Pathauto
• Lightbox2
• Token (Replacement tokens)
• Google analytics
• …
• http://drupal.org/project/Modules
Drupal Contributed
DEMO
Drush
• Drupal Shell
• Command line and scripting interface for Drupal
• Vele functies kunnen sneller uitgevoerd worden
• Cache clearen
• drush cc all
• Cron runnen
• drush core-cron
• Watchdog clearen
• drush wd-del all
• Database
• Export: drush sql-dump > filename.sql
• Import: drush sqlc < filename.sql
• Modules
• Downloaden: drush dl modulename
• Enablen: drush en modulename
• Disable: drush dis modulename
• Disablen: drush pm-uninstall modulename
Ubercart
• Extensive configuration
• Products
• Catalog
• Countries
• Orders
• Payment methods
• Customers
• Taxes
Ubercart
DEMO
Drupal Custom
• Drupal is gemakkelijk en op vele plaatsen uitbreidbaar
• Hook systeem
• Hook_form_alter(); MODULE_NAME_form_alter();
• Voorbeeld: Eigen line-item toevoegen
• Nodige hooks:
• Hook_uc_line_item()
• Hook_uc_checkout_pane()
Drupal Core
DEMO
Drupal Development
Drupal
• Hook_menu();
• Hook_schema();
• Hook_user();
• Hook_nodeapi();
• Hook_theme();
• Hook_block();
• Hook_form();
• …
• http://api.drupal.org
Ubercart
• Hook_cart_item();
• Hook_cart_pane();
• Hook_checkout_pane();
• Hook_order();
• Hook_order_pane();
• Hook_payment_method();
• Hook_shipping_method();
• …
• http://www.ubercart.org/docs/api
Drupal op vivabox.be
• Verbeteringen
• SOLR
• Fast
• Facetted search results
• Based on Java
• http://drupal.org/project/apachesolr
• Varnish
• Reverse Proxy
Drupal Development
• Pro Drupal Development
• http://www.drupalbook.com/
Andere mogelijkheden
• Ubercart
• Gaat al lang mee
• Veel uitbreidende modules
• Veel functionaliteit out-of-the-box
• Producten zijn nodes (basis Drupal)
• Custom operaties waren moeilijk
Zoals toevoegen van attributen
• Commerce
• Nieuw, Drupal 7 only
• Weinig in core
• Mist nog functionaliteit
• Producten zijn entiteiten (Drupal 7)
• Unieke producten voor elke variatie
• Geen standaard product pagina
• System management is moeilijker
http://www.markroyko.com/blog/2011/12/14/ubercart-3-vs-drupal-commerce
Drupal toekomst
• Drupal 8 initiatives
• http://groups.drupal.org/drupal-initiatives
Drupal
• Drupal
• Fields, Taxonomy, Blocks, User system, Modules, Theming
• Ubercart
• Extensive configuration, Products, Catalog, Countries, Orders, Payment methods, Customers, Taxes
• Custom development
• Hook system
Drupal
Vragen?
http://www.markroyko.com/blog/2011/12/14/ubercart-3-vs-drupal-commercehttp://groups.drupal.org/drupal-initiatives