0
Building, maintaining and   adapting Drupal projects:   How to challenge   the long run   Author: Alexandre Israël   Date:...
Large Drupal Projects         Introduction         I. Built…         II. …to be run!                                      ...
Introduction          Large projects           specificities               Many features expectations               IS ...
Large Projects SpecificitiesMany features expectations          Large sites                                               ...
Large Projects Specificities  IS complexity vs Drupal      You can’t avoid taking      History into account         Histor...
Large Projects Specificities  Project costs                        Expertise mix                                          ...
Long Run  Many dimensions  Changing                                               Updating content Features               ...
Long RunMain risks                  Technical design must be focalized                  on future maintenance risks and   ...
Long RunAttention points                                Maintainability driven                                   developme...
Build it right          Drupal Best Practices          Architecture           optimization          Capgemini Delivery ...
Drupal Best Practices  Design                         Don’t hack Core          Custom modules:                            ...
Drupal Best Practices    DevelopmentComply to coding standardsA   few links:#   http://drupal.org/best-practices#   http:/...
Drupal Best Practices  Deployment                                                           Manage everything with drush  ...
Architecture OptimizationPlatforms      Managed by                                                                Managed ...
Architecture OptimizationLAMP components             #   https://www.varnish-cache.org/                              Proxy...
Capgemini Delivery  Project Management         OWB / Clarity (schedule)                                                  H...
Capgemini Delivery  Risk Management                                                                                      T...
Capgemini Delivery2 main methodologies        Treat the client’s transparency expectations        Full specifications vs S...
Keep it running          Large range of tasks          Tracking quality                                                 ...
Evolution / Maintenance TasksFeatures                                                                               Themin...
Evolution / Maintenance TasksContent                                                                                      ...
Evolution / Maintenance TasksTranslation        Translation workflow                                                      ...
Quality  Global Quality                                                                                                   ...
Quality  Security                                                               Community code                            ...
Quality Continuous Integration                                                                 # http://seleniumhq.org/   ...
QualityPerformance         Tracking loss of performance                            Some modules for monitoring Drupal site...
Thank you!          Now, it’s your turn:           Any Question?                                                         ...
Contact   Drupal Factory   drupal-factory@capgemini.comhttp://media.smashingmagazine.com/cdn_smash/wp-content/uploads/uplo...
About CapgeminiWith more than 120,000 people in 40 countries, Capgemini is oneof the worlds foremost providers of consulti...
Upcoming SlideShare
Loading in...5
×

Building, maintaining and adapting Drupal projects: How to challenge the long run

3,575

Published on

Want to learn more about Acquia’s products, services, and happenings in the Drupal Community? Visit our site: http://bit.ly/yLaHO5.

Many organizations have identified Drupal as one of the most open and reliable web platform. Easy to deploy, robust enough to integrate their Information Systems. Complex and high-quality websites can now be delivered in much less time than with other technologies, while respecting high security requirements.

Long run maintainability and centrally developed web platforms are the new expectations Drupal is challenging. Web factory approach, rationalized design and pre-configured site profiles provide answers. Adapting these methods to existing large IS, migrating web history and respecting in-time delivery demands a high level experts team.

In this webinar, Capgemini will explain the technical and management choices made to deliver this and beyong.

