SlideShare uma empresa Scribd logo
1 de 12
When Plone is not the right fit
Carlos de la Guardia
2
Plone is great
● But sometimes, it’s just not what you need.
● Plone is a CMS. Are you sure there is a CM in your S?
● Lots o features, but for CMS “I don’t need that, or
that, or that.”
● Is it a right fit for the customer? “That’s nice, but can
we add this, and this, and that?”
● “Can we do this just like framework X?”
3
Shoehorning your project into Plone is not good
● For you:
– fighting the framework.
– complex development.
● For your customer:
– substandard features.
– bad usability.
● For Plone:
– Bad reputation.
4
Some common situations
● Move a static website into Plone.
● Need simple app to get data from Plone.
● Need completely new app that interacts with Plone.
● Need completely independent app.
5
Move a static website into Plone
● Is it possible to just host it using Apache or
Nginx?
● If not, a simple way is to add it as a directory
resource.
● If a small site, can just add Plone pages and
copy/paste.
● For larger sites, consider using transmogrifier.
6
Need simple application to get data from Plone
● To get the data:
– Plone.restapi.
– Write special json code from Plone views.
– Please, no web scrapping.
● To create the application:
– Lightweight web app using Python or other language
(if you must).
– JS only app.
– A combination of both.
7
Need new application that integrates with Plone
● Similar to previous case, but warrants a deeper analysis of the
requirements.
● Explore best tool for the job. How much flexibility is needed?
● How to “talk” to plone? Per request communication can be costly.
● Sync data with celery tasks or other queuing mechanisms.
● Consider shared catalog using solr or elastic search.
● For a great case study, don’t miss David Glick’s talk about
integrating Plone with Pyramid and several other pieces, at 14:50
today!
8
Need completely independent application
● You are not forced to use Plone for everything.
We won’t take it as an affront.
● Many options. First question is: how many
decisions can be made for you before you start?
● Make a short list and try to compare
features/flexibility/time to learn.
● Try things out when possible.
9
What to use instead of Plone
● Depends on type of application.
● Django.
● Pyramid.
● Flask?
● Plenty more options.
10
Shameless plug
Free ebook.
http://www.oreilly.com/web-platform/free/python-
web-frameworks.csp
11
Why Pyramid might be a good fit for Plone
developers
● It’s part of the family!
● Zope Page Templates (Chameleon).
● Similar concepts:
– Context.
– Traversal.
– Interfaces (ZCA).
● Works very well as a lightweight backend for ReactJS or
Angular apps.
● Much more flexible than Django, more robust than
Flask.
12
Thank You!
Questions?
carlos@jazkarta.com
@cguardia

Mais conteúdo relacionado

Mais de Carlos de la Guardia

Mais de Carlos de la Guardia (10)

Pyramid as a base for higher level frameworks
Pyramid as a base for higher level frameworksPyramid as a base for higher level frameworks
Pyramid as a base for higher level frameworks
 
Pyramid patterns
Pyramid patternsPyramid patterns
Pyramid patterns
 
Pyramid tutorial
Pyramid tutorialPyramid tutorial
Pyramid tutorial
 
Pyramid faq
Pyramid faqPyramid faq
Pyramid faq
 
ZODB Tips and Tricks
ZODB Tips and TricksZODB Tips and Tricks
ZODB Tips and Tricks
 
Python intro for Plone users
Python intro for Plone usersPython intro for Plone users
Python intro for Plone users
 
Pyramid deployment
Pyramid deploymentPyramid deployment
Pyramid deployment
 
A winning combination: Plone as CMS and your favorite Python web framework as...
A winning combination: Plone as CMS and your favorite Python web framework as...A winning combination: Plone as CMS and your favorite Python web framework as...
A winning combination: Plone as CMS and your favorite Python web framework as...
 
World Plone Day 2008 Mexico
World Plone Day 2008 MexicoWorld Plone Day 2008 Mexico
World Plone Day 2008 Mexico
 
Turning Plone into a dynamic site factory
Turning Plone into a dynamic site factoryTurning Plone into a dynamic site factory
Turning Plone into a dynamic site factory
 

Último

Último (20)

MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 

When Plone is not the right fit

  • 1. When Plone is not the right fit Carlos de la Guardia
  • 2. 2 Plone is great ● But sometimes, it’s just not what you need. ● Plone is a CMS. Are you sure there is a CM in your S? ● Lots o features, but for CMS “I don’t need that, or that, or that.” ● Is it a right fit for the customer? “That’s nice, but can we add this, and this, and that?” ● “Can we do this just like framework X?”
  • 3. 3 Shoehorning your project into Plone is not good ● For you: – fighting the framework. – complex development. ● For your customer: – substandard features. – bad usability. ● For Plone: – Bad reputation.
  • 4. 4 Some common situations ● Move a static website into Plone. ● Need simple app to get data from Plone. ● Need completely new app that interacts with Plone. ● Need completely independent app.
  • 5. 5 Move a static website into Plone ● Is it possible to just host it using Apache or Nginx? ● If not, a simple way is to add it as a directory resource. ● If a small site, can just add Plone pages and copy/paste. ● For larger sites, consider using transmogrifier.
  • 6. 6 Need simple application to get data from Plone ● To get the data: – Plone.restapi. – Write special json code from Plone views. – Please, no web scrapping. ● To create the application: – Lightweight web app using Python or other language (if you must). – JS only app. – A combination of both.
  • 7. 7 Need new application that integrates with Plone ● Similar to previous case, but warrants a deeper analysis of the requirements. ● Explore best tool for the job. How much flexibility is needed? ● How to “talk” to plone? Per request communication can be costly. ● Sync data with celery tasks or other queuing mechanisms. ● Consider shared catalog using solr or elastic search. ● For a great case study, don’t miss David Glick’s talk about integrating Plone with Pyramid and several other pieces, at 14:50 today!
  • 8. 8 Need completely independent application ● You are not forced to use Plone for everything. We won’t take it as an affront. ● Many options. First question is: how many decisions can be made for you before you start? ● Make a short list and try to compare features/flexibility/time to learn. ● Try things out when possible.
  • 9. 9 What to use instead of Plone ● Depends on type of application. ● Django. ● Pyramid. ● Flask? ● Plenty more options.
  • 11. 11 Why Pyramid might be a good fit for Plone developers ● It’s part of the family! ● Zope Page Templates (Chameleon). ● Similar concepts: – Context. – Traversal. – Interfaces (ZCA). ● Works very well as a lightweight backend for ReactJS or Angular apps. ● Much more flexible than Django, more robust than Flask.