MAD: using Plone to supervise production processes
Upcoming SlideShare
Loading in...5
×
 

MAD: using Plone to supervise production processes

on

  • 1,448 views

PLOG 2011 slides by Bruno Ripa and Simone Deponti

PLOG 2011 slides by Bruno Ripa and Simone Deponti

Statistics

Views

Total Views
1,448
Views on SlideShare
1,358
Embed Views
90

Actions

Likes
0
Downloads
8
Comments
0

1 Embed 90

http://open.abstract.it 90

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

MAD: using Plone to supervise production processes MAD: using Plone to supervise production processes Presentation Transcript

  • MAD: using Plone to supervise production processes Bruno Ripa Simone Deponti
  • Life as they know it A joyful Rubbish dumpPretty and ‘easy’ people working at it
  • For a single “noble” objective
  • Working as intended (tm)
  • HOW ?Huge excel files feedingNo data centralizationNo access controlNo: roles permissions <insert_whatever>
  • Suddenly they saw the lightPlone 2.5ArchetypesDocument conversion to PDFGIS interface
  • “Their” Nirvana•Workflow usage•Centralization•Search capabilities (well yeah, notby diving into win folders...)•No more yelling at MS Officeversions•No morewhere_da_hell_is_the_last_version_of_that_damn_file_i_should_use_t (*) intended audience: a very nerd oneoday_to_pass_the_verification_to_get_the_last_quality_certificationsessions.
  • ...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 (whydon’t you change that damn state when you’redone ?)•GIS: basically a vanity feature, but fantastic for thecustomer•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 PictureModels definition (XML) Document instances WEB Print XSLT
  • GIS implementationBefore AfterShape files imported Geoserver servinginto Plone as Primagis postgis data, publishedelements using a low on the web usinglevel procedure using OpenLayersGDAL system library. Realtime changesUnflexible allowed.
  • Search featuresBefore AfterSearch queries were Models are actuallytotally built upon persisted intocatalog indexes; some postgres tables, hencemodels got hundres of providing all thefields (and so features of the DBMS.indexes). Life gets better andPainful moments. faster.
  • StatisticsBefore AfterYes, you could try to If you can think aboutask the catalog for it, we can give it tosome results. Be sure you.to get a coffee and abreak, put them To protect and serve.toghether, and enjoyyou coffe break.Time lapse.
  • PDF ConversionBefore AfterPDF creation invoking Each documentcatalog, taking back comes out from avalues, invoking html 2 pdfSOffice server to load conversion; justODT model, gimme couple ofplaceholders seconds, ‘bro !substitution, one byone, and PDF Lightweight.conversion.Just this.
  • MVC, you’re fired !•Keeping definition “portable”•Merge model and presentationdefinition •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 multiplephysical sites)
  • Viewing and editing data•Get the data (modelincluded!)•Obtain template from themodel•Use z3c.form to rendereverything
  • Printing•Is telling the user to go toFile › Print when viewing thepage good enough?•Enter wkhtml2pdf (goodenough for us) •Performances have been satisfactory enough
  • Why Plone then?•Single system that doesCMS, process managementand GIS•Effectively, GIS and processmanagement are Zope3webapps (it still works as aweb framework)