plone as a development platform

49
Plone as a Development Platform By [ a highly opinionated talk about the future of Plone from a Framework Team member, developer, project manager, consultant, loud mouth, and general advocate of change aka ] Elizabeth Leddy

Upload: elizabeth-leddy

Post on 14-Jan-2015

575 views

Category:

Technology


0 download

DESCRIPTION

Updates specific to the developer community and forward progress on developer friendliness

TRANSCRIPT

Page 1: Plone as a Development Platform

Plone as a Development Platform

By[ a highly opinionated talk about the future of Plone from a Framework Team member, developer, project

manager, consultant, loud mouth, and general advocate of change aka ]

Elizabeth Leddy

Page 2: Plone as a Development Platform

WARNINGAlthough this presentation seems to be filled with factoids, it is actally filled with lazily validated stats, graphs that are extrapolated far beyond mathematical reason, and pirated imagery. It is highly likely that I have misinterpreted historical results or became so blinded with anger about certain things that I did not Google sufficiently or give good thoughts to decent alternatives. Except any statements about Grok. I’m confident there.

More importantly, this is a very opinionated piece. Officially, much of this is addressed by the Roadmap, which provides you with the important fluff you need to sell Plone to your customers, clients, and neighborhood dentist. In the theoretical future, the roadmap will direct “official” processes and people will cheer and eat cake. For now: anarchy.

In the meanwhile, I can only assume that I will firmly disagree with whatever comes out of this because I am an asshole by nature and go full steam ahead with the contents of this presentation. There is no intention to ruffle feathers or miscommunicate. I encourage all of YOU to get up and talk/blog/vlog your vision for Plone, controvesy and all. Be loud, be proud, be Plone.

Page 3: Plone as a Development Platform

Plone 4.X

Page 4: Plone as a Development Platform

..... .....

4.[1,2,3] Feature Trend‣ Modernizing the User Experience

‣ Commenting

‣ Theming (Diazo)

‣ Search

‣ Collections

‣ Content type creation

(Dexterity )

‣ Events

‣ Modernizing The Architecture‣ Performance++

‣ Repackaging Party

‣ Keep up with Zope releases

‣ Standardizing APIs

‣ HTML 5

‣ Python 2.7

4.1

4.2

4.3

Page 5: Plone as a Development Platform

New Processes

0

15

30

45

4.0 4.1 4.2 4.3 4.4*

Proposed AcceptedMerged Incomplete

4.0

4.1

4.2

4.3*

0 100 200 300 400

Days from Last Release to AlphaDays from Alpha to Release

PLIPS Releases

* PLIP monster wants PLIPS

Only YOU can make this smaller!

Page 6: Plone as a Development Platform

s

Ticket Cleanup Process

Attainable Goal: 4 Tickets per Contributor

1132 Open Tickets8 per core contributor

3.4 new tickets/day

Page 7: Plone as a Development Platform

Ticket Status

Distribution of Tickets (color coded by how much

attention they get)

Feature Requests376

PLIPs25

Bugs729

Breakdown of Bugs (color coded by how irritated I

am that they are open)

Ongoing24

Future230

4.x603

Page 8: Plone as a Development Platform

Add Ons

2010

2011

2012*

0 125 250 375 500

New Updated

In January 2012, 29 new add-ons were registered on Plone.org. That is almost

one new add-on per day.

Page 9: Plone as a Development Platform

Plone on the Outskirts

Collective DM Commits/Month

Core Commits/Month

Page 10: Plone as a Development Platform

Plone on the Outskirts

Collective DM Commits/Month

Core Commits/Month

Page 11: Plone as a Development Platform

Plone on the Outskirts

Collective DM Commits/Month

Core Commits/Month

Page 12: Plone as a Development Platform

Plone on the Outskirts

Collective DM Commits/Month

Core Commits/Month

Page 13: Plone as a Development Platform

Plone on the Outskirts

