Re: [Zope-dev] RFC: page contracts

2000-08-31 Thread Kapil Thangavelu
Petru Paler wrote: > > Hi eveyone. > > While playing around with the development version of ACS (ArsDigita Community > System), I noticed a very nice feature they introduced, namely page contracts. I've been working with the ACS quite a bit lately (day-job:). its a nice a system that offers a l

Re: [Zope-dev] RFC: page contracts

2000-08-30 Thread Shane Hathaway
Erik Enge wrote: > > [Petru Paler] > > | - how this should be aproached > > Couldn't this be implemented by adding more properties to you objects? > One thing that would be great, though, variable checking :) Easily done in through-the-web Python Methods. Just use the cast methods such as int

Re: [Zope-dev] RFC: page contracts

2000-08-30 Thread Erik Enge
[Petru Paler] | - how this should be aproached Couldn't this be implemented by adding more properties to you objects? One thing that would be great, though, variable checking :) ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailma

[Zope-dev] RFC: page contracts

2000-08-30 Thread Petru Paler
Hi eveyone. While playing around with the development version of ACS (ArsDigita Community System), I noticed a very nice feature they introduced, namely page contracts. In ACS, this means that every tcl page starts with a call to ad_page_contract. In the parameters passed, you specify: - gene