SlideShare ist ein Scribd-Unternehmen logo
1 von 17
Downloaden Sie, um offline zu lesen
Implement Projects Successfully
                    	

      with Magnolia Best Practices
    Natascha Desmarais, Trainer   	

                              March 6-8, 2013 at #Mplify




1    Version 1.1                        Magnolia is a registered trademark owned by Magnolia International Ltd.
About me                               	





                   Services Team

      Trainings, trainings, trainings, …

                  Customer projects

                  Magnolia Academy




2   Version 1.1                                  Magnolia is a registered trademark owned by Magnolia International Ltd.
Agenda                                     	



                  !   Why you need this

                  !   Base setup

                  !   Advanced configuration

                  !   Extending

                  !   Developing in your IDE

                  !   Version handling

                  !   Questions




3   Version 1.1                                      Magnolia is a registered trademark owned by Magnolia International Ltd.
Why you need this                         	



                  !   Feel more confident about your project

                  !   Feel at ease with the powerful tool in your hand

                  !   Many ways to achieve a goal, what would we recommend?

                  !   Reassurance for your own project handling

                  !   Maintenance and recognition factor

                  !   Migration path




4   Version 1.1                                     Magnolia is a registered trademark owned by Magnolia International Ltd.
Base Setup – Starting from scratch
                            	



                    !   Use maven archetypes if possible [1]




                    !   General project layout




                    !   Blog post series [2]: “Don’t build/configure/deploy
                             magnolia, …”


    [1] http://wiki.magnolia-cms.com/display/WIKI/Module+QuickStart
    [2] http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects
        http://dev.magnolia-cms.com/~gjoseph/dont-configure-magnolia-let-your-projects-configure-it
        http://dev.magnolia-cms.com/~gjoseph/dont-deploy-magnolia-deploy-your-project

5    Version 1.1                                                                              Magnolia is a registered trademark owned by Magnolia International Ltd.
Advanced configuration 	


                    !   Before starting:

                                  •      Security concept
                                  •      Multilanguage


                    !        magnolia.properties [3]
                    !   Subscribers

                    !   Site configuration

                    !   Messages


    [3] http://documentation.magnolia-cms.com/administration/deployment/war-file-with-multiple-configurations.html




6    Version 1.1                                                                              Magnolia is a registered trademark owned by Magnolia International Ltd.
Extending                                                                      	



                   !   How does the mechanism work?

                                 •      Extends & extends-override [4]
                                 •      Absolute & relative paths
                   !   Do not reinvent the wheel!

                                 •      Use existing configurations: STK, Form, …
                                 •      Extend even if there are no local changes!




    [4] http://documentation.magnolia-cms.com/technical-guide/configuration-mechanisms.html#Extendingconfiguration
        http://documentation.magnolia-cms.com/reference/controls.html#Extendingconfiguration



7   Version 1.1                                                                           Magnolia is a registered trademark owned by Magnolia International Ltd.
Extending                              	



                  Advantages                                          Disadvantages
    ✔     Maintainability                        ✖       No automatic notifications

    ✔     Readability                            ✖       Extending overdone

    ✔ 
                                    Advantages	

          Automatic updates for bugfixes

    ✔     Easy injection of own messages         ✖       Need to implement STK / other
                                                         messages
    ✔     Migration path




8   Version 1.1                                       Magnolia is a registered trademark owned by Magnolia International Ltd.
Developing in your IDE                      	



                  !   Module structure

                  !   Bypass / Resources
                  !   Templates vs Inplace Templates

                  !   Export configurations

                  !   Clean backup repository




9   Version 1.1                                       Magnolia is a registered trademark owned by Magnolia International Ltd.
Version handling                              	



                   !   Abstract- and DefaultMVH
                       info.magnolia.module.AbstractModuleVersionHandler

                       info.magnolia.module.DefaultModuleVersionHandler"

                   !   getBasicInstallTasks vs getExtraInstallTasks
                   !   getDefaultUpdateTasks vs single deltas




10   Version 1.1                                         Magnolia is a registered trademark owned by Magnolia International Ltd.
Questions
                       	





11   Version 1.1         Magnolia is a registered trademark owned by Magnolia International Ltd.
Thank you!
                                       	




     Natascha Desmarais, Trainer                                  March 6-8 at #Mplify
     Magnolia International Ltd.       	

      natascha.desmarais@magnolia-cms.com




                             www.magnolia-cms.com

12    Version 1.1                            Magnolia is a registered trademark owned by Magnolia International Ltd.
13   Version 1.1   Magnolia is a registered trademark owned by Magnolia International Ltd.
14   Version 1.1   Magnolia is a registered trademark owned by Magnolia International Ltd.
Implement projects successfully with Magnolia best practices
Implement projects successfully with Magnolia best practices
Implement projects successfully with Magnolia best practices

Weitere ähnliche Inhalte

Mehr von bkraft

Magnolia Conference 2013: Keynote
Magnolia Conference 2013: KeynoteMagnolia Conference 2013: Keynote
Magnolia Conference 2013: Keynotebkraft
 
Webinar slides: Orchestrate Your Digital Channels with Magnolia 5
Webinar slides: Orchestrate Your Digital Channels with Magnolia 5Webinar slides: Orchestrate Your Digital Channels with Magnolia 5
Webinar slides: Orchestrate Your Digital Channels with Magnolia 5bkraft
 
Webinar - Why Magnolia 5 Rocks For IT
Webinar - Why Magnolia 5 Rocks For ITWebinar - Why Magnolia 5 Rocks For IT
Webinar - Why Magnolia 5 Rocks For ITbkraft
 
Increase Online Sales with Magnolia CMS' Shop Module
Increase Online Sales with Magnolia CMS' Shop ModuleIncrease Online Sales with Magnolia CMS' Shop Module
Increase Online Sales with Magnolia CMS' Shop Modulebkraft
 
Virtual Presence Management at Magnolia Amplify Miami 2013
Virtual Presence Management at Magnolia Amplify Miami 2013Virtual Presence Management at Magnolia Amplify Miami 2013
Virtual Presence Management at Magnolia Amplify Miami 2013bkraft
 
High performance and scalability
High performance and scalability High performance and scalability
High performance and scalability bkraft
 
Multilingual websites, microsites and landing pages
Multilingual websites, microsites and landing pagesMultilingual websites, microsites and landing pages
Multilingual websites, microsites and landing pagesbkraft
 
Blossom on the web
Blossom on the webBlossom on the web
Blossom on the webbkraft
 
Single sourcing desktop and mobile websites
Single sourcing desktop and mobile websitesSingle sourcing desktop and mobile websites
Single sourcing desktop and mobile websitesbkraft
 
Work life balance
Work life balanceWork life balance
Work life balancebkraft
 
Magnolia and PHPCR
Magnolia and PHPCRMagnolia and PHPCR
Magnolia and PHPCRbkraft
 
Solr and Image Module Extensions of Magnolia
Solr and Image Module Extensions of MagnoliaSolr and Image Module Extensions of Magnolia
Solr and Image Module Extensions of Magnoliabkraft
 
MBC Group - Magnolia in the Media
MBC Group - Magnolia in the MediaMBC Group - Magnolia in the Media
MBC Group - Magnolia in the Mediabkraft
 
Yet Another E-Commerce Integration: Magnolia Loves Hybris
Yet Another E-Commerce Integration: Magnolia Loves Hybris Yet Another E-Commerce Integration: Magnolia Loves Hybris
Yet Another E-Commerce Integration: Magnolia Loves Hybris bkraft
 
User Management and SSO for Austrian Government
User Management and SSO for Austrian GovernmentUser Management and SSO for Austrian Government
User Management and SSO for Austrian Governmentbkraft
 
Enterprise Extensions to Magnolia's Imaging
Enterprise Extensions to Magnolia's ImagingEnterprise Extensions to Magnolia's Imaging
Enterprise Extensions to Magnolia's Imagingbkraft
 
How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process
How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design ProcessHow the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process
How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Processbkraft
 
How AngryNerds Convinced Atlassian to Use Magnolia
How AngryNerds Convinced Atlassian to Use MagnoliaHow AngryNerds Convinced Atlassian to Use Magnolia
How AngryNerds Convinced Atlassian to Use Magnoliabkraft
 
Webinar 4.5-features-partners
Webinar 4.5-features-partnersWebinar 4.5-features-partners
Webinar 4.5-features-partnersbkraft
 
Core capabilities of wcm - magnolia
Core capabilities of wcm -  magnoliaCore capabilities of wcm -  magnolia
Core capabilities of wcm - magnoliabkraft
 

Mehr von bkraft (20)

Magnolia Conference 2013: Keynote
Magnolia Conference 2013: KeynoteMagnolia Conference 2013: Keynote
Magnolia Conference 2013: Keynote
 
Webinar slides: Orchestrate Your Digital Channels with Magnolia 5
Webinar slides: Orchestrate Your Digital Channels with Magnolia 5Webinar slides: Orchestrate Your Digital Channels with Magnolia 5
Webinar slides: Orchestrate Your Digital Channels with Magnolia 5
 
Webinar - Why Magnolia 5 Rocks For IT
Webinar - Why Magnolia 5 Rocks For ITWebinar - Why Magnolia 5 Rocks For IT
Webinar - Why Magnolia 5 Rocks For IT
 
Increase Online Sales with Magnolia CMS' Shop Module
Increase Online Sales with Magnolia CMS' Shop ModuleIncrease Online Sales with Magnolia CMS' Shop Module
Increase Online Sales with Magnolia CMS' Shop Module
 
Virtual Presence Management at Magnolia Amplify Miami 2013
Virtual Presence Management at Magnolia Amplify Miami 2013Virtual Presence Management at Magnolia Amplify Miami 2013
Virtual Presence Management at Magnolia Amplify Miami 2013
 
High performance and scalability
High performance and scalability High performance and scalability
High performance and scalability
 
Multilingual websites, microsites and landing pages
Multilingual websites, microsites and landing pagesMultilingual websites, microsites and landing pages
Multilingual websites, microsites and landing pages
 
Blossom on the web
Blossom on the webBlossom on the web
Blossom on the web
 
Single sourcing desktop and mobile websites
Single sourcing desktop and mobile websitesSingle sourcing desktop and mobile websites
Single sourcing desktop and mobile websites
 
Work life balance
Work life balanceWork life balance
Work life balance
 
Magnolia and PHPCR
Magnolia and PHPCRMagnolia and PHPCR
Magnolia and PHPCR
 
Solr and Image Module Extensions of Magnolia
Solr and Image Module Extensions of MagnoliaSolr and Image Module Extensions of Magnolia
Solr and Image Module Extensions of Magnolia
 
MBC Group - Magnolia in the Media
MBC Group - Magnolia in the MediaMBC Group - Magnolia in the Media
MBC Group - Magnolia in the Media
 
Yet Another E-Commerce Integration: Magnolia Loves Hybris
Yet Another E-Commerce Integration: Magnolia Loves Hybris Yet Another E-Commerce Integration: Magnolia Loves Hybris
Yet Another E-Commerce Integration: Magnolia Loves Hybris
 
User Management and SSO for Austrian Government
User Management and SSO for Austrian GovernmentUser Management and SSO for Austrian Government
User Management and SSO for Austrian Government
 
Enterprise Extensions to Magnolia's Imaging
Enterprise Extensions to Magnolia's ImagingEnterprise Extensions to Magnolia's Imaging
Enterprise Extensions to Magnolia's Imaging
 
How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process
How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design ProcessHow the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process
How the STK, CSS & HTML and Rapid Prototyping Accelerate the Design Process
 
How AngryNerds Convinced Atlassian to Use Magnolia
How AngryNerds Convinced Atlassian to Use MagnoliaHow AngryNerds Convinced Atlassian to Use Magnolia
How AngryNerds Convinced Atlassian to Use Magnolia
 
Webinar 4.5-features-partners
Webinar 4.5-features-partnersWebinar 4.5-features-partners
Webinar 4.5-features-partners
 
Core capabilities of wcm - magnolia
Core capabilities of wcm -  magnoliaCore capabilities of wcm -  magnolia
Core capabilities of wcm - magnolia
 

Implement projects successfully with Magnolia best practices

  • 1. Implement Projects Successfully with Magnolia Best Practices Natascha Desmarais, Trainer March 6-8, 2013 at #Mplify 1 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 2. About me Services Team Trainings, trainings, trainings, … Customer projects Magnolia Academy 2 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 3. Agenda !   Why you need this !   Base setup !   Advanced configuration !   Extending !   Developing in your IDE !   Version handling !   Questions 3 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 4. Why you need this !   Feel more confident about your project !   Feel at ease with the powerful tool in your hand !   Many ways to achieve a goal, what would we recommend? !   Reassurance for your own project handling !   Maintenance and recognition factor !   Migration path 4 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 5. Base Setup – Starting from scratch !   Use maven archetypes if possible [1] !   General project layout !   Blog post series [2]: “Don’t build/configure/deploy magnolia, …” [1] http://wiki.magnolia-cms.com/display/WIKI/Module+QuickStart [2] http://dev.magnolia-cms.com/~gjoseph/dont-build-magnolia-build-your-projects http://dev.magnolia-cms.com/~gjoseph/dont-configure-magnolia-let-your-projects-configure-it http://dev.magnolia-cms.com/~gjoseph/dont-deploy-magnolia-deploy-your-project 5 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 6. Advanced configuration !   Before starting: •  Security concept •  Multilanguage ! magnolia.properties [3] !   Subscribers !   Site configuration !   Messages [3] http://documentation.magnolia-cms.com/administration/deployment/war-file-with-multiple-configurations.html 6 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 7. Extending !   How does the mechanism work? •  Extends & extends-override [4] •  Absolute & relative paths !   Do not reinvent the wheel! •  Use existing configurations: STK, Form, … •  Extend even if there are no local changes! [4] http://documentation.magnolia-cms.com/technical-guide/configuration-mechanisms.html#Extendingconfiguration http://documentation.magnolia-cms.com/reference/controls.html#Extendingconfiguration 7 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 8. Extending Advantages Disadvantages ✔  Maintainability ✖  No automatic notifications ✔  Readability ✖  Extending overdone ✔  Advantages Automatic updates for bugfixes ✔  Easy injection of own messages ✖  Need to implement STK / other messages ✔  Migration path 8 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 9. Developing in your IDE !   Module structure ! Bypass / Resources !   Templates vs Inplace Templates !   Export configurations !   Clean backup repository 9 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 10. Version handling !   Abstract- and DefaultMVH info.magnolia.module.AbstractModuleVersionHandler
 info.magnolia.module.DefaultModuleVersionHandler" ! getBasicInstallTasks vs getExtraInstallTasks ! getDefaultUpdateTasks vs single deltas 10 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 11. Questions 11 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 12. Thank you! Natascha Desmarais, Trainer March 6-8 at #Mplify Magnolia International Ltd. natascha.desmarais@magnolia-cms.com www.magnolia-cms.com 12 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 13. 13 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
  • 14. 14 Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.