On Dec 8, 1:49 am, Darcy Clark <[email protected]> wrote: > On Dec 8, 5:32 pm, mdipierro <[email protected]> wrote: > > > I do not know Plone well enough to make a comparison so I am not 100% > > sure what the items means. Let me try to address them: > > > 5. customer subdomains (customer1.example.com, customer2.example.com) > > > yes. Via routes. > > can this be programmatically adjusted from within web2py or do routes > have to be manually modified ?
You have programmatically write the routes.py and force web2py to reload it without restarting the server. > > 2. versioning of content objects > > > Yes.http://www.web2pyslices.com/main/slices/take_slice/35 > > cool ! > > > 4. full-text search of all content objects > > > yes, except for blobs. Full text search requires a relational database > > and does not work on GAE > > Plone uses Zope's Catalog tool which isn't relational - it builds > indexes that are searchable....somehow, I don't pretend to know it > works ;) > > > 3. indexing and searching of binary formats (word, pdf, excel etc...) > > > I am not sure what this means. If you could point us some description > > of what Plone does in this respect I will take a look. > > http://plone.org/documentation/kb/enable-full-text-indexing-of-word-d... Basically Plone uses a PDF/Word to Text converter and then indexes the data. You can theoretically use the same converter in web2py and store the converted text in a readable/writable=False 'text' field. You would then be able to search all documents using the db.table.field.like (...) operator. > > 1. state-based workflow > > > I am not completely sure. In web2py you can save a state in the > > session and force a workflow based on that but there is no special > > API. If you point us to the Plone description or show us an example we > > can tel you how to do it in web2py. > > http://plone.org/documentation/kb/creating-workflows-in-plone/definin... > > Plone is a dedicated CMS, so it's optimised for this sort of thing. It > might be that we should stick with it for the time being, but I am > still curious whether we could replace it with web2py. You can do the same but in a different way. There is no centralized place where workflow is stored (although one could define it). You have actions that correspond to pages and contain forms. For each form you can specify where to go after submission (next). For each action/ table/record/action you can use role based access control to specify who has access (membership requirements). You can store all "next" actions and "membership requirements" in a database or simply a dictionary and you will have the workflow implemented in a single place. > > > > Massimo > > > On Dec 8, 12:11 am, Darcy Clark <[email protected]> wrote: > > > > We have a project that we previously developed in Plone - we are > > > considering rewriting it in web2py. It turns out Plone was a good > > > choice *at the time* but better, more productive frameworks now exist. > > > Anyway there are few things that Plone does well that I'm not sure how > > > to address using web2py: > > > > 1. state-based workflow > > > 2. versioning of content objects > > > 3. indexing and searching of binary formats (word, pdf, excel etc...) > > > 4. full-text search of all content objects > > > 5. customer subdomains (customer1.example.com, customer2.example.com) > > > > Actually those are pretty core requirements for this project, so maybe > > > staying with Plone is the way to go ;) But seriously, if you've made > > > web2py do any of the above, I'd be interested to hear about it. > > > > regards, > > > Darcy > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

