[Zope3-dev] file objects and formlib

2005-08-26 Thread Martijn Faassen
Hi there, I just saw this being changed in the wiki (by Fred Drake): the new zope.formlib. - -- Reimplement file objects (for Zope 2 or Zope 3 to take advantage of the new 'zope.formlib' I'm curious to hear what this is about. I've been dealing with file widgets in particular a lot

Re: [Zope3-dev] Re: Zope3-dev Digest, Vol 25, Issue 37

2005-08-26 Thread Benji York
Jean-Marc Orliaguet wrote: Benji York wrote: Can you give an example of one of these pieces of knowledge? John gives a book to Mary If you store the relations John drops the book and Mary picks the book how will you know if the book belongs to Mary and belonged to John before it was

Re: [Zope3-dev] file objects and formlib

2005-08-26 Thread Fred Drake
On 8/26/05, Martijn Faassen [EMAIL PROTECTED] wrote: I just saw this being changed in the wiki (by Fred Drake): the new zope.formlib. - -- Reimplement file objects (for Zope 2 or Zope 3 to take advantage of the new 'zope.formlib' I just tweaked the wording a bit and added the missing

Re: [Zope3-dev] Re: Zope3-dev Digest, Vol 25, Issue 37

2005-08-26 Thread Jean-Marc Orliaguet
Benji York wrote: Jean-Marc Orliaguet wrote: Benji York wrote: Can you give an example of one of these pieces of knowledge? John gives a book to Mary If you store the relations John drops the book and Mary picks the book how will you know if the book belongs to Mary and belonged

Re: [Zope3-dev] file objects and formlib

2005-08-26 Thread Jim Fulton
Fred Drake wrote: On 8/26/05, Martijn Faassen [EMAIL PROTECTED] wrote: I just saw this being changed in the wiki (by Fred Drake): the new zope.formlib. - -- Reimplement file objects (for Zope 2 or Zope 3 to take advantage of the new 'zope.formlib' I just tweaked the wording a bit and

Re: [Zope3-dev] Re: Zope3-dev Digest, Vol 25, Issue 37

2005-08-26 Thread Tim Peters
[Benji York] ... We're drifting fatally off topic here, but: Just as there are some statements that cannot be expressed as dyadic predicates, are there also those which cannot be expressed as triadic predicates? John gives a book to Mary in exchange for 5 euros If you store the

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jean-Marc Orliaguet wrote: a page has a template like a Zope Page Template, that would correspond to the idea of layout. it's as unfortunate as a name as the browser:page / directive that is associated to a browser view, and a page template. But the idea is the same. it is more like a browser

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jean-Marc Orliaguet wrote: a page has a template like a Zope Page Template, that would correspond to the idea of layout. it's as unfortunate as a name as the browser:page / directive that is associated to a browser view, and a page template. But the idea is the

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: Hi Jim, here are the concepts defined: It's too bad these aren't defined in a more perminent and referenceable location. - A *theme* is a visual unity, when you go from cnn.com to bbc.co.uk you see that sites are using different themes. The

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: a page has a template like a Zope Page Template, that would correspond to the idea of layout. Sure, but It still seems that a theme page fills the same role as a template, in that it is meant to be used for many different page. Let me put

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: ... Not quite, AFAICT. browser:page actually defines a page (e.g. foo.html) relative to an object type. yes, but the object type is independent of the URL too, just like a theme page says nothing about what it will be applied to... But

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: ... Lets say I have a content object, say a poll. Now, I want that poll to have a number of pages: - index.html This page displays the poll question and collects input. If the user has already taken the poll, it indicates as much and

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jim Fulton wrote: it would not be concerned with index.html / report.html / edit.html AT ALL. you would just place a Main Content Portlet in the middle of the page and let the application underneath take care of rendering the poll screens. cf

[Zope3-dev] Re: Catalog improvements

2005-08-26 Thread Dieter Maurer
Martijn Faassen wrote at 2005-8-25 13:49 +0200: ... AdvancedQuery ... I need to figure out the lazy sorting concept too and how to port it to the Zope 3 catalog... I see elsewhere in the thread you also mention it supports a simple form of joins, which is also very interesting. No,

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: yes, these would be application-specific portlets, as the ones used in a calendar application for instance showing a monthly agenda. The portlet gets access to the current view object, to the current page location (renamed from 'context_obj' to

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: yes, these would be application-specific portlets, as the ones used in a calendar application for instance showing a monthly agenda. The portlet gets access to the current view object, to the current page location

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: it would not be concerned with index.html / report.html / edit.html AT ALL. you would just place a Main Content Portlet in the middle of the page and let the application underneath take care of rendering the poll screens. cf

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: yes, these would be application-specific portlets, as the ones used in a calendar application for instance showing a monthly agenda. The portlet gets access to the current view object, to the

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: yes, these would be application-specific portlets, as the ones used in a calendar application for instance showing a monthly agenda. The portlet gets access to the

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: in that case, using a portlet to display the poll results might not be the best solution, Right, but then what if, when displaying the poll results, I wanted to use some other portlet. Perhaps I have a portlet that lists the top 10 polls

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jim Fulton
Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: in that case, using a portlet to display the poll results might not be the best solution, Right, but then what if, when displaying the poll results, I wanted to use some other portlet. Perhaps I have a portlet

Re: [Zope3-dev] Re: RDFLib and Zope 3

2005-08-26 Thread Gary Poster
On Aug 26, 2005, at 2:56 AM, Daniel Krech wrote: On Aug 25, 2005, at 2:32 PM, Gary Poster wrote: On Aug 24, 2005, at 9:13 PM, Michel Pelletier wrote: On Wed, 2005-08-24 at 12:39 -0400, Gary Poster wrote: ... Since Dan is already using Twisted in his app server, maybe he'd be willing to let

Re: [Zope3-dev] [DRAFT] local portlets and perspectives

2005-08-26 Thread Jean-Marc Orliaguet
Jim Fulton wrote: Jean-Marc Orliaguet wrote: Jim Fulton wrote: Jean-Marc Orliaguet wrote: in that case, using a portlet to display the poll results might not be the best solution, Right, but then what if, when displaying the poll results, I wanted to use some other portlet.