Collective DM Commits/Month

Core Commits/Month

Page 14: Plone as a Development Platform

What is Plone 5?Seriously this time!

Page 15: Plone as a Development Platform

2007

‣Deco/Tiles

‣Usability

‣Performance

‣1 content type to

RULE THEM ALL! GLITTER+PONIES = UNICORNS=== Plone 5

blah blah blah.

meh dog says...

Page 16: Plone as a Development Platform

2012: Facing Reality

???Deco Light?

CMSUI?The #1

framework of post apocalyptic

times?

2010?2011?

2012?

Grok?

Whatever the release manager says it is?

Page 17: Plone as a Development Platform

Roadmap

‣ plone.org/roadmap

‣ Short Term‣ Improved calendaring and

collections

‣ Improved content development

experience

‣ Medium Term‣ CMS-UI & Deco Lite

‣ WSGI & Ajax

‣ CMF forms -> Browser Views

In order to reach

where we are going

we must forgive

where we have been

Direction (Roadmap)

Community

Beer

Plone 4

Vectors of Influence for Plone 5

Dedication

Excitement

BitternessResistance to change

Realized Path

Text

Page 19: Plone as a Development Platform

..... .....

Framework Core Values

‣ XML Configuration

‣ Easy debugging

‣ Extensibility/Pluggability

‣ 100% test coverage

‣ Best in class code

‣ More documentation

‣ Hard things easy

‣ Code next to config

‣ Syntactic Sugar

‣ The custom folder

‣ Happy end users

‣ Clear and simple APIs

‣ Better documentation

‣Easy things easy

Page 20: Plone as a Development Platform

Programming, Motherfucker

Page 21: Plone as a Development Platform

Teaching Python Web‣ Task: Make a TODO list

‣ Audience: New to Python

‣ 3 frameworks, 3 hours

per framework

‣ web2py, flask, DjangoInterfaces? I’ll just use PHP then.

meh dog says...

Page 22: Plone as a Development Platform

Simple Syntax

@route(‘/contact’)

@render(‘contact.pt’)

class Contact(View):

def getContactInfo(self):

return {phone=”999-999-9999”}

@route(‘/support-request’)

def ProcessSupport(View):

# submit to 3rd party here

return redirect(url_for(ThankYou))

Page 23: Plone as a Development Platform

Hypoglycemia

‣ Getting the site root

‣ 6 files and ~20 lines of code to add a

new stylesheet

‣ Touching so many files and modules:

impossible to move quickly without

referencing documentation

constantly

Using Recommended Practices:

Page 24: Plone as a Development Platform

The patient suffers from a severe deficiency of

Syntactic Sugar

Page 25: Plone as a Development Platform

Scapegoat: Documentation

Page 26: Plone as a Development Platform

Developer Driven Development

‣ Think about the API first

‣ Obsess about developer

efficiency

‣ Use documented examples/

recipes to prove ease of use

‣ Contribute shortcuts from your

everyday process and share

them with coworkers and

communityMake documentation less important with intuitive code!

Page 27: Plone as a Development Platform

Plone 5 has the potential to make

Happy Developers!

Page 28: Plone as a Development Platform

... makes hiring easier

‣ Plone will never be hip: move on

‣Dangerously high levels of

frustration in the blood

‣ Foster interest in long term

career achievement

‣ “At least it’s not Java”

“plone means getting hands dirty and

drinking away your sorrows once you finish the day”

supton, #plone, January 2012

A thriving community of happy developers...

Page 29: Plone as a Development Platform

‣ Plone developers cost much more

than the competition because they

are highly skilled + scarce

‣ Ramp up is too time consuming ($$$)

‣ Clients have the right to a saturated

developer market should they move

on to a different company

‣Developers have the right to feel

prepared to move on within PLONE

‣Diversity in quality of developers

... makes firing easier

A large community of happy developers...

Page 30: Plone as a Development Platform

Spanky Certified

✓ Internationalized

✓ Unit tests

✓ End-user documentation

✓ Internal documentation

✓ Existed and maintained for at least 6 months

✓ Installs and uninstalls cleanly

✓ Code structure follows best practice

✓Usable by Spanky

Page 31: Plone as a Development Platform

Who does Plone work for?

"If you want a platform to be successful, you need

massive adoption, and that means you need

developers to develop for it. The best way to kill a

platform is to make it hard for developers to build on

it. Most of the time, this happens because platform

companies ... don't know that they have a platform

(they think it's an application)." ~ Joel Spolsky

Page 32: Plone as a Development Platform

We Hear You(and we are serious about fixing it)

Page 33: Plone as a Development Platform

Plone Pain Top 10 Update

plone.api

Planned in plone.api

Planned for Plone 5

(ping esteele to help)

Page 34: Plone as a Development Platform

Plone PainDev docs in core,

trac removed. Guidelines started then stalled - help

requested!

Part of CMF templates

rewrite, new code validated

PLIP Requested: ping esteele

Page 35: Plone as a Development Platform

2 new tutorials made, return of tutorial focus

PLIP Requested: ping esteele

Debug tools in plone.api planned

KSS, inline editing pulled out. Lots more too do

Page 36: Plone as a Development Platform

Plone 5 TODOs

‣ Make Archetypes Optional

‣ Widget parity*

‣ Default Plone types in Dexterity*

‣ Continue to factor out unnecessary

packages

‣ KSS

‣ Archetypes

‣ Javascript date formatting*

‣ plone.api*

‣ Move all config settings to the registry*

*: Needs PLIP-lementors

Initiating release sequence...Plone 5 released.

Page 37: Plone as a Development Platform

..... .....

Summary

‣Plone 4

Modernizing the Plone

user experience

‣Plone 5

Modernizing the Plone

developer experience

Page 38: Plone as a Development Platform

Plone Culture NGPlone 5 will happen... now what?

Page 39: Plone as a Development Platform

‣ Decide to commit to Plone the community. Too

many people sitting on the fence results just leaves

us with a busted fence.

‣ Commit your project or company, no matter how

small, to just 1 internal Plone culture improvement

proposal this week. Can’t code? Even better.

Committing Not Just for Developers

Page 40: Plone as a Development Platform

‣ Policy: All employees sign up for Plone on day 1‣ Paperwork: Contributor agreement, plone.org account

‣ Persist Plone culture (e.g. pre-install IRC)

‣ Training: teach new developers how and when

to file bugs and properly contribute fixes

‣Mentorship: it’s not just for finding the bathroom

Resolve to Initiate

Page 41: Plone as a Development Platform

‣ Host a sprint. Ploners LOVE to travel. It’s science.

‣ Send 1 [non-technical] person to a conference ‣ Level Up: Let them stay to sprint‣ Bonus Round: Present a case study of your work

‣ Form an alliance (or two). Explain projects,

frustrations, share contacts. Meet their team in

person.

Resolve to Travel

Page 42: Plone as a Development Platform

‣ Test new versions of Plone. Stage, don’t deploy.

Upgrade and run your tests. Report back.

‣Make a policy to stop forking! It’s a short term fix

with long term problems. Enforce it.

‣ Set aside time for a company sponsored PLIP

Resolve to Encourage

Page 43: Plone as a Development Platform

..... .....

Resolve to Sprint this Weekend!

‣Beginner Finish Plone Contributor

Agreement process

‣Advanced

“Goodbye cpy!”

Page 44: Plone as a Development Platform

Plone has the potential to makehappy developers, but only you have the power to make

Plone

!MAGIC

Page 45: Plone as a Development Platform

EXCUSES

Plone 5 code name: No Excuses

Page 46: Plone as a Development Platform

Questions?

Page 48: Plone as a Development Platform

Imagery