Your SlideShare is downloading. ×
Drupal for ProjectManagers - Part 2Implementationacquia.com
HELLO!Heather JamesJakub Suchy@learningdrupal@jakubsuchy
?You and the project lifecycleDeploymentand LaunchDesignKick off &DiscoveryContentstagingInformationArchitectureDevelopmen...
What’s yourexperience inimplementation?Introducing Jakub Suchy
Who’s on the team?Clarifying roles
Developer teamCMS Platform Framework“Site builder”Not likely much codingexperience.Previous experiencewith other CMSs.Unde...
Site builder concernsI need to keep up todate on Drupaldevelopment andproject issues.Am I making thebest choices aboutconf...
Developer concernsI could code thisfaster if I did itmyself.I think I’ll just puttogether this quickmodule to fix thisfunc...
Themer concernsI want control overthis markup NOW.I have to overrideeverything thatDrupal outputs.Am I makingsustainable t...
WHAT DOES THEPROJECT MANAGERDO ALL DAY?PM’s role in implementation
Key tasks during implementationKeep budget and timeline under controlOversee the choices of the dev teamLong term maintena...
Craziest Drupaldecisions?
What are the patternsof the dangers towatch out for?
CUSTOM V CONTRIBInterpreting client spec intofunctionality
“Projects” on Drupal.orgWhat is it? What does it do?ModulesPHP, CSS, HTML,JavaScript.Code that alters, extendsor enhances ...
Can Drupal do X?Select a date30 329 1 231282421 23 25 272622201814 17 191615129 1187 10 13S6F5T4W3T21M30SDecember 2011Sele...
“There’s a module for that”drupal.org/project/modules“d.o”
What is it really?Location in file hierarchy:Drupal core folder/sites/all/modules/
More is less?Generic components means additionalmodules.... at first.•Attribution 2.0 Generic (CC BY 2.0)By creative.parad...
Clicking togetherWhen choosing amodule, consider:Can you build withexisting tools?Build with Fieldsand Views?•••PuzzledBy ...
Module “cost”Each module implies a performance cost.Code to be loaded/executed.Memory consumption.Each must be maintained ...
How many is too many?Less modules means less memory... but...No hard and fast rule.Depends on the actual length and comple...
When do we need tocustomize?
Drupal’s extensible API
Issue queues
What is a patch?A patch is a recordof changes.- removes a line+ adds a lineThese are sharedamong developers.••Removingand ...
What are the risks?Watch out for:Developers re-writing parts of Drupal.Hacking core or contributed modules.Acquia Insight ...
IMPLEMENTATION:THEMING, CONTENT,AND LAYOUTUsing Drupal
Theming - the lookand feel of the site
Theming
What is it really?Location in file hierarchy:Drupal core folder/sites/all/themes/
A themeTemplate files*.tpl.phpPHPtemplate.phpPHPHTML JSImages*.infoTXTCSSPHPDrupalCorePHPContributedmodulesDatabaseWeb server
Kinds of themesContributedthemesBusy, Domicile,CorollaBasethemesZen, Omega, Mothership, AdaptiveCommercialthemesTop Notch,...
Content modelingwith DrupalWhat makes Drupal different?
What you may be thinkingexample.com newsaboutmastheadpoliticssportscontactYour mentalsite map
Googlehttp://domain.comWeb Page TitleStructure first?Googlehttp://domain.comWeb Page TitleFront page Full page?
Structure of content not displayGooglehttp://domain.comWeb Page TitleGooglehttp://domain.comWeb Page TitleFull pageFront p...
Data first!Articles UsersPages Comments““Terms
Structured contentIn HTML:Body textTagsLocationMedia (video,images)TitleImage uploadTitleLocationTagsBody textUnstructured...
Structured contentImageTitleLocationTagsBody textAuthorDateGooglehttp://domain.comWeb Page TitleShow 2 most recent.Image a...
Structured contentGooglehttp://domain.comWeb Page TitleImageTitleLocationTagsBody textAuthorDateShow 9 per page withpagina...
Anatomy of aDrupal pageLayout configuration options
CMS layout and displayLayout and displayof content dependson conditions andreactions.What site path?Logged in oranonymous?...
RegionsGooglehttp://example.comWeb Page TitleFar far away, behind the word mountains, far from the countries Vokalia and C...
BlocksGooglehttp://example.comWeb Page TitleFar far away, behind the word mountains, far from the countries Vokalia andCon...
LoginLoginE-mailtextNametextAmazing newsMammoth alivePolar ice caps healedLife found on MarsAtlantis relics discoveredBloc...
LoginLoginE-mailtextNametextAmazing newsMammoth alivePolar ice caps healedLife found on MarsAtlantis relics discoveredView...
Far far away, behind the word mountains, faConsonantia, there live the blind texts. Septhe coast of the Semantics, a large...
RecapPages have RegionsRegions containblocks.Blocks can be:Output by modulesSelected by viewmodesOutput by ViewsSet to sho...
HOW DO YOUENSURE QUALITYCONTROL?Planning for testing
How do you testfunctionality?
TestingSimpletestSeleniumuTest.com•••
How do you testquality?
Quality controlDocument “why” and not “how”Acquia InsightAcquia PS, site-audits are an option as well.•••
Assignment!Model a content type for an exampleproject. How many fields do you need? Whatkinds of data would they hold?Do a...
ANY QUESTIONS?For those watching therecording, ask questions here:bit.ly/d4pmjakub
Contact us!acquia.com/training/contact
Sign up for next sessions!
Upcoming SlideShare
Loading in...5
×

