I have a somewhat open-ended challenge for which I'd like to solicit ideas.
The site I'm currently working on has a requirement that I'm struggling with. In some ways it needs to be the proverbial 'one big site', but simultaneously also needs some sections to look-n-feel like independent sites (but not truly independent).
We're using one plone instance, but purposing top level folders (and in some cases even 2nd level folders) to exhibit characteristics unique to that portion of the content hierarchy. In some ways this is trivial and natively supported by plone (localized role assignments, and placeful workflow do the job admirably). In other ways, this is completely contrary to how plone works.
My question is: Is this approach making the project unnecessarily
difficult? What ways are there to achieve what I described without
having to invasively customize core low-level plone mechanisms?
-------------------------------------------------------------------------------
Further explanation:
We've chosen to go with a single plone instance in order to get two immediate and free benefits:
1. a single shared authentication system (native plone user accounts)
2. automatic and comprehensive search across all content
There's a spiffy new custom theme that's been developed for the instance, but certain aspects of it need to be customized for each subfolder. But much of the theme is perfectly suitable (and in fact desirable) across the entire instance, and I'm hoping to be able to minimize duplication (both theme code and resources).
Lots of other little things are being identified as needing to be customized 'per site'. If each site was actually its own plone instance, this would be a straightforward process (though we would have to swallow the duplication pill for a lot of stuff). But since each site is really just a folder within a single instance, I find myself swimming upstream against the way plone expects to be configured and customized. So much of plone's behavior is architected with singleton-style mechanisms that operate instance-wide. That's not a knock against plone -- 99% of the time that's probably the optimally efficient way to do it.
I'm aware of some packages that are relevant:
http://pypi.python.org/pypi/collective.lineagehttp://pypi.python.org/pypi/themetweaker.themeswitcher
http://pypi.python.org/pypi/collective.alias..but I'm a little gun-shy of leaning on things that are on the fringe
and might not keep up with plone and thus impose severe migration
problems going forward (we want to absorb new plone releases as
responsibly and regularly as possible). I also got burned in plone 2.5 with add-ons that didn't make the jump to plone 3 (at all or in a timely fashion), so I approach product adoption very conservatively.
The alternative to using a single instance and coercing subsections to behave independently, is of course to invert the problem and use multiple plone instances and just 'solve' the two issues that compelled us to use one plone in the first place: shared user accounts and search. Both of these strike me as non-trivial and since the features are prerequisites to going live with the site that would seem to make this approach very risky. Long term we'd love to be on OpenLDAP or something and ditch the native plone user objects, but every time I hear LDAP mentioned it's someone complaining that they can't get it to work right. And providing cross-site, integrated, transparent, search doesn't strike me as a no-brainer either.
Thanks for reading this far -- I'm basically hoping for suggestions, confirmations, warnings, etc..
cheers,
-hoss
David Hostetler
[hidden email]
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users