Re: [Zope] RE: Workflow and document management system in Zope

2001-01-19 Thread albert boulanger



   Thanks for the interesting URLs on workflow discussions.

   Corba Ecommerce has very interesting and thorough models of workflows,
   including UML diagrams and even an XML format for defining state machines.

   Sorry, this may be old news as I don't have time to follow up the actual
   threads
   beyond the first messages.

   But if not, anyone designing such a system for Zope *must* study the Corba
   stuff.

   Email me direct if the URLs haven't been published in the discussions and
   I'll be happy to dig them up (hard to find within www.omg.org). Or, (easier
   for
   me), I can email the (large) .pdf files direct.

   


I also know that WfMC (Workflow Management Coalition, www.wfmc.org)
has adopted many of OMG's workflow concepts in the past. I am not
sure if what you are referring to is recent new development by OMG.

For a diagram of WfMC's workflow reference model see the diagrams at:

http://www.zope.org/Members/aboulang

Regards,
Albert Boulanger
vPatch Technologies
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: Workflow and document management system in Zope

2001-01-19 Thread albert boulanger

 

   I am looking for a workflow (WF) linked to a electronic document management 
   (EDM) system and a groupware email based (I have just happened to come 
   accross aethera from the Kompany) that would be free software and preferably 
   in Zope + Python. The WF+DEM system I am looking for need to be usable with 
   only a browser (to be independant from the client ... that could be 
   proprietary !), store its data into a postgresql database. It should be 
   demonstrablable (at least showable into a proof of concept) within 2 weeks 
   and be already installable and usable within 2 or 3 months. (I have obtained 
   taoday that the date when we'll decide on the system would be postponed 2 
   weeks from wednesday 24/1 to wed 7/2)
   If I could find such a marvel, I may find the money to pay for it, at least 
   5 $ to start with (this amount is a rapid guess; I may give more precise 
   amounts we could spend in the following week) 

   The idea is to use that combination of tools INSTEAD of buying a closed, 
   proprietary solution (that may exist but be expensive and really har to 
   parametrize), that NEED to be linked to a SAP ERP system. 

   All suggestions and ideas are welcome, also on the selection criteria.

   (I happen to be responsible for the IT dept of the public institution that 
   wants to buy such a tool, but be new in the place and do not yet know a lot 
   about WF and EDM !)

   Soon I may be able to give you more details about the requirements.

I don't think there is such as system polished and ready within 2
weeks. Here are some starting points:

use wftk as a basis, the open source workflow toolkit -- http://.vivtek.com/wftk

use openflow, a Zope based, but stalled project, http://openflow.sourceforge.net

use Chautauqua, an old python based workflow system,
http://www.cs.colorado.edu/~carlosm/chautauqua.html

use the old UCI Endeavors workflow (java) system
 at http://www.ics.uci.edu/pub/endeavors/endeavors.html

We have not bit the bullet and built anything yet.

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] standard_error_message woes!

2001-01-03 Thread albert boulanger


 You should be able to make "standard_error_message"s that
 do not generate secondary errors.
 If you fail, a crude minimal error handling should be okay
 as a last resort.

The Lisp system on Symbolics had both. It had a too-many-error-frame
detector for the error reporter that used a crude system when
triggered. It would be nice that the crude error messages be settable
in a way that is hardended, perhaps env vars?

FYI,
Albert Boulanger
[EMAIL PROTECTED]
http://www.vpatch.com


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: [Zope-PTK] Example activity-explicit workflow system

2000-12-29 Thread albert boulanger


   I am very interested in a general, fairly full featured  workflow system
   on top of Zope as opposed to using an external workflow product for a
   fundamental reason. While one could come up with a way of getting what I
   need with an external system, it would be messy. I need workflows to be
   explicit and versioned. We make use of ZODB to version content that end
   users generate. We don't make use of Zope's versioning but use or own
   hierarchical version tree which is easy to do in Zope. End users
   generate new workflows and revisit  past workflows. The user sees this
   versioning as notebook pages using a scientific notebook metaphor.

   It is much cleaner to use ZODB and ZPublisher to do all this instead of
   having a version tree in Zope and a bunch of correspondences to outside
   objects in an external workflow system. Thus,  there is a lot of value
   in having a fairly general workflow system whose representation and
   publishing uses ZODB and ZPublisher.

By the way, if there are other folks interested in such a workflow
system let me know. We may just bite the bullet and build one. I have
who will do most of the coding in mind. What will be produced is a
Zope-based workflow system with a java thin client visual workflow/dataflow
editor. Right now I do not have the funding but folks with resources
could speak now ;-).

Regards,
Albert Boulanger
CTO
vPatch Technologies
[EMAIL PROTECTED]
http://www.vpatch.com

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Example activity-explicit workflow system

2000-12-27 Thread Albert Boulanger

For those interested in workflow systems and workflow within Zope, the
following workflow system may be useful to try out. It models workflow
steps explicitly and a workflow becomes a graph with a visual editor. I
have been meaning to send along some resources in this area I have been
accumulating.
The Endeavors group at UCI developed this and the peer-to-peer system
they built, Magi, is now at www.endtech.com as open source. They are
still developing the workflow product but an early prototype you can
download and play with is at:

http://www.ics.uci.edu/pub/endeavors/endeavors.html

See also the papers and the web-based workflow thesis at:

http://www.ics.uci.edu/pub/endeavors/docs/papers/

There was discussion of graphical system to present workflow. I have
looked at several, including the AtT stuff. When I have time, I will
send a separate email with some that I have found. One thing to look at
which is ActiveX based at the moment is http://www.lassalle.com/ A
general purpose Flowcharting/Diagramming ActiveX control.

I am very interested in a general, fairly full featured  workflow system
on top of Zope as opposed to using an external workflow product for a
fundamental reason. While one could come up with a way of getting what I
need with an external system, it would be messy. I need workflows to be
explicit and versioned. We make use of ZODB to version content that end
users generate. We don't make use of Zope's versioning but use or own
hierarchical version tree which is easy to do in Zope. End users
generate new workflows and revisit  past workflows. The user sees this
versioning as notebook pages using a scientific notebook metaphor.

It is much cleaner to use ZODB and ZPublisher to do all this instead of
having a version tree in Zope and a bunch of correspondences to outside
objects in an external workflow system. Thus,  there is a lot of value
in having a fairly general workflow system whose representation and
publishing uses ZODB and ZPublisher.

There seems to be a principle here on how to layer systems correctly on
top of ZODB and ZPublisher or any persistant-object web publishing
system. One way is very clean and simple and other ways are nightmares.

Regards,
Albert Boulanger
[EMAIL PROTECTED]


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] mynetscape-like product

2000-12-26 Thread albert boulanger


Dose anyone have a product or modification to the user's page in the
PTK to behave like the user customizable layout you get at sites like
mynetscape.com? This would work with RSS and OCS syndication sources
(as well as others).

Regards,
Albert Boulanger
[EMAIL PROTECTED]


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZopeWeaver?

2000-11-29 Thread albert boulanger


One trick I use on my NT box is to use Dreamwaver for all the major
html content which end in a .html extension and htmlkit for the
index_html and like files.

FYI,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Ah, I found it -- Estimate of community size

2000-11-29 Thread Albert Boulanger



This was the item is was looking for on how big the Members folders was,
FYI.

From:

http://www.zope.org/Documentation/ZWN/ZWN-2000-09-26/index_html?pp=1


Zope Web

  by Ethan Fremen

 Exorcising Zope.org

  The extremely large Members folder (11139 of you!) and acl_users
folder was causing Zope.org to load nearly 50 MB of
  "Ghosts" - stateless objects - into memory.

  The ever resourceful Shane Hathaway jumped in with his
BTreeFolders for both the acl_users folder and the Members
  folder.

  Now, instead of 26,000 objects loaded at once, only about 1,000 or
so get loaded.



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Ah, I found it -- Estimate of community size

2000-11-29 Thread albert boulanger


Now, I wonder wich statement is more accurate:

   http://www.zope.org/Documentation/ZWN/ZWN-2000-09-26/index_html?pp=1
   
   
   Zope Web
   
  by Ethan Fremen
   
 Exorcising Zope.org
   
  The extremely large Members folder (11139 of you!) and acl_users
   folder was causing Zope.org to load nearly 50 MB of
  "Ghosts" - stateless objects - into memory.

or

From: 
http://www.zope.org/Documentation/ZWN/ZWN-2000-11-08


"Zope Web

   by Ethan Fremen

How Many Zopatistas?

[]

There are 1617 members of [EMAIL PROTECTED] and 409 members of
zope-dev. There are 200,000 unique visits to zope.org every month (ok,
that's a record :).

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZopeWeaver?

2000-11-29 Thread albert boulanger

   From: Dieter Maurer [EMAIL PROTECTED]
   Date: Thu, 30 Nov 2000 00:05:30 +0100 (CET)
   Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
   [EMAIL PROTECTED] ([EMAIL PROTECTED])
   X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
   MIME-Version: 1.0
   Content-Type: text/plain; charset=US-ASCII
   Content-Length: 517

   albert boulanger writes:
 One trick I use on my NT box is to use Dreamwaver for all the major
 html content which end in a .html extension and htmlkit for the
 index_html and like files.
   Place a DTML method(!) "index_html" high in your Zope hierarchy
   with the following code:

dtml-var index.html


   From then on, you can happily create "index.html" below that
   point in the hierarchy. It will be used as the default folder
   view. In fact, "index_html" is used but that redirects
   to "index.html".

Yup. This is what I do and use htmlkit for those small index_html or
other DTML method files that don't represent html content, but more
logic.

Albert


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Factoids for supporting zope

2000-11-29 Thread albert boulanger


One query about your plans for PTK. In my opinion it would be good to
incorporate into it, at some level, capability like Microsoft's
Digital Dashboard -- you know like mynetscape.com edit
capabilities. (Actually the use of dynamic html in Excite's version of
the same thing is nicer.)  I would think that this functionality is
factorable enough to make it a separate product. Has anyone have
plans to do such a thing? 

Regards,
Albert Boulanger
[EMAIL PROTECTED]












___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Factoids for supporting zope

2000-11-28 Thread albert boulanger


I am going through a justification (risks) of the use of Zope for a
corporate client. Framing things as an Open Source play relies on the
health of its community for its longevity and access to expertise for
support. I remember some number tossed out when the Members folder at
zope.org went to Btree. What is the current # of Members? Is this an
estimate of the Zope community? I think there is probably some dead
wood in that # but at least its an estimate. I remember it being over 10K.

Our client thought that the recent VC money was about 1/2 what would
be needed to make it fly. My argument is that money is leveraged by
the active Zope community so a crux in my logic is how strong this
community is.

Other support?

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Factoids for supporting zope

2000-11-28 Thread albert boulanger

   From: "Chris McDonough" [EMAIL PROTECTED]
   References: [EMAIL PROTECTED]
   Date: Tue, 28 Nov 2000 10:04:02 -0500
   MIME-Version: 1.0
   Content-Transfer-Encoding: 7bit
   X-Priority: 3
   X-MSMail-Priority: Normal
   X-Mailer: Microsoft Outlook Express 5.00.3018.1300
   X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
   Content-Type: text/plain;
   charset="Windows-1252"
   Content-Length: 1049


   - Original Message -----
   From: "albert boulanger" [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, November 28, 2000 9:37 AM
   Subject: [Zope] Factoids for supporting zope


   
I am going through a justification (risks) of the use of Zope for a
corporate client. Framing things as an Open Source play relies on the
health of its community for its longevity and access to expertise for
support. I remember some number tossed out when the Members folder at
zope.org went to Btree. What is the current # of Members? Is this an
estimate of the Zope community? I think there is probably some dead
wood in that # but at least its an estimate. I remember it being over 10K.

   Not sure...

   
Our client thought that the recent VC money was about 1/2 what would
be needed to make it fly. My argument is that money is leveraged by
the active Zope community so a crux in my logic is how strong this
community is.

   1/2 of what would be needed to make it fly with Zope?  Or 1/2 of what would
   be needed with any app server?


Since they come from a non Zope context it would be from the general
position and the onus is on me to bring in the Zope context in the
construction of my argument.

Regards,
Albert


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Factoids for supporting zope

2000-11-28 Thread albert boulanger

   From: "Chris McDonough" [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   References: [EMAIL PROTECTED]
   Date: Tue, 28 Nov 2000 11:41:50 -0500
   MIME-Version: 1.0
   Content-Transfer-Encoding: 7bit
   X-Priority: 3
   X-MSMail-Priority: Normal
   X-Mailer: Microsoft Outlook Express 5.00.3018.1300
   X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
   Content-Type: text/plain;
   charset="Windows-1252"
   Content-Length: 851

Our client thought that the recent VC money was about 1/2 what would
be needed to make it fly. My argument is that money is leveraged by
the active Zope community so a crux in my logic is how strong this
community is.
   
   1/2 of what would be needed to make it fly with Zope?  Or 1/2 of what
   would
   be needed with any app server?
   
   
Since they come from a non Zope context it would be from the general
position and the onus is on me to bring in the Zope context in the
construction of my argument.

   Ah.  Well, my opinion is that it'd be fairly dangerous to make the assertion
   that (as great as they both are) Zope and the Zope community can "make up
   for" the other half of the capital they need to develop the software they
   want.  So what's the decision they're trying to make?  Whether to develop at
   all?

Whether to go with portal products from Plumtree or iPlanet.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How about removing broken things like Confera andZDiscussions?

2000-10-18 Thread albert boulanger



   There is a ZDiscussions that works. It is called ZUBB.

   http://www.zope.org/Members/BwanaZulia/ZUBB

   But, I agree, old product that have been left behind (the old version of
   ZDiscussions/Confera) should be marked and or archived.

   J

 

Might be better to have a more formal declaration of the dependencies
on versions of products relied upon at the download pages -- for some
products this has become a tricky and madning process to make sure all
the versions are correct for a product to run. This is natural in the
progress of Zope and Zope products and will become even more and issue
as Zope matures even further. This can be formalized. I do like the
way SGI does some of this.

Just my cents (sense).

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] WDDX anyone?

2000-10-04 Thread Albert Boulanger

Has anyone considered WDDX for Zope? This seems like a nice next step to

exchanging data beyond RSS, but not as ambitious as SOAP and has SDKs
for  CF, perl, etc.

I have some applications in mind for intranet syndication that goes
beyond what RSS can do. Also there is full rdf.

From: http://www.wddx.org/

Welcome to WDDX.ORG, the home of the WDDX SDK and related projects.
WDDX.ORG seeks to empower Web developers with technology that enables
them to create new forms of value on the Internet using distributed data
and Web syndicate networks. The Web Distributed Data Exchange, or WDDX,
is a free, open XML-based technology that allows Web applications
created with any platform to easily exchange data with one another over
the Web. To learn more about WDDX, check out the Understanding WDDX
section of the site.

Who created WDDX?
Allaire created WDDX in order to solve key problems in exchanging data
between Web applications. In particular, Simeon Simeonov, Allaire's
language technology architect, created WDDX to support problems of
distributed computing within ColdFusion. This work was generalized into
a cross-language framework, and resulted in the creation of the WDDX SDK
and WDDX.org. The WDDX SDK was created by Nate Weiss, an independent Web
developer, with the support of Allaire and a number of other third
parties.

How does WDDX work?
All of the standard programming environments on the Web (ColdFusion,
Perl, ASP, Java, JavaScript, PHP, etc) include native data structures
such as arrays, record sets or value pairs. WDDX provides a module for
each language that will automatically serialize or translate the native
data structures into an abstract representation in XML, or deserialize
WDDX XML into a native data structure. For example, you could use WDDX
to take a complex array in ColdFusion, serialize it into XML, send it to
an ASP server, and then deserialize from XML into a VBScript array
object with all the types natively converted. This conversion process
between languages is relatively transparent to developers by shifting
any XML processing and interaction into the WDDX modules, eliminating
developers from having to directly program or manipulate XML themselves,

This is not an RMI mechanism.


Regards,
Albert Boulanger
[EMAIL PROTECTED]



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] WDDX anyone?

2000-10-04 Thread albert boulanger


   So what about this couldn't be emulated with xml-rpc?

   Curious,

   Kapil

True.. But, well, its the other end. The SDK available at www.wddx.org
is a path towards exchanging data with other well known systems such
as ASP and CF. I found out that the PYTHON XML package does include
WDDX serialization... cool.

Regards,
Albert


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] CASE in point -- [Zope] Simple dtml-unless problem

2000-09-13 Thread albert boulanger


   On Wed, 13 Sep 2000, Tim Hicks wrote:
dtml-unless "id == 'index_html'"

  Sometimes id is string, sometimes it is a function.

   dtml-unless "_['id'] == 'index_html'"

This is a great example of DTML as a language having a multiple
personality disorder. This violates a principle of consistent
syntax/semantics. It wants to fool you that you could in fact do
dtml-unless "id == 'index_html'" but no. I understand why DTML was
designed this way, but in attempting to be a very convenient language
in syntactic simplicity, it did not do it to completion and there are
these traps that many of us learn over long weekends. Early adopters
will go through this, but it is a "crossing the chasm" item to be
addressed. 

Regards,
Albert Boulanger
[EMAIL PROTECTED]



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-11 Thread albert boulanger




   Exactly.
   My concern is to get the right kind of discussion going because it is going
   to need some differnt kinds of minds to work together.

This meshes with my thinking recently. I think many in the Zope
community are "early-adopters" kind of people -- willing to put up
with spending time to know the ins and outs of DTML or python
programmers who would do most in python. A python programmer or early
adopter does not a typical web design team make. Personally. I like the
notion of a DTML an that you can do a little business logic there if
you choose to. This issue with DTML in my mind is that its
syntax/semantics design throws people for loops that can waste their
time for sometimes days. Early adopters will go through this trial by
fire. I did and now on the other side I know the gotchas.  Early
adopters are a special breed of people that will give a new product a
ring of success but this pool saturates easily, leading a new company
to the chasm.

To cross the chasm, and reach a broader audience, this trial by fire
phase of becoming a productive Zope user has to be reduced -- in
addition to addressing other productivity parts of the bigger product
pie mentioned in prior messages.

If you are interested in understanding the business of Crossing the
Chasm, I would recommend a book by the same name.  I think the Zope
story is still unfolding on how an open source product will cross the
chasm.

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] keeping Java Servlets session ids based on url rewriti ng

2000-09-10 Thread albert boulanger


   I've done a little poking around in ZPublisher's HTTPRequest.py and
   BaseRequest.py and I don't think that's where the ';*' gets stripped.  I
   can't find *where* it gets stripped.  It must be possible to make Zope
   de-ignore things split on a ";", but right now I can't find out where to
   do so.

Um from looking at the code I think it may be Zserver not Zpublisher
doing it. I think there is code which set up the CGI env vars at
Zpublisher pick em up and works with them, so it is the code that sets
those GCI vars that is dropping it. Isn't it tru that if you use
APACHE, they are set by APACHE and is you use Zserver w/o frontending
it with APACHE something in Zserver has to be setting them?

Regards,
Albert






___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] keeping Java Servlets session ids based on url rewriting

2000-09-10 Thread albert boulanger



   Hmmm.. can you take a step back and restate the problem more generally?
   What is the goal?

We use servlets for java to java com between applets and the
server. Inside, the servlets communicates to C++ based servers for
objects and events. Servlet sessions are used to help ensure validation
for the object and event servers. User database is also stored in the
object repository. Getting the session id for the servlet back into
Zope (I was going to store it in a SQLSession object.) was the reason
for preserving the ;sessionid from a response redirect generated by
servlet. All pages with applets would be written with the servlet
session ID as a parameter. We were going to use https for anything
with session ids in them so they can not be sniffed for.

I had not decided if the user database exchange would be done by using
the client as a relay with user info emedded in
user,md5-password-signature components in the session id response
redirect or some Zope to JServ direct handshaking using
ZPatterns-based Membership. Yet another alternative would be the swig
Python interface directly to the object server and Zpatterns.

Hope this helps clarifys things..

Albert Boulanger
[EMAIL PROTECTED]



-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] keeping Java Servlets session ids based on url rewriting

2000-09-09 Thread albert boulanger


I am using the latest Zope release using ZServer directly (but will be
running under Apache)


I need to coordinate Zope based sessions and servelet sessions. We
will be using url rewriting (I know use cookies, but we are doing
worst case planning.). As you may know the rewritten urls that the
servlet does look like http://foo/bar;$id here$. I need to retain
the stuff after the ;.  This seems to be dropped i think in ZServer. I
was going to store the servlet sesssion id in a SQLSession object by
having the servlet do a response redirect to a dtml method to process
the id after the ;.

Will Apache frontending and setting the CGI-vars fix this issue?

A more general question, has anyone worked on the general
cross-session issues like this? I think this is consideration item for
the new session support in Zope.

Regards,
Albert Boulanger
[EMAIL PROTECTED]

From Zope:
Try this

http://www.zope.org/Members/aboulang/printresponse;f


aboulang 
form

cookies

other
AUTHENTICATION_PATH  
URL0 http://www.zope.org/Members/aboulang/printresponse 
TraversalRequestNameStack [] 
SiteRootPATH / 
VirtualRootPhysicalPath ('',) 
URL http://www.zope.org/Members/aboulang/printresponse 
AUTHENTICATED_USER Anonymous User 
SERVER_URL http://www.zope.org 
URL0 http://www.zope.org/Members/aboulang/printresponse 
URL1 http://www.zope.org/Members/aboulang 
URL2 http://www.zope.org/Members 
URL3 http://www.zope.org 
BASE0 http://www.zope.org 
BASE1 http://www.zope.org 
BASE2 http://www.zope.org/Members 
BASE3 http://www.zope.org/Members/aboulang 
BASE4 http://www.zope.org/Members/aboulang/printresponse 