Drupal for Project Managers, Part 2: Implementation

2,448

Published on

Published in: Technology

Transcript of "Drupal for Project Managers, Part 2: Implementation"

  1. 1. Drupal for ProjectManagers - Part 2Implementationacquia.com
  2. 2. HELLO!Heather JamesJakub Suchy@learningdrupal@jakubsuchy
  3. 3. ?You and the project lifecycleDeploymentand LaunchDesignKick off &DiscoveryContentstagingInformationArchitectureDevelopment/ImplemenQualityAssuranceMaintenanceFrom “Planning and Managing a Drupal Project” by Amye Scavarda in Definitive Guide to DrupalWhat definessuccessWhat risks in eachphase?How can you affectall phases?
  4. 4. What’s yourexperience inimplementation?Introducing Jakub Suchy
  5. 5. Who’s on the team?Clarifying roles
  6. 6. Developer teamCMS Platform Framework“Site builder”Not likely much codingexperience.Previous experiencewith other CMSs.Understands Drupalconfiguration for ofcore and popularcontrib modules.“Developer”Programmingexpertise in PHPand/or otherlanguages.Interprets specificationin module selection,Drupal configurationand custom code.“Themer”Knowledge of Drupalsite building.CSS/HTML/JavaScript.Isn’t neccessarily thevisual designer!Interprets design inDrupal configuration &theme code.
  7. 7. Site builder concernsI need to keep up todate on Drupaldevelopment andproject issues.Am I making thebest choices aboutconfiguration?I want efficiency andstandardization ofcontent types, views,etc.•••Attribution 2.0 Generic (CC BY 2.0)By muir.ceardachhttp://www.flickr.com/photos/ceardach/4549267838/
  8. 8. Developer concernsI could code thisfaster if I did itmyself.I think I’ll just puttogether this quickmodule to fix thisfunctionality.Am I making thebest use of Drupaland my time?•••Attribution 2.0 Generic (CC BY 2.0)By muir.ceardachhttp://www.flickr.com/photos/ceardach/4551272696
  9. 9. Themer concernsI want control overthis markup NOW.I have to overrideeverything thatDrupal outputs.Am I makingsustainable themesthat I can maintaineasily?•••Attribution 2.0 Generic (CC BY 2.0)By muir.ceardachhttp://www.flickr.com/photos/ceardach/4548679597
  10. 10. WHAT DOES THEPROJECT MANAGERDO ALL DAY?PM’s role in implementation
  11. 11. Key tasks during implementationKeep budget and timeline under controlOversee the choices of the dev teamLong term maintenanceBalance trade offs SaaS > Core > Contrib >Custom••••
  12. 12. Craziest Drupaldecisions?
  13. 13. What are the patternsof the dangers towatch out for?
  14. 14. CUSTOM V CONTRIBInterpreting client spec intofunctionality
  15. 15. “Projects” on Drupal.orgWhat is it? What does it do?ModulesPHP, CSS, HTML,JavaScript.Code that alters, extendsor enhances Drupal’sbase functionality.ThemesPHP, CSS, HTML, Imagesand JavaScriptProvides the look andfeel for your site.DistributionsFull versions of Drupalcore along with selectedmodules & custom themesOut of the boxfunctionality such as aconference website, or“Commerce”
  16. 16. Can Drupal do X?Select a date30 329 1 231282421 23 25 272622201814 17 191615129 1187 10 13S6F5T4W3T21M30SDecember 2011Select TodaySlider1Item Title 1Subtitle 12Item Title 2Subtitle 23Item Title 3Subtitle 3ItemSub16:9This is the Title of the VideoOne morning, when Gregor Samsawoke from troubled dreams, hefound himself transformed... More...0:00 / 4:59URLEmbedRatings
  17. 17. “There’s a module for that”drupal.org/project/modules“d.o”
  18. 18. What is it really?Location in file hierarchy:Drupal core folder/sites/all/modules/
  19. 19. More is less?Generic components means additionalmodules.... at first.•Attribution 2.0 Generic (CC BY 2.0)By creative.paradoxhttp://www.flickr.com/photos/edmands/2771878770/Attribution-NoDerivs 2.0 Generic (CC BY-ND 2.0)by JuditKhttp://www.flickr.com/photos/juditk/5879492679/
  20. 20. Clicking togetherWhen choosing amodule, consider:Can you build withexisting tools?Build with Fieldsand Views?•••PuzzledBy brad montgomeryAttribution 2.0 Generic (CC BY 2.0)
  21. 21. Module “cost”Each module implies a performance cost.Code to be loaded/executed.Memory consumption.Each must be maintained and updated.Modules are constantly evolving.Subscribe to issue queues.••••••
  22. 22. How many is too many?Less modules means less memory... but...No hard and fast rule.Depends on the actual length and complexityof individual modules.Beware modules installed for testing whichneed to be disabled, uninstalled and removed.••••Uninstall and Delete any unused modules!
  23. 23. When do we need tocustomize?
  24. 24. Drupal’s extensible API
  25. 25. Issue queues
  26. 26. What is a patch?A patch is a recordof changes.- removes a line+ adds a lineThese are sharedamong developers.••Removingand addingRemovingand adding
  27. 27. What are the risks?Watch out for:Developers re-writing parts of Drupal.Hacking core or contributed modules.Acquia Insight can check if your site ishacked.••••
  28. 28. IMPLEMENTATION:THEMING, CONTENT,AND LAYOUTUsing Drupal
  29. 29. Theming - the lookand feel of the site
  30. 30. Theming
  31. 31. What is it really?Location in file hierarchy:Drupal core folder/sites/all/themes/
  32. 32. A themeTemplate files*.tpl.phpPHPtemplate.phpPHPHTML JSImages*.infoTXTCSSPHPDrupalCorePHPContributedmodulesDatabaseWeb server
  33. 33. Kinds of themesContributedthemesBusy, Domicile,CorollaBasethemesZen, Omega, Mothership, AdaptiveCommercialthemesTop Notch, Adaptive,Worthapost,More Than ThemesCustomthemesSeedrupalshowcase.comfor examples
  34. 34. Content modelingwith DrupalWhat makes Drupal different?
  35. 35. What you may be thinkingexample.com newsaboutmastheadpoliticssportscontactYour mentalsite map
  36. 36. Googlehttp://domain.comWeb Page TitleStructure first?Googlehttp://domain.comWeb Page TitleFront page Full page?
  37. 37. Structure of content not displayGooglehttp://domain.comWeb Page TitleGooglehttp://domain.comWeb Page TitleFull pageFront pageStructure of content takesprecedence to display in Drupal
  38. 38. Data first!Articles UsersPages Comments““Terms
  39. 39. Structured contentIn HTML:Body textTagsLocationMedia (video,images)TitleImage uploadTitleLocationTagsBody textUnstructured(wiki, blogs)Structuredcontent
  40. 40. Structured contentImageTitleLocationTagsBody textAuthorDateGooglehttp://domain.comWeb Page TitleShow 2 most recent.Image as square thumbnail.Body text up to 100 words
  41. 41. Structured contentGooglehttp://domain.comWeb Page TitleImageTitleLocationTagsBody textAuthorDateShow 9 per page withpagination.Image as thumbnail.Author link to profile. Short date.
  42. 42. Anatomy of aDrupal pageLayout configuration options
  43. 43. CMS layout and displayLayout and displayof content dependson conditions andreactions.What site path?Logged in oranonymous?What “view mode”is selected for thiscondition?••••Log innamepasswordLoginJoe joined...Lisa joined...Peter joined...Mary joined...Whos new?Ever wondered?Great newsFantastic offer for youLog innamepasswordLogin
  44. 44. RegionsGooglehttp://example.comWeb Page TitleFar far away, behind the word mountains, far from the countries Vokalia and Consonantia,there live the blind texts. Separated they live in Bookmarksgrove right at the coast of theSemantics, a large language ocean.A small river named Duden flows by their place and supplies it with the necessaryregelialia. It is a paradisematic country, in which roasted parts of sentences fly into yourmouth.Even the all-powerful Pointing has no control about the blind texts it is an almostunorthographic life One day however a small line of blind text by the name of Lorem Ipsumdecided to leave for the far World of Grammar. The Big Oxmox advised her not to do so,because there were thousands of bad Commas.(banner)ButtonE-mailtextNamePartnerVendorClientAbout youtextSign upheaderhighlightedsidebarsecondmain content
  45. 45. BlocksGooglehttp://example.comWeb Page TitleFar far away, behind the word mountains, far from the countries Vokalia andConsonantia, there live the blind texts. Separated they live in Bookmarksgrove right atthe coast of the Semantics, a large language ocean.A small river named Duden flows by their place and supplies it with the necessaryregelialia. It is a paradisematic country, in which roasted parts of sentences fly into...Read more.Welcome to the siteSite title(banner)SloganLoginLoginE-mailtextNametextAmazing newsMammoth alivePolar ice caps healedLife found on MarsAtlantis relics discoveredEven the all-powerful Pointing has no control about the blind texts it is an almostunorthographic life One day however a small line of blind text by the name of LoremIpsum decided to leave for the far World of Grammar.The Big Oxmox advised her not to do so, because there were thousands of badCommas. Read more.A message from our founder
  46. 46. LoginLoginE-mailtextNametextAmazing newsMammoth alivePolar ice caps healedLife found on MarsAtlantis relics discoveredBlocks configCan be output bymodules. Example,the user login.Visibility conditionssuch as:Display on front pageonlyDisplay foranonymous users••--
  47. 47. LoginLoginE-mailtextNametextAmazing newsMammoth alivePolar ice caps healedLife found on MarsAtlantis relics discoveredViews moduleDisplay: FieldsField selected: Title (linked)Base data: Content typeFilter: News contentSort: Most recentLimit to: 4 results
  48. 48. Far far away, behind the word mountains, faConsonantia, there live the blind texts. Septhe coast of the Semantics, a large languagA small river named Duden flows by their pregelialia. It is a paradisematic country, in wRead more.Welcome to the siteEven the all-powerful Pointing has no contrunorthographic life One day however a smIpsum decided to leave for the far World ofThe Big Oxmox advised her not to do so, bCommas. Read more.A message from our found“View modes”Display settings oncontent types.In this case, a teaser,linking to a full page.
  49. 49. RecapPages have RegionsRegions containblocks.Blocks can be:Output by modulesSelected by viewmodesOutput by ViewsSet to show underspecific conditions•••----Googlehttp://example.comWeb Page TitleFar far away, behind the word mountains, far from the countries Vokalia andConsonantia, there live the blind texts. Separated they live in Bookmarksgrove right atthe coast of the Semantics, a large language ocean.A small river named Duden flows by their place and supplies it with the necessaryregelialia. It is a paradisematic country, in which roasted parts of sentences fly into...Read more.Welcome to the siteSite title(banner)SloganLoginLoginE-mailtextNametextAmazing newsMammoth alivePolar ice caps healedLife found on MarsAtlantis relics discoveredEven the all-powerful Pointing has no control about the blind texts it is an almostunorthographic life One day however a small line of blind text by the name of LoremIpsum decided to leave for the far World of Grammar.The Big Oxmox advised her not to do so, because there were thousands of badCommas. Read more.A message from our founderGooglehttp://example.comWeb Page TitleFar far away, behind the word mountains, far from the countries Vokalia and Consonantia,there live the blind texts. Separated they live in Bookmarksgrove right at the coast of theSemantics, a large language ocean.A small river named Duden flows by their place and supplies it with the necessaryregelialia. It is a paradisematic country, in which roasted parts of sentences fly into yourmouth.Even the all-powerful Pointing has no control about the blind texts it is an almostunorthographic life One day however a small line of blind text by the name of Lorem Ipsumdecided to leave for the far World of Grammar. The Big Oxmox advised her not to do so,because there were thousands of bad Commas.(banner)ButtonE-mailtextNamePartnerVendorClientAbout youtextSign upheaderhighlightedsidebarsecondmain content
  50. 50. HOW DO YOUENSURE QUALITYCONTROL?Planning for testing
  51. 51. How do you testfunctionality?
  52. 52. TestingSimpletestSeleniumuTest.com•••
  53. 53. How do you testquality?
  54. 54. Quality controlDocument “why” and not “how”Acquia InsightAcquia PS, site-audits are an option as well.•••
  55. 55. Assignment!Model a content type for an exampleproject. How many fields do you need? Whatkinds of data would they hold?Do a search on Drupal.org for a modulewhich has some specific functionality youwant. Run through the assessment checklistincluded in the link below.••bit.ly/d4pmjakub
  56. 56. ANY QUESTIONS?For those watching therecording, ask questions here:bit.ly/d4pmjakub
  57. 57. Contact us!acquia.com/training/contact
  58. 58. Sign up for next sessions!

×