SlideShare a Scribd company logo
1 of 20
MAD: using Plone to supervise production processes




                   Bruno Ripa
                 Simone Deponti
Life as they know it

                              A joyful Rubbish dump




Pretty and ‘easy’ people working at it
For a single “noble” objective
Working as intended (tm)
HOW ?


Huge excel files feeding
No data centralization
No access control
No:
 roles
 permissions
 <insert_whatever>
Suddenly they saw the light




Plone 2.5
Archetypes
Document conversion to PDF
GIS interface
“Their” Nirvana


•Workflow usage
•Centralization
•Search capabilities (well yeah, not
by diving into win folders...)
•No more yelling at MS Office
versions
•No more
where_da_hell_is_the_last_version
_of_that_damn_file_i_should_use_t
                                           (*) intended audience: a very nerd one
oday_to_pass_the_verification_to_g
et_the_last_quality_certification
sessions.
...BUT...let’s look into it:




•unmature technology (postgis ? lol)
•hard integration session (primagis ? gdal and the such)
•too much design constraints (pdf conversion sloooow)
•she was not yet famous...oh wait...
In details


•Huge AT schema describing documents
•Resistance to adhere to workflows logic (why
don’t you change that damn state when you’re
done ?)
•GIS: basically a vanity feature, but fantastic for the
customer
•PDF creation for some docs took minutes (yes,
MINUTES - ask OpenOffice)
•Catalog madness
•Catalog madness, little more
•Did i say “catalog madness” ?
A new era was coming...

New tools were ready to rule:
•Plone 4 (Dexterity)
•Geoserver
•Postgis (finally)
•Diazo
•SQLAlchemy
The Big Picture




Models definition (XML)                 Document instances




          WEB



          Print                     XSLT
GIS implementation

Before                                         After

Shape files imported              Geoserver serving
into Plone as Primagis        postgis data, published
elements using a low               on the web using
level procedure using                   OpenLayers
GDAL system library.
                                   Realtime changes
Unflexible                                  allowed.
Search features

Before                                                     After

Search queries were                          Models are actually
totally built upon                                 persisted into
catalog indexes; some                     postgres tables, hence
models got hundres of                           providing all the
fields (and so                             features of the DBMS.
indexes).
                                            Life gets better and
Painful moments.                                          faster.
Statistics

Before                                                 After

Yes, you could try to                If you can think about
ask the catalog for                      it, we can give it to
some results. Be sure                                    you.
to get a coffee and a
break, put them                      To protect and serve.
toghether, and enjoy
you coffe break.

Time lapse.
PDF Conversion
Before                                               After

PDF creation invoking                      Each document
catalog, taking back                     comes out from a
values, invoking                                html 2 pdf
SOffice server to load                      conversion; just
ODT model,                                gimme couple of
placeholders                                seconds, ‘bro !
substitution, one by
one, and PDF                                  Lightweight.
conversion.

Just this.
MVC, you’re fired !



•Keeping definition “portable”
•Merge model and presentation
definition
   •Supermodel
   •ZPT
Storing data

•Storage abstraction
   •filtering
   •averages, sums, etc
   •SQL storage
•Plone object that acts as
“document folder”
•More than one folder per-
site (able to handle multiple
physical sites)
Viewing and editing data



•Get the data (model
included!)
•Obtain template from the
model
•Use z3c.form to render
everything
Printing


•Is telling the user to go to
File › Print when viewing the
page good enough?
•Enter wkhtml2pdf (good
enough for us)
    •Performances have been
    satisfactory enough
Why Plone then?


•Single system that does
CMS, process management
and GIS
•Effectively, GIS and process
management are Zope3
webapps (it still works as a
web framework)

More Related Content

Similar to MAD: using Plone to supervise production processes

mogpres
mogpresmogpres
mogpres
xlight
 
SeaJUG May 2012 mybatis
SeaJUG May 2012 mybatisSeaJUG May 2012 mybatis
SeaJUG May 2012 mybatis
Will Iverson
 
Hadoop at Meebo: Lessons in the Real World
Hadoop at Meebo: Lessons in the Real WorldHadoop at Meebo: Lessons in the Real World
Hadoop at Meebo: Lessons in the Real World
voberoi
 
Hibernate in XPages
Hibernate in XPagesHibernate in XPages
Hibernate in XPages
Toby Samples
 

Similar to MAD: using Plone to supervise production processes (20)

DL4J at Workday Meetup
DL4J at Workday MeetupDL4J at Workday Meetup
DL4J at Workday Meetup
 
mogpres
mogpresmogpres
mogpres
 
SeaJUG May 2012 mybatis
SeaJUG May 2012 mybatisSeaJUG May 2012 mybatis
SeaJUG May 2012 mybatis
 
Why Wordnik went non-relational
Why Wordnik went non-relationalWhy Wordnik went non-relational
Why Wordnik went non-relational
 
Oracle SQL Developer Tips and Tricks: Data Edition
Oracle SQL Developer Tips and Tricks: Data EditionOracle SQL Developer Tips and Tricks: Data Edition
Oracle SQL Developer Tips and Tricks: Data Edition
 
Workflow Engines for Hadoop
Workflow Engines for HadoopWorkflow Engines for Hadoop
Workflow Engines for Hadoop
 
Drupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 versionDrupal upgrades and migrations. BAD Camp 2013 version
Drupal upgrades and migrations. BAD Camp 2013 version
 
mogpres
mogpresmogpres
mogpres
 
Deep learning with DL4J - Hadoop Summit 2015
Deep learning with DL4J - Hadoop Summit 2015Deep learning with DL4J - Hadoop Summit 2015
Deep learning with DL4J - Hadoop Summit 2015
 