Topics that will be covered during this session include:
• Features and Costs expectations
• Long run specific risks
• Platform consistent security and features management
• Continuous integration, quality control & centralised monitoring
• Shortening new websites deployment
• Reducing costs through homogeneous Drupal platform

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,575
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
22
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Building, maintaining and adapting Drupal projects: How to challenge the long run "

  1. 1. Building, maintaining and adapting Drupal projects: How to challenge the long run Author: Alexandre Israël Date: 22/02/2013 Drupal Factory Reference: webinar Version: 1.0_EN drupal-factory@capgemini.comhttp://media.smashingmagazine.com/cdn_smash/wp-content/uploads/uploader/wallpapers/january11/january-11-drupal_7_is_coming__62-calendar-1680x1050.jpg
  2. 2. Large Drupal Projects Introduction I. Built… II. …to be run! ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 2http://www.qbase.co.in/wp-content/uploads/2012/04/drupal_v2_1920x1200_orange.png
  3. 3. Introduction  Large projects specificities  Many features expectations  IS Complexity  Project costs  Long run  Many dimensions  Main risks  Attention points ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 3http://www.qbase.co.in/wp-content/uploads/2012/04/drupal_v2_1920x1200_blue.png
  4. 4. Large Projects SpecificitiesMany features expectations Large sites Motorised by DrupalCommerce Interfaced with an ERP Corporate Community E-commerce What about the distribution? Should we go with… # Official Drupal.org # Mono-site installation # Official Acquia # Multi-site installation # Pressflow # Aegir multi-platforms and muti-sites # Drupal Commerce # Drush managed platform (no-Aegir) # Commons # Atrium # OpenPublic # … (too many!) On-line Apps / Services Drupal Profiles Drush / Aegir Drupal Gardens Beyond contents Sites factory http://drupal.org/files/project-images/ck-main-v2-josh-large.jpg http://drupal.org/files/DrupalTime.png ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 4
  5. 5. Large Projects Specificities IS complexity vs Drupal You can’t avoid taking History into account History # Tech team knowledge # Web history Explain & respect # Drupal history Drupal architecture Software # The rest of the IS Team Development Environment Test-Preprod Environments Prod Environment SecurityDrupal choice won’t win againstISD’s Security policy Always keep Drupal# LDAP / AD / SSO# ClamAV antivirus structure in mind# Module validation policy# Existing validated Drupal platform http://www.sapling-inc.com/blog/wp-content/uploads/2011/10/Security-wide.jpg http://www.phase2technology.com/sites/phase2technology.com/files/distro-vs-profileNov23-2011.png ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 5
  6. 6. Large Projects Specificities Project costs Expertise mix Localization mixA Lead Dev should notcreate the easy blockView… Client’s vision maturity Schedule priorities http://www.solutionsforce.com/images/cmg/OurExpertise.jpg Jigsaw created on dumpr.net http://www.ambysoft.com/artwork/agileProjectPlanningFinal.gif ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 6
  7. 7. Long Run Many dimensions Changing Updating content Features Editorial Web Services Translation CommunityModules choice should anticipatechange.Give priority to:# API provided to add new features# Popular modules that are more controled and better maintained Theming & Design Keep adapting Standards Graphics chart Site, Sections, Categories… http://www.sapling-inc.com/blog/wp-content/uploads/2011/10/Security-wide.jpg http://s3.amazonaws.com/webgen_einsteinwebsites/public/assets/36029/green_checklist.jpg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 7
  8. 8. Long RunMain risks Technical design must be focalized on future maintenance risks and Maintenance process explosion Developments focalized on initial delivery Test and don’t go without: # A platform workflow # Clear delivery and validated processes Delivery issues on release Management stability http://www.jesuiscultive.com/IMG/jpg/iceberg_Clevenger.jpg http://www.ccorpusa.com/wp-content/uploads/2011/08/project_management3.jpg http://24.media.tumblr.com/tumblr_lkkif5i75J1qb6i6bo1_500.jpg http://www.stop-o-bugs.fr/crbst_refencement1.jpg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 8
  9. 9. Long RunAttention points Maintainability driven developments Features + hook_update() Export config from DB …to Code Modify database from Code Test update from Development to Pre-production environments Deployment / Delivery This will also help to: processes # Monitor quality through Urgent version control tools # Fully test before delivery Normal # Optimize (e.g. Views) http://2012.badcamp.net/sites/default/files/slides/Features%20BADcamp_0.pdf ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 9
  10. 10. Build it right  Drupal Best Practices  Architecture optimization  Capgemini Delivery ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 10http://www.qbase.co.in/wp-content/uploads/2012/04/drupal_v2_1920x1200_blue.png
  11. 11. Drupal Best Practices Design Don’t hack Core Custom modules: Select the right maxi 15-20% Community modulesBeyond 25%, you should more question:# Is there a Community module for that?# Should I publish/sponsor a module?# Is Drupal the right tool? http://nsyll.net/files/dont_hack_drupal_core.png http://www.kassblog.com/wp-content/uploads/2012/10/the-periodic-table-of-drupal-modules-600x424.jpeg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 11
  12. 12. Drupal Best Practices DevelopmentComply to coding standardsA few links:# http://drupal.org/best-practices# http://drupal.org/writing-secure-code# http://drupal.org/security/secure-configuration# Full project applications: http://drupal.org/node/894256 Use QC tools http://www.aspgw.com/sites/default/files/styles/aspgw_pages_image/public/Drupal_services_build2.png http://asiashipdesign.com/sites/default/files/styles/portfolio_slideshow_view/public/assembly_img/quality%20approved_0.jpeg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 12
  13. 13. Drupal Best Practices Deployment Manage everything with drush Drupal shell # Local and Remote # Use alias # Integrate your modules with drush # Works on windows too Code versioning with subversion / git # http://www.drush.orgPrefer Git if you can# VCS for Drupal community# Transition cost Update database Package database with hook_updatesettings with Features http://compsoc.nuigalway.ie/wiki/_media/how_to:subversion_logo.png http://git-scm.com/images/logos/downloads/Git-Logo-2Color.png http://www.ipodtouchisapro.com/wp-content/uploads/2011/10/software-update.png http://drupalshorts.com/sites/default/files/styles/large/public/field/image/drush-flat.png http://www.mediacurrent.com/sites/default/files/imagecache/thumb_blog_spotlight/drupal-feature_0.jpg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 13
  14. 14. Architecture OptimizationPlatforms Managed by Managed by Capgemini the Client Developper Integration Pre- Integration Acceptance Production Stations Server production or a unique TEST environment Deployment triggered Reload from a Drupal Create/Restore Drupal by Capgemini validation archive backup (Files + Database) archive with drush Deployment triggered by the Client validation ADC Webinar - 03-07-2013 - How to challenge the long run? 14 Copyright © Capgemini 2012. All Rights Reserved
  15. 15. Architecture OptimizationLAMP components # https://www.varnish-cache.org/ Proxy / CDN-like cache # http://drupal.org/project/varnish # Doc: http://drupal.org/node/1054886 # http://drupal.org/project/purge Memcached: Data caching # http://memcached.org/ # http://drupal.org/project/memcache # Settings example: http://drupal.org/node/1181968#comment-5855430 # apt-get install php-apc # http://xerosphere.net/optimizing-apc-for-drupal APC: PHP accelerator http://www.sapling-inc.com/blog/wp-content/uploads/2011/10/Security-wide.jpg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 15
  16. 16. Capgemini Delivery Project Management OWB / Clarity (schedule) HP Quality Center Jenkins Scripts Identified pluginsThese are Capgemini tools,you have your own…# Schedule# Tracking tasks# Tracking quality# Continuous integration# and more. CollabNet ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 16
  17. 17. Capgemini Delivery Risk Management Team Composition Dream Team vs RL Team Team Management # Architect # Lead Developer # Senior / Junior# Availability # Themer# Ramp-up the team # Tester# Prepare Maintenance phase Schedule Budget ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 17
  18. 18. Capgemini Delivery2 main methodologies Treat the client’s transparency expectations Full specifications vs Short schedule Scrum Iterative No Vision, No Scrum No Product Owner, No Scrum either ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 18
  19. 19. Keep it running  Large range of tasks  Tracking quality ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 19http://www.qbase.co.in/wp-content/uploads/2012/04/drupal_v2_1920x1200_blue.png
  20. 20. Evolution / Maintenance TasksFeatures Theming Content types, Menu, Profiles Helpers Search engine ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 20
  21. 21. Evolution / Maintenance TasksContent Secure treatments inside DrupalUpdate processed by Securing strings an external agency # http://drupal.org/writing-secure-code # http://drupal.org/node/28984 Regular sync tasks through WS Import/Export with Drupal # Ouput: Services, Views data export # Input: Feeds, Migrate Regular data migration tasks http://1.bp.blogspot.com/_P_3ZXXQMMlg/TCrd2QIXIrI/AAAAAAAAAnA/B5K2htarxnQ/s1600/a-thoughtfull-pen-writing-3647581-2560-1702.jpg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 21
  22. 22. Evolution / Maintenance TasksTranslation Translation workflow Translation process by an external agency Introducing a new language UI translation update Impacts in many ways your website UI translation available? Contents management, and menus, and blocks, and… BO impacted or not? Theme behaviour may change (arabic, hebrew, chinese, japanese…) http://www.expertmarket.co.uk/sites/default/files/filemanager/Translation.jpg http://dculs.dcu.ie/wp-content/uploads/2011/11/Languages1.png ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 22
  23. 23. Quality Global Quality Status updateAcquia Partnership: Insight Some modules for quality control on Drupal sites:# https://insight.acquia.com # Security review, SEO tools,# http://drupal.org/project/insight Localization update Rescue project Checklist: # http://groups.drupal.org/node/267758 http://www.symphonythemes.com/system/files/drupal7h/d7h_available_updates_500.jpeg ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 23
  24. 24. Quality Security Community code (Core + Modules + Themes)Some modules for quality control on Drupal sites:# Coder , SimpleTest, Security review, Hacked!, md5checkOnline sandbox tests# http://ventral.orgCustom modules Coder Status update Coder Tough Love D.O. Security Team alerts Security Review Localization update PAReview Hacked SEO Review ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 24
  25. 25. Quality Continuous Integration # http://seleniumhq.org/ # WebDriver: http://drupal.org/project/seleniumUnitTest integrated with Drupal # Remote Control (RC): deprecated # http://simpletest.org # http://drupal.org/simpletest Functional tests automation Trigger with drush W3C Validator when possible ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 25
  26. 26. QualityPerformance Tracking loss of performance Some modules for monitoring Drupal sites: # Production check & Production monitor # Nagios # Insight ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 26
  27. 27. Thank you!  Now, it’s your turn: Any Question? ADC Webinar - 03-07-2013 - How to challenge the long run? Copyright © Capgemini 2012. All Rights Reserved 31http://www.qbase.co.in/wp-content/uploads/2012/04/drupal_v2_1920x1200_blue.png
  28. 28. Contact Drupal Factory drupal-factory@capgemini.comhttp://media.smashingmagazine.com/cdn_smash/wp-content/uploads/uploader/wallpapers/january11/january-11-drupal_7_is_coming__62-calendar-1680x1050.jpg
  29. 29. About CapgeminiWith more than 120,000 people in 40 countries, Capgemini is oneof the worlds foremost providers of consulting, technology andoutsourcing services. The Group reported 2011 global revenuesof EUR 9.7 billion.Together with its clients, Capgemini creates and deliversbusiness and technology solutions that fit their needs and drivethe results they want. A deeply multicultural organization,Capgemini has developed its own way of working, theCollaborative Business ExperienceTM, and draws on Rightshore ®,its worldwide delivery model.Rightshore® is a trademark belonging to Capgemini www.capgemini.com The information contained in this presentation is proprietary. © 2012 Capgemini. All rights reserved.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×