environ
HTTP_ACCEPT_ENCODING gzip, deflate 
channel.creation_time 968523573 
SERVER_PROTOCOL 1.0 
SERVER_PORT 1380 
PATH_INFO /Members/aboulang/printresponse 
HTTP_HOST www.zope.org:1380 
REQUEST_METHOD GET 
PATH_TRANSLATED /Members/aboulang/printresponse 
SCRIPT_NAME  
SERVER_SOFTWARE Zope/(unreleased version) ZServer/1.1b1 
HTTP_ACCEPT_LANGUAGE en-us 
REMOTE_ADDR 209.67.167.55 
SERVER_NAME localhost.localdomain 
GATEWAY_INTERFACE CGI/1.1 
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.01; Windows 98) 
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */* 




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZDebug Wizzard interference

2000-09-06 Thread Albert Boulanger

Shane wrote



 http://www.zope.org/Members/hathawsh/ZDebug/index_html

 ZDebug is a set of patches to Zope that help in the deciphering of DTML
 errors and authorization exceptions.  Because this is the first
 release, remember to make a backup before installing.

Looks like ZDebug does not work to well with wizards -- I suspect because
of ZCallable. I am using a PTK snapshot from today, latest Zope. Did a test
with and w/o ZDebug. Wizard works fine w/o. By the way I like where ZDebug
is going!

This is what happens when you ad a portal

An exception occurred in a DTML method or document.

   Error type: exceptions.IndexError
   Error value: list index out of range

   Innermost method:
/vpatch/PortalWizard/wizard_fillin_fields

 Namespace Stack (innermost entry at top)
 ID
 Type
(N/A)
 mapping with keys: ['document_id',
'document_title']
(N/A)
 mapping with keys: ['document_id',
'document_title']
PortalWizard
 InstanceDict
REQUEST
 ZPublisher.HTTPRequest.HTTPRequest


   Source of /vpatch/PortalWizard/wizard_fillin_fields
with fault:

dtml-let
pagevars="_.getattr(wizard_pages[wizard_index], 'wizard_variables', [])"
dtml-in "REQUEST.form.keys()"
 dtml-let key="_['sequence-item']"
  dtml-if "key[:7] != 'wizard_' and key not in
pagevars"
   input type="hidden" name="dtml-key;"
value="dtml-var "REQUEST.form[key]" html_quote"
  /dtml-if
 /dtml-let
/dtml-in
/dtml-let

dtml-if wizard_test
 input type="hidden" name="wizard_test" value="1"

/dtml-if



vPatch Home | Products, Services, and Solutions |
Testimonials | Investor Relations | Demos | Login/Registration | Learning
Center | Contact Us



Traceback (innermost last):
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
(Object: RoleManager)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: index_html)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: index_html)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/App/Factory.py,
line 178, in index_html
(Object: RoleManager)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZCallable/__init__.py,
line 101, in __call__
(Object: Traversable)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py,
line 172, in __call__
(Object: index_html)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZDebug/DTMLLocator.py,
line 103, in __call__
(Object: index_html)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: index_html)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZDebug/DTMLDebug.py,
line 213, in debug_render_blocks
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZDebug/DTMLDebug.py,
line 210, in debug_render_blocks
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py,
line 168, in __call__
(Object: wizard_fillin_fields)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZDebug/DTMLLocator.py,
line 103, in __call__
(Object: wizard_fillin_fields)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: wizard_fillin_fields)
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZDebug/DTMLDebug.py,
line 259, in debug_render_blocks
  File
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/ZDebug/DTMLDebug.py,
line 192, in debugException
(Object: 

[Zope] Set Access Rule wish

2000-09-06 Thread Albert Boulanger

Its nice that the icon for the  method, who is the access rule's target,
is changed.
However, I think also there needs to be some indicator on the folder
involved as well. Over the long weekend, I had accidentally set an
access rule (for URL-based SQLSession ID) in the proper folder and also
a subfolder (to the same method). Took me several days to discover that
other access rule had been set in the subfolder. When your you have
mistakes with this kind of stuff, I  can be madding and any kind of
indicators would be useful.

Regards,
Albert Boulanger
[EMAIL PROTECTED]











___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Generic Workflow Products?

2000-08-30 Thread albert boulanger



   i haven't had time to read through the links, although i will once i get
   some more of that mystical free time stuff, but i wanted to clarify
   about PTK workflows. most of the existing workflow structs in PTK were
   doc based with simple workflows, but there has been a concerted effort
   to refactor PTK into Singleton objects which give abilities to all
   objects vs. the old method of inheritance for abilities. In this
   scenario workflow objects can be plugged into the architecture. Another
   item that gives support for complex workflows is the
   event/subscriber/publisher system being developed right now. check out
   the later half of the PTK archives for August to get some more
   background. if you want to influence the project, now is the time, make
   your voice/needs heard.

One place to start would be to have a look at
openflow.sourceforge.net. This Zope based workflow system is based on
WFMC's reference model. It does not have everything you would want but it
is a good start. Once reason to be looking a WFMC is that such an
implementation would allow integration with existing workflow systems
such as Staffware's. SWAP and the newer WFMC XML wrapping would also
be worth considering as they would be like XML-RPC for workflow which
would enhance interoperability. There is a need to execute a workflow
box which would exec a app associated with the box on data -- this
data not being just one doc in a members PTK folder but a suite of
data for the step.

There is opportunity for a Zope based system to be the web publishing
side of existing workflow systems, like Staffware's. Staffware's white
paper on how they will do web-based workflow begged for a solution like
Zope.

Staffware is one of the better workflow systems that includes the
ability to execute programs within workflow.

Certainly for usecase analysis one could look at existing packages
like Staffware.

For events, one might consider adopting some of the "webwise" event
system standards coming out. I have not followed these closely, but I
know they exist. One reason to do so is that this would enhance
interoperability with external packages that also adopt standards.

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Generic Workflow Products? --some pictures

2000-08-30 Thread albert boulanger



   i haven't had time to read through the links, although i will once i get
   some more of that mystical free time stuff, but i wanted to clarify
   about PTK workflows. most of the existing workflow structs in PTK were
   doc based with simple workflows, but there has been a concerted effort
   to refactor PTK into Singleton objects which give abilities to all
   objects vs. the old method of inheritance for abilities. In this
   scenario workflow objects can be plugged into the architecture. Another
   item that gives support for complex workflows is the
   event/subscriber/publisher system being developed right now. check out
   the later half of the PTK archives for August to get some more
   background. if you want to influence the project, now is the time, make
   your voice/needs heard.


Here are two useful diagrams from WFMC's white
paper, "Workflow and Internet: Catalysts for Radical Change" (
http://www.aiim.org/wfmc/finalwp.pdf ). The first is a diagram of
WFMC's reference model. The second is a diagram of workflow concepts.


http://www.zope.org/Members/aboulang/wfmc1.gif

and

http://www.zope.org/Members/aboulang/wfmc2.gif

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] SiteAccess 2.0b3 missing setURL?

2000-08-28 Thread albert boulanger



   Change in API; You want REQUEST.setServerURL, which is documented here:
   http://www.zope.org/Members/michel/Projects/Interfaces/ImplementingVirtualHo
   sts


Ok the doc says:

Backward Rewriting

Any URLs generated by an application should take virtual hosting into account by 
replacing the VirtualRoot's physical path with its virtual path. The
base elements may also need to be rewritten.

 REQUEST.setServerURL(protocol=None, hostname=None, port=None)
- Hmm no path arg mentioned here but the description says

 This method modifies the URL-related variables in the PublisherRequest to have 
the specified protocol, hostname, port, and path, while
 leaving unspecified parts alone. Returns the new value of REQUEST['SERVER_URL'].

What happened to the path argument to the function? The doc indicates
its should be there, but it seems to be missing:

Zope Error

  Zope has encountered an error while publishing this resource. 

  TypeError

  Sorry, a Zope error occurred.

  Traceback (innermost last):
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 222, in publish_module
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 187, in publish
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, 
line 221, in zpublisher_exception_hook
  (Object: Traversable)
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 162, in publish
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py,
 line 309, in traverse
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/BeforeTraverse.py,
 line 85, in __call__
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/SiteAccess/AccessRule.py,
 line 22, in __call__
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/BeforeTraverse.py,
 line 112, in __call__
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py, 
line 172, in __call__
  (Object: dtProcessSession)
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
 line 528, in __call__
  (Object: dtProcessSession)
File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
 line 337, in eval
  (Object: REQUEST.setServerURL(path=REQUEST.steps+[SessionID]))
  (Info: REQUEST)
File string, line 0, in ?
  TypeError: unexpected keyword argument: path

Puzzled,
Albert Boulanger
[EMAIL PROTECTED]


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] PTK and Membership product

2000-08-26 Thread albert boulanger


From Friday's 8-25 PTK CVS

PTK has logic to support the Membership product, but it seems to be
using the old MembershipZ name. I want to use this combination because
we have own own custom database where user accounting will be stored.

(I am using PortalMembership version 0.7.2. By the way the version
numbers in the code need updating -- it claims it is 0.7.0)

class DemoPortalBaseclass in Portal.py I had to change MembershipZ/LoginMember

 # self.acl_users was magically created by the above call
#'PortalMembership/PortalMember' 'MembershipZ/LoginMember'
for us in self.acl_users.UserSourcesGroup.objectValues():
if us.meta_type == 'Persistent User Source':
us.__of__(self.acl_users).manage_setStorage(
   'PortalMembership/PortalMember' )
break

But this was not enough, it breaks at:


 Zope Error

 Zope has encountered an error while publishing 
this resource. 

 Error Type: AttributeError
 Error Value: setMemberProperties



 Troubleshooting Suggestions

  The URL may be incorrect. 
  The parameters passed to this resource may be
  incorrect. 
  A resource that this resource relies on may 
be
  encountering an error. 

 For more detailed information about the error, 
please refer to
 the HTML source for this page. 

 If the error persists please contact the site 
maintainer. Thank
 you for your patience. 




Traceback (innermost last):
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 222, in publish_module
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 187, in publish
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, 
line 221, in zpublisher_exception_hook
(Object: RoleManager)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 171, in publish
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 112, in call_object
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py, 
line 172, in __call__
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
 line 528, in __call__
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_With.py,
 line 146, in render
(Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Let.py,
 line 147, in render
(Object: RESPONSE="_.None")
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
 line 337, in eval
(Object: portal_registration.addMember(username, password,
('Member', 'Manager', 'Reviewer'), '', REQUEST))
(Info: username)
  File string, line 0, in ?
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/PTKBase/RegistrationTool.py,
 line 174, in addMember
(Object: portal_registration)
AttributeError: (see above)


Is there any thing I also need to do to make this combination work? Do
I need to use the older MembershipZ stuff?


Has anyone used the ZSession product with PTK? Again we are storing
sesssion info in our own database and I would liek to uses Zpatterns
for this.

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Generic Workflow Products?

2000-08-25 Thread albert boulanger


Kapil Thangavelu [EMAIL PROTECTED] wrote:

   The PTK has been undergoing radical changes as of late. Its worth taking
   another look at as the current design is much more supportive of
   alternative workflow designs.

Disclamer: This is my gleaming -- I could be off.  I have done a
keyword search on the Zope-PTK list for workflow to understand the
recent discussion on workflow design within PTK. It seems to me that
workflow is tied to strongly with documents in the design plan. In the
model of workflow being discussed there, documents march through
workflow steps. What if a workflow step is a computation and requires
multiple data sources to be done? Instead, a workflow step needs to
have an explicit representation with data items (documents) associated
with it having some kind of version info associated with them. This
need comes from the use cases that I deal with in setting up workflow
for science and engineering computation.

For a good review of workflow requirements see:

http://www.ics.uci.edu/pub/endeavors/docs/AdvancedWorkflow.pdf


It would be nice if the workflow system understood how to act in a
distributed way, like what SWAP, (an XML based protocol -- think
webdav for workflow -- for distributing workflow) is trying to do:

http://www.ics.uci.edu/~ietfswap/swap-prot.txt

and the later work, Wf-XML by WFMC.

This in turn is based on early WFMC's efforts. See the workflow  internet white
paper and reference model at:

http://www.aiim.org/wfmc/finalwp.pdf

http://www.aiim.org/wfmc/standards/docs/tc003v11.pdf

There are models (some UML) contained within that would be useful to
use as guides for patterns for workflow I believe.


Yours in workflow,
Albert Boulanger
[EMAIL PROTECTED]





___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Generic Workflow Products?

2000-08-23 Thread albert boulanger



  

  Sounds like a job for Zope, doesn't it.  Basically I've
  implemented a couple of systems like this, either
  classic database-driven or z-class driven.  But I'm tired
  of re-inventing the wheel.  It would be nicer if systems
  like this could be implemented at the "workflow logic" 
  level rather than the Zclass level.  IE a set of ZClasses
  or Product classes that implemented workflow systems.

  Is there such a thing? Has anyone worked on such a thing?  
  Any ideas how to implement such a thing?

  I've got a couple of modifications to an existing system
  coming up, which sounds like just the excuse I need
  for a total rewrite :)

  -- cary

   There are several workflow activites within Zope that I know of:

   PTK has and "implicit" workflow support for moving documents in a
   review process. Unfortunately workflow hangs off of the documents from
   what I saw of its design patterns. Not a good design if a workflow
   step involves multiple documents and the execution of applications on
   data.

   Several Zope sites have some kind of workflow for what they do. There
   is a mesh healing (CAD/CAM) Zope based application service provider
   (ASP) that comes to mind.

   There is an standards based (WFMC -- workflow management coalition,
   www.wfmc.org) Zope product that really has seen no progress since early
   this year - see openflow.sourceforge.net

   You might consider marrying a workflow engine like Staffware's to
   Zope. This marriage may be easier if they support SWAP (simple
   workflow access protocol see www.ics.uci.edu/~ietfswap). Staffware has
   indicated that they will (are) supporting SWAP.

   We are a company, vPatch, that is building web-based workflow that can
   run apps for the oil and gas industry. Our current system uses tclets
   to display workflow graphically, but we are going to Java.  It would
   be nice to work on a good set of (standards based) design patterns for
   workflow and implement them in Zope. In my mind these patterns would
   consider pluggable workflow engines like Staffware's using SWAP.


   Yours in workflow,
   Albert Boulanger
   [EMAIL PROTECTED]


 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread albert boulanger



   Stephan Goeldi wrote:

Wouldn't that reduce system security?

   I think he mean cookie-based authentication, as found on zope.org.

I am currently looking into implementing a login form to replace the
standard BASIC authentication.

   GĂ©rard,

   Take a look at things like LoginManager and GUF which can do this sort
   of thing. They are standard replacements for the acl_users folder and
   will serve you a lot better than hackign around in User.py...

I am intersested in this issue as well since we are looking hard at security.
Here is my current thinking.

BASIC is not secure since the name:password is base64 encoded and not
encrypted.

DIGEST seems good in that it is encrypted and uses the
Challange/Response like BASIC for every HTTP transaction -- matched well
with the stateless nature of HTTP.

Cookie based methods seem to assume some notion of session to me which
fundamentally is a hack and is less secure than DIGEST, to wit:

 1) One should encrypt the info in the cookie
 2) How does one get around the stateless nature or HHTP in secure way using
cookies? In other words, unless the HTTP transaction is challenged every 
time, how do you really know that someone is not trying to slip into an 
existing session?

Also on the server side I need to share the login info among Zope, and
Tomcat -- has a methodolgy been developed to do so?

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Squishdot upgrade HELP- screwy max posts behaviour

2000-08-10 Thread albert boulanger



   AFAIK, item_list(used on the main page) returns the following:

- all the articles (not only those from the current day), if 
  their number is less than a third of self.max_itemlist

- A number of articles equal to a third of self.max_itemlist, even 
  if some came from yesterday

- or, a list of articles from the specified date, limited to at 
  most self.max_itemlist articles.

   Nice, huh?!

It would be nice is that ratio is a property that can be set.
Also for an application that I am working on if all the attachments
for postings go to a central table that can be displayed.

Regards,
Albert



















___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] An observation about manage_* methods

2000-07-21 Thread albert boulanger



This has a question to it if I am not overlooking something. I often
want to design dtml_methods that allow the end user to manage content
under his control. An example of a typical manage method that you
often see is like:


From TinyTable.py:

def manage_editData(self, data, REQUEST=None):
"""Change item data"""
self._rows = map(self._FixRow, ImportExport.ImportData(data))
self._n_rows = len(self._rows)

self._GenerateIndex()

return self.manage_editedDialog(REQUEST)


Now there is an assumption in this code that the editing context that
this is being called from is some manage_ method, hence returns like
"return self.manage_editedDialog(REQUEST)". This is annoying if you are
writing a user-managed content method that does not wants the user to
see the manage interface because eventually it goes to one with such
returns. Instead, I would like to have control on where he/she returns
(often to the method I wrote or to  index_html). I could do a
dtml-call "RESPONSE.redirect..., but the return
self.manage_editedDialog(REQUEST) gets in the way. Am I overlooking
something or is this a weakness in this design pattern for management?
I could wind up making my own version of manage_editData that does not
do the return self.manage_editedDialog(REQUEST). (I know some code at
least conditionalizes this to the presence of REQUEST.)

Thoughts? Ideas?

Regards,
Albert Boulanger
[EMAIL PROTECTED]

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )