120 likes | 255 Views
Recommended Project Setup. 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
E N D
Recommended Project Setup Version 1.0 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 Version 1.0 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 Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Extending • How does the mechanism work? • Extends & extends-override [4] • Absolute & relative paths • What happened to “reference” and why was it abandoned? • 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 Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Extending Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Developing in your IDE • Module structure • Bypass / Ressources • Templates vs. Inplace Templates • Export configurations • Clean backuprepository Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Version handling • Abstract- and DefaultMVHinfo.magnolia.module.AbstractModuleVersionHandlerinfo.magnolia.module.DefaultModuleVersionHandler • getBasicInstallTasksvsgetExtraInstallTasks • getDefaultUpdateTaskvs single deltas Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Questions? Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Thank you! Version 1.0 Magnolia is a registered trademark owned by Magnolia International Ltd.
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.