fitting plone in a custom stack

20
fitting in a custom stack

Upload: simone-deponti

Post on 10-May-2015

826 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Fitting Plone in a custom stack

fitting

in a custom stack

Page 2: Fitting Plone in a custom stack

Who am IWho am I

● Simone Deponti● Python/Plone developer @

Abstract● [email protected]

Page 3: Fitting Plone in a custom stack

The customerThe customer

● Largest on-line retailer in Italy● Several brands

Page 4: Fitting Plone in a custom stack

The initial situationThe initial situation

Catalog empire

March of the Cart

Marketing kingdom

...and a lot of small Imperial cities

Page 5: Fitting Plone in a custom stack

The problemThe problem

● Need to manage “marketing” content● To integrate already existing content● Stand alone

Page 6: Fitting Plone in a custom stack

The problem (2)The problem (2)

● “Large theatre of operations”● Must maintain good relations with

“neighbouring states”● Parallel universes (multisite)

Page 7: Fitting Plone in a custom stack

What do we need?What do we need?

Speed

Flexibility

Coherence

Page 8: Fitting Plone in a custom stack

I better clarify...

Page 9: Fitting Plone in a custom stack

SpeedSpeed

● No● Repetitive tasks● “useless” steps

● Yes● One click one kill

Page 10: Fitting Plone in a custom stack

FlexibilityFlexibility

● Marketing is not accounting● Creatives● Exception is routine

● Knowledged users● Web is their work● Possesses skills (that we can leverage)

Page 11: Fitting Plone in a custom stack

CoherenceCoherence

● Few base concepts● Stick to them!● Fast training

Page 12: Fitting Plone in a custom stack

The solutionThe solution

● “Aggregated” content● “multicast” publication● Information Architecture CMS != IA Site

Page 13: Fitting Plone in a custom stack

The solution (2)The solution (2)

● Primary content● Page is folder● Object “composition”● Templating (Genshi)

Page 14: Fitting Plone in a custom stack

The solution (3)The solution (3)

● “primary” content● Explicit positioning of root element● Site-level multicast● Internal structure follows Plone IA

Page 15: Fitting Plone in a custom stack

The solution (4)The solution (4)

● Several content types● “Standalone” or providing interfaces

to internal WS● Can be used within “primary” content

Page 16: Fitting Plone in a custom stack

Lessons learnedLessons learned

● Plone's structure is optimal to manage content● Presenting content is an altogether different

story● In the presentation layer, multiple is good, while

managing, it's a <CENSORED>

Page 17: Fitting Plone in a custom stack

Lessons learnedLessons learned

● Integration is simple if functional area are well defined and grouped

● Several ways:● Webservice● SQL● Etc etc

Page 18: Fitting Plone in a custom stack

ChallengesChallenges

● Know the stack● Automated refresh● Componentize, componentize, componentize

Page 19: Fitting Plone in a custom stack

And then?And then?

● You can always do better● Still too many useless steps● Fine grained security● UI polishing

Page 20: Fitting Plone in a custom stack

CastCast

● Plone● Genshi● SQLAlchemy● PostgreSQL● SOLR