Sorting menus within CMF! I don't if it is the right forum to ask. Anyway ..what is the correct way to sort menu items in the action-box when using CMF 1.2 ? Sune Toft HeadNet ApS Sundholmsvej 46 2300 København S sune@headnet.dk www.headnet.dk ----- Original Message ----- From: <zope-dev-request@zope.org> To: <zope-dev@zope.org> Sent: Wednesday, April 24, 2002 6:00 PM Subject: Zope-Dev digest, Vol 1 #1662 - 3 msgs
Send Zope-Dev mailing list submissions to zope-dev@zope.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.zope.org/mailman/listinfo/zope-dev or, via email, send a message with subject or body 'help' to zope-dev-request@zope.org
You can reach the person managing the list at zope-dev-admin@zope.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Zope-Dev digest..."
Today's Topics:
1. Re: PHP vs Zope cost benefit (R. David Murray) 2. Re: Ordered Folder (was: Speaking of 2.6...) (Florent Guillaume) 3. Re: Ordered Folder (was: Speaking of 2.6...) (Lennart Regebro)
--__--__--
Message: 1 Date: Wed, 24 Apr 2002 10:30:30 -0400 (EDT) From: "R. David Murray" <bitz@bitdance.com> To: Joseph Cheek <joseph@cheek.com> cc: Jason Spisak <jspisak@lycoris.com>, William Trenker <wtrenker@shaw.ca>, <zope-dev@zope.org> Subject: Re: [Zope-dev] PHP vs Zope cost benefit
On Wed, 24 Apr 2002, Joseph Cheek wrote:
nope. that's a function of the DB, not PHP. if the DB is written right it will roll back/commit transactions automatically. so this becomes an argument for zope over php+some really lame DB, not zope over php regardless.
8-)
[agreed that the linuxjournal commit/rollback code is hairy, but the folks there seem to like mysql for some strange reason].
The DB provides the transaction commit/rollback *capability*, but it is up to the application to *use* it. The DB can't commit or rollback automatically, because it doesn't know where the transaction boundaries are unless the application tells it. In PHP, that means *you* have to write the trasaction-start/-end/-rollback calls. Zope, on the other hand, wraps every web request in a transaction to the DB *automatically*, and does the rollback *automatically* if an error occurs in the web transaction.
This is a very very cool feature of Zope, and saves a *lot* of programming effort.
--RDM
--__--__--
Message: 2 To: zope-dev@zope.org From: Florent Guillaume <fg@nuxeo.com> Subject: Re: [Zope-dev] Ordered Folder (was: Speaking of 2.6...) Date: Wed, 24 Apr 2002 14:54:43 +0000 (UTC) Organization: Nuxeo
Lennart Regebro <lennart@torped.se> wrote:
Also do we want all folders to be ordered by default ?
I wouldn't want this. I don't know how ordered folder works nowadays, but I want it sorted on name by default.
Standard Folders are *explicitly* sorted by name by default, so the fact that the underlying objectValues() returns ordered objects is of no consequence here.
Florent
-- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com
--__--__--
Message: 3 From: "Lennart Regebro" <lennart@torped.se> To: "Florent Guillaume" <fg@nuxeo.com>, <zope-dev@zope.org> Subject: Re: [Zope-dev] Ordered Folder (was: Speaking of 2.6...) Date: Wed, 24 Apr 2002 17:13:28 +0200 Organization: Torped
From: "Florent Guillaume" <fg@nuxeo.com>
Standard Folders are *explicitly* sorted by name by default, so the fact that the underlying objectValues() returns ordered objects is of no consequence here.
So the UI is sorted by default, but objectValues is ordered? Perfect!
--__--__--
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev
(To receive general Zope announcements, see: http://lists.zope.org/mailman/listinfo/zope-announce
For non-developer, user-level issues, zope@zope.org, http://lists.zope.org/mailman/listinfo/zope )
End of Zope-Dev Digest