Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hippo GetTogether 2013-06-21 1615 Speeding up H...

Hippo CMS
June 21, 2013
39

Hippo GetTogether 2013-06-21 1615 Speeding up Hippo development - Ebrahim Aharpour Smile

Smile's Ebrahim Aharpour shares some insights in how he speeds up development for himself and the tools he shares so that you can do it too.
The recording is available at https://vimeo.com/70200041

Hippo CMS

June 21, 2013
Tweet

Transcript

  1. 2 Overview  Automation  Reusability  Standardization  Elemenation

    of repeated configuration  Manifesto of reusable Catalogs
  2. 3 Automation - challenges In the past Hippo Development involved

    some rather boring mechanical tasks namely:  Persisting of configuration to XML files  Creation of Hippo Beans
  3. 4 Automation - solution Hippo Maven Plugin  Auto generates

    beans base on Content types  Reloads beans on runtime via JRebel  Generated bean can be extended or overwritten  It is plug-able and extendable
  4. 6 Reusability - solution Hippo prototype  Content (a collection

    of reusable data model fragment)  Front-end (a collection of components, utility class and a tag library)  Plugin support (a collection of tools to easily set up data import or synchronization modules, It takes advantage of bean mapper)
  5. 7 Standardization - challenges Do you have an out of

    control project where its original developer team are no longer available and no one of your developers is familiar its the code?
  6. 8 Standardization - Solution  Strict naming conventions  Standard

    project layout  Standard solutions to typical problems (Overview pages, Navigation, Tabbed pages and etc.)
  7. 9 Standardization - benefits  Easy of maintenance (specially long

    term)  Interchangeability of development team members  Increased productivity  Consistent quality
  8. 10 Elemenation of configuration - challenges One of the most

    time consuming aspects of Hippo development is configuration.
  9. 11 Elemenation of configuration - Solution Smile Hippo Archetype 

    The most common plugins are pre-installed  Selection plugin  EasyForms  Content blocks  Etc.  Many common features  Faceted search  Breadcrumb  Repository base navigation  Sitmap page & sitemap.xml  Search suggestions  Etc.  Hippo prototype
  10. 12 Elemenation of configuration - Solution  Pre-configure deployment set

    up  MySQL  Clustering  Janitor configuration  A number of flexible catalogs  EasyForms  Google maps  Carousel  Latest items  RSS feed aggregator  DISQUS  Video  YouTube  Hippo Maven plug-in
  11. 13 Manifesto of reusable Catalogs  Multiple instances of a

    catalog most be able to be present on a single page without interference with one another  Should be Webrichtlijnen complaint if possible  As configurable as possible, but the default configuration must cover the most common use case  Mixin support if applicable  Must encapsulate its own css and js files.  Must support responsive design  Must give proper feedback in the channel manager in case it is not being rendered for any reason
  12. 14 Conclusion  Mindset  Way of working  Tooling

     Hippo Maven Plugin  Smile Hippo Archtype  Hippo Prototype  HST mixin support module
  13. 15 Links  https://sourceforge.net/projects/smilearchetype/ (Smile Hippo archetype)  http://mavenhippo.sourceforge.net (Hippo

    Maven plugin)  http://sourceforge.net/projects/hippoprototype/ (Hippo prototype)  http://sourceforge.net/projects/hstmixinsupport/ (HST mixin support module)  https://forge.onehippo.org/gf/project/beanmapper/ (Bean Mapper)