HOW ?Huge excel ﬁles feedingNo data centralizationNo access controlNo: roles permissions <insert_whatever>
Suddenly they saw the lightPlone 2.5ArchetypesDocument conversion to PDFGIS interface
“Their” Nirvana•Workﬂow usage•Centralization•Search capabilities (well yeah, notby diving into win folders...)•No more yelling at MS Ofﬁceversions•No morewhere_da_hell_is_the_last_version_of_that_damn_ﬁle_i_should_use_t (*) intended audience: a very nerd oneoday_to_pass_the_veriﬁcation_to_get_the_last_quality_certiﬁcationsessions.
...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 workﬂows 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 OpenOfﬁce)•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 (ﬁnally)•Diazo•SQLAlchemy
The Big PictureModels deﬁnition (XML) Document instances WEB Print XSLT
GIS implementationBefore AfterShape ﬁles imported Geoserver servinginto Plone as Primagis postgis data, publishedelements using a low on the web usinglevel procedure using OpenLayersGDAL system library. Realtime changesUnﬂexible allowed.
Search featuresBefore AfterSearch queries were Models are actuallytotally built upon persisted intocatalog indexes; some postgres tables, hencemodels got hundres of providing all theﬁelds (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 pdfSOfﬁce server to load conversion; justODT model, gimme couple ofplaceholders seconds, ‘bro !substitution, one byone, and PDF Lightweight.conversion.Just this.
MVC, you’re ﬁred !•Keeping deﬁnition “portable”•Merge model and presentationdeﬁnition •Supermodel •ZPT
Storing data•Storage abstraction •ﬁltering •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)