Personal tools
You are here: Home Members Rob Hawkins RBHBlog Fits and Starts with Plone 3
About this blog

This is Rob Hawkins' blog. I have switched from Quills to Coreblog2, though neither are perfect. We have moved from Okinawa, Japan, to Cleveland in Northeast Ohio.

This blog is powered by


View Robert Hawkins's profile on LinkedIn


hCard
photo
Robert Hawkins
Neohawk Family
939 Aintree Park Drive #204
Mayfield Village, Ohio 44143 USA
Robert Hawkins


Ma.gnolia




« August 2008 »
Su Mo Tu We Th Fr Sa
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
 

Fits and Starts with Plone 3

by Robert B. Hawkins posted at 2008-02-10 15:23 last modified 2008-02-10 15:47
Plone Professional Development

As I slowly make my way through the Professional Plone Development book, I find there are some things that I pick up on quickly, some take me a little longer to figure out.  In particular though, the book has gotten me excited about Plone3.  It seems much "lighter"  or faster than Plone2 and it's got openid support.

But the whole portlet thing is giving me heartache, most likely because being a cut and paster it is so easy to copy a portlet into portal_skins/custom and make the necessary minor changes for a new portlet.  The new way, the proper way anyway, is much more cumbersome.  Again, for a cut and paster. 

The great thing about the book though is it very clearly helps me get my head around the new way.

The book uses a hypothetical case study of the Optilux Cinemas, and goes through the various requirements showing you how to build features, functions, themes that meet the hypothetical customer requirements.  I particularly liked that approach since I'm a tad bit slow when it comes to generic discussions.  The concrete examples helped me focus on what it was that was being done, with the why, and I seem to learn plone 3 without "learning plone 3".

What I didn't like was that the case study had a prototype layout for the customer.  The layout had portlets representing applications, etc. and where they are located on the top page.  One of the new things for me was the "viewlets" section.  A page in plone three consists of viewlets.  The book goes through how to add your own viewlets and viewlet managers, and how to order them.  However, the book didn't actually go through the process adding the portlets in the prototype design, which was neither in the typical plone left or right columns but under the main content body.  It would have been nice if they actually walked through that process.

For example, the book shows you how to show the order of the viewlets.  But the portlets in the left and right columns are not actually contained in viewlets. 

I am not really complaining though, as Martin Aspeli has done a fabulous job of laying the basic foundation.  So I am getting ready to try it myself.  It will take me a while, but I'm pretty sure that I'll get it.  Particularly since Plone 3 comes with the nuplone theme which is tableless and recently released Plone Tableless should also be a nice resource to look at.

As I build my test sites, I've been trying out a couple of products.  Feedmixer by Jarn is great.  It gives you a real simple way to add a rss/atom portlet for publishing feeds from other sites.  It works similarly to CMFSin, but in fact is easier to use in that it's done in the plone interface as opposed to the ZMI.  I don't know about how it scales, but it seems great so far.  Via the portlet manager it's easy to create multiple portlets with different feeds or topics.  Clicking on "more" gives you a planet like page.  This I will use assuming it scales well.  And according to this post by Jon Stahl, it is designed to work with caching tools.

However, I agree with Jon on the url for the planet-like page:

http://localhost:8084/plone/++contextportlets++plone.leftcolumn/feeds/full_feed

That's ugly, dead ugly. I don't know if this is a limitation of plone 3 or just the implementation of Feedmixer.  Wichert Akkerman's comment there seems to indicate it's a plone problem.  I'd be sad if that were true.

The folks whom are developing CalendarX recently asked for some donations to help upgrade it to be compatible with plone 3.  I don't know if they got the financing or not, but I saw that there was a development version with plone 3 compatibility.  Unfortunately, it's only available in the collective subversion repository so I couldn't just add the product download to my buildout.cfg.  At least not the way I understand it.

I tried to use a svn checkout of it to create my own egg for use in the buildout configuration.  While it seems to build, calendar x does not become available and doesn't seem to be installed.  I am sure that I'll figure it out, but I haven't yet.   So I'll move on for now.  But I'd like to see if I could get it working, even if it's just for testing purposes.

I think I'm just about at the stage where I'll be able to migrate this site and JANO to plone 3.


Category(s)
Plone-Zope Plone-Zope

Re:Fits and Starts with Plone 3

Posted by Tim Knapp at 2008-02-15 05:20

Hi Robert,
Long time no speak! Just thought I'd comment re. your query above about doing svn checkouts in a buildout.

I just use something like the following:
[sqlpasplugin]
recipe = infrae.subversion
urls = https://svn.plone.org/svn/collective/PASPlugins/SQLPASPlugin/branches/duffyd-firebird2-support SQLPASPlugin

and then reference it in the parts section (e.g. 'sqlpasplugin') and then make sure I update the 'products' config directive under the instance directory to include a reference to this directory (e.g. ${buildout:directory}/parts/sqlpasplugin). You can of course include as many svn checkouts as you require under the urls directive (above). If you do make it an https url, the buildout will also require you accept the ssl cert (so you'll need to manually do an svn command against the url and accept the ssl cert), so it may be better to use a standard http url (which I'm pretty sure the plone collective allows).
HTH,
Tim

Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
(Required)
(Required)
(Required)
Captcha Image


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: