44
Plone vs The New Guy The Initial Struggles of a Beginning Plone Developer John Hren University Wisconsin - Oshkosh

Plone vs The New Guy The Initial Struggles of a Beginning Plone Developer

  • Upload
    margot

  • View
    46

  • Download
    0

Embed Size (px)

DESCRIPTION

Plone vs The New Guy The Initial Struggles of a Beginning Plone Developer. John Hren University Wisconsin - Oshkosh. The Point of the Presentation. Help new people (people newer than me) learn more efficiently G ive those who train new people some ideas on how to teach Plone - PowerPoint PPT Presentation

Citation preview

Page 1: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Plone vs The New GuyThe Initial Struggles of a Beginning Plone Developer

John HrenUniversity Wisconsin - Oshkosh

Page 2: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

The Point of the Presentation

• Help new people (people newer than me) learn more efficiently

• Give those who train new people some ideas on how to teach Plone

• Add some new thought as to what should be put in training material

• Show the steps I went through to create and implement the Time Conflict Card Product

Page 3: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Why Am I The New Guy

• 20 years in Distribution as a Manager, Quality Director, Buyer, Branch Manager

• Laid off in 2008• Went back to school at UW-Oshkosh in 2009• Majored in Computer Science• Graduated May 2011• Started work at UW-Oshkosh June 2011

Page 4: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Why is Plone, Plone

• CMS (content management system)• Python• Object orientated database• TAL Expressions? Otherwise known as a “Simple TAL

Expression”• Buildout and Bootstrap.py• Theming• ZOPE• Which leads to………

Page 5: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

A Pretty Steep Learning Curve/Cliff/Wall

Page 6: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

What’s In My Quiver When I Started?

• A Canadian (Kim Nguyen)• UW-Oshkosh Development Staff• Some Plone experience with OIE• Google • Professional Plone Development 4 by Martin

Aspeli• Plone.org• Which makes the Score about……

Page 7: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Plone 31 and John 0But the good thing was, I did have a lot of help and the game was just

starting.

Page 8: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

My Initial Job Duties

• Learn• Help Kim implement Intranet • Add new ideas• Turn forms into products• Try not to get in the way• Say nice things about Canada

Page 9: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

How I Learned

• http://plone.org/• http://zope.org/• http://www.python.org/• http://readthedocs.org/docs/collective-docs/e

n/latest/• https://ploud.com/index.html• Professional Plone 4 Development by Martin

Aspeli

Page 10: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

More Learning

• http://www.buildout.org/• http://wiki.zope.org/ZPT/SimpleTutorial TAL info• http://plone.293351.n2.nabble.com/• http://www.zodb.org/• http://docs.diazo.org/en/latest/introduction.htm • http://plone.org/products/dexterity/

documentation/manual/developer-manual

Page 11: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Even More Learning

• Classes• Conferences• Stack Overflow• Chat Room• Sprints• User Groups• Tune Up Days• Polk Library and their ebooks

(www.uwosh.edu/library)

Page 12: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Remember Though,There is so much documentation out there that getting off track is easy. My experience though is don’t ask a question without trying to figure out the answer on your own first

Page 13: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

A Quick Note To Help Document Creators

• Thank you for your input• Indexes• Reference notes• Definition of Terms• Don’t assume, write to your audience

Page 14: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

A Quick Example

Page 15: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Drupal’s Learning Page

Page 16: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

A Quick Note About IDE’s

• Have a favorite• Use it to check in/out code to your repository• Sublime Text 2

Page 17: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

The Time Conflict Card Product

Page 18: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Intranet Task Force Says, “Pick a Form.”

• Study was done to determine possible choices for biggest impact

• Needed a form that would hit all cross sections of the campus, Instructors/Staff/Students

• Add/Drop/Time Conflict Card• Initiated by Students, signed off by Instructors,

entered by Staff, Great Choice!

Page 19: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

What is a Add/Drop/Time Conflict Card?

Page 20: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Meeting With The Registrar

• What constitutes an approval• Sometimes instructors sign off other times

departments sign off• Legal claims• Signing off on class limit and requisites• Comments• Security• One last question….

Page 21: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

WHAT DID WE GET OURSELVES INTO??!!??!!

Page 22: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Decision Time

• Start with Time Conflict Card• Lightly used• Design Functionality will be used in both Add

and Drop cards• Testing could be managed easier• Transitions = Approval

Page 23: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Design Problems

• Instructors should only see the cards they need to sign off on

• Needs to be user friendly interface• Comments need to be easily accessible• Notification system• Can’t let cards sit to long• Complicated Workflow

Page 24: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Tools

• PloneFormGen• Northstar• Workflow Manager• Collective.easytemplate• JQuery

Page 25: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

PloneFormGen

Page 26: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Making The Form

Page 27: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Generating the Product

Page 28: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

The Product is Generated

• The product will be downloaded into your download file.

• It then needs to be moved to your src file

Page 29: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Don’t Forget to Install Your Product

Page 30: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Here is Your Product

Page 31: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Workflow Manager

Page 32: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Workflow State

Page 33: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Workflow Transition

Page 34: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Sanity Check

Page 35: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Diagram

Page 36: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Create and Manage a Card

Page 37: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Start a New Time Conflict Card

Page 38: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

The Top of the Card

Page 39: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

The Bottom of the Card

Page 40: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Filling The Card Out

Page 41: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Filling Out the Card

Page 42: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Submitting

Page 43: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

The Code

• Jquery• Collective.easy.template• Content.py• View.pt

Page 44: Plone vs  The New Guy The Initial Struggles of a Beginning  Plone  Developer

Thank you for listening!John Hren

University Wisconsin - [email protected]