Migraine Drupal - syncing your staging and live sites
Migraine Drupal - syncing your staging and live sitesMigraine Drupal - syncing your staging and live sites
Migraine Drupal - syncing your staging and live sites
 
Hadoop at Meebo: Lessons in the Real World
Hadoop at Meebo: Lessons in the Real WorldHadoop at Meebo: Lessons in the Real World
Hadoop at Meebo: Lessons in the Real World
 
Hibernate in XPages
Hibernate in XPagesHibernate in XPages
Hibernate in XPages
 
From a student to an apache committer practice of apache io tdb
From a student to an apache committer  practice of apache io tdbFrom a student to an apache committer  practice of apache io tdb
From a student to an apache committer practice of apache io tdb
 
Dapper: the microORM that will change your life
Dapper: the microORM that will change your lifeDapper: the microORM that will change your life
Dapper: the microORM that will change your life
 
Reproducibility and automation of machine learning process
Reproducibility and automation of machine learning processReproducibility and automation of machine learning process
Reproducibility and automation of machine learning process
 
Lessons PostgreSQL learned from commercial databases, and didn’t
Lessons PostgreSQL learned from commercial databases, and didn’tLessons PostgreSQL learned from commercial databases, and didn’t
Lessons PostgreSQL learned from commercial databases, and didn’t
 
Relay: Seamless Syncing for React (VanJS)
Relay: Seamless Syncing for React (VanJS)Relay: Seamless Syncing for React (VanJS)
Relay: Seamless Syncing for React (VanJS)
 
Jeremy Engle's slides from Redshift / Big Data meetup on July 13, 2017
Jeremy Engle's slides from Redshift / Big Data meetup on July 13, 2017Jeremy Engle's slides from Redshift / Big Data meetup on July 13, 2017
Jeremy Engle's slides from Redshift / Big Data meetup on July 13, 2017
 
Applied Deep Learning with Spark and Deeplearning4j
Applied Deep Learning with Spark and Deeplearning4jApplied Deep Learning with Spark and Deeplearning4j
Applied Deep Learning with Spark and Deeplearning4j
 
12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL12-Step Program for Scaling Web Applications on PostgreSQL
12-Step Program for Scaling Web Applications on PostgreSQL
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

MAD: using Plone to supervise production processes

  • 1. MAD: using Plone to supervise production processes Bruno Ripa Simone Deponti
  • 2. Life as they know it A joyful Rubbish dump Pretty and ‘easy’ people working at it
  • 3. For a single “noble” objective
  • 5. HOW ? Huge excel files feeding No data centralization No access control No: roles permissions <insert_whatever>
  • 6. Suddenly they saw the light Plone 2.5 Archetypes Document conversion to PDF GIS interface
  • 7. “Their” Nirvana •Workflow usage •Centralization •Search capabilities (well yeah, not by diving into win folders...) •No more yelling at MS Office versions •No more where_da_hell_is_the_last_version _of_that_damn_file_i_should_use_t (*) intended audience: a very nerd one oday_to_pass_the_verification_to_g et_the_last_quality_certification sessions.
  • 8. ...BUT...let’s look into it: •unmature technology (postgis ? lol) •hard integration session (primagis ? gdal and the such) •too much design constraints (pdf conversion sloooow) •she was not yet famous...oh wait...
  • 9. In details •Huge AT schema describing documents •Resistance to adhere to workflows logic (why don’t you change that damn state when you’re done ?) •GIS: basically a vanity feature, but fantastic for the customer •PDF creation for some docs took minutes (yes, MINUTES - ask OpenOffice) •Catalog madness •Catalog madness, little more •Did i say “catalog madness” ?
  • 10. A new era was coming... New tools were ready to rule: •Plone 4 (Dexterity) •Geoserver •Postgis (finally) •Diazo •SQLAlchemy
  • 11. The Big Picture Models definition (XML) Document instances WEB Print XSLT
  • 12. GIS implementation Before After Shape files imported Geoserver serving into Plone as Primagis postgis data, published elements using a low on the web using level procedure using OpenLayers GDAL system library. Realtime changes Unflexible allowed.
  • 13. Search features Before After Search queries were Models are actually totally built upon persisted into catalog indexes; some postgres tables, hence models got hundres of providing all the fields (and so features of the DBMS. indexes). Life gets better and Painful moments. faster.
  • 14. Statistics Before After Yes, you could try to If you can think about ask the catalog for it, we can give it to some results. Be sure you. to get a coffee and a break, put them To protect and serve. toghether, and enjoy you coffe break. Time lapse.
  • 15. PDF Conversion Before After PDF creation invoking Each document catalog, taking back comes out from a values, invoking html 2 pdf SOffice server to load conversion; just ODT model, gimme couple of placeholders seconds, ‘bro ! substitution, one by one, and PDF Lightweight. conversion. Just this.
  • 16. MVC, you’re fired ! •Keeping definition “portable” •Merge model and presentation definition •Supermodel •ZPT
  • 17. Storing data •Storage abstraction •filtering •averages, sums, etc •SQL storage •Plone object that acts as “document folder” •More than one folder per- site (able to handle multiple physical sites)
  • 18. Viewing and editing data •Get the data (model included!) •Obtain template from the model •Use z3c.form to render everything
  • 19. Printing •Is telling the user to go to File › Print when viewing the page good enough? •Enter wkhtml2pdf (good enough for us) •Performances have been satisfactory enough
  • 20. Why Plone then? •Single system that does CMS, process management and GIS •Effectively, GIS and process management are Zope3 webapps (it still works as a web framework)

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n