Alt-TAL (Re: [Zope-dev] i18n for CMF And Plone, backporting i18n to Zope 2.x)

2002-07-01 Thread Lalo Martins
On Mon, Jul 01, 2002 at 03:49:07PM -0300, Sidnei da Silva wrote: > On Seg 01 Jul 2002 15:26, Jim Fulton wrote: > | I'll add that the current ZPT implementation is too slow > | (thanks to recent DTML speedups ;). > | > | ZPT needs to be as fast as or faster than DTML. It would be > | great if it w

[Zope-dev] Re: [Zope3-dev] Are there Graphic Designers?

2002-04-07 Thread Lalo Martins
On Sat, Apr 06, 2002 at 10:52:27AM +0100, Adrian Hungate wrote: > > My question is this: Everyone is saying "The ZMI is bad, it's confusing, > users don't like it". Which everyone? Not me. > Could anyone show me evidence of this? Personally I > love the ZMI in the current versions. I have also

[Zope-dev] Re: [Zope3-dev] Are there Graphic Designers?

2002-04-04 Thread Lalo Martins
On Thu, Apr 04, 2002 at 03:05:39PM -0600, Stephan Richter wrote: > Hello everyone, > > as we are moving forward developing Zope 3 with large steps, it becomes > more and more desirable to think about a nice frontend (ZMI) for Zope 3. > > However the skill set of the developers currently working

Re: [Zope-dev] masquerading python products as functions

2001-07-11 Thread Lalo Martins
On Wed, Jul 11, 2001 at 11:38:20PM +1200, Mick wrote: > Hi, > > I am trying to make a product act like an external method, or dtmlmethod. > Basically I have taken the minimal product and added a __call__ function. > It works fine, and can be called as a function of the object that contains > it.

Re: [Zope-dev] RFC: How-To on subclassing Shared.DC.Scripts.Script.Script

2001-06-25 Thread Lalo Martins
On Mon, Jun 25, 2001 at 06:36:30PM -0500, Stephan Richter wrote: > > But when I started reading it, I wanted to learn more of how I could > implement a new scripting language into Zope, such as a ZOQL (as mentioned > on the SmartObjects mailing list: > http://imail.iuveno-net.de/pipermail/smar

[Zope-dev] RFC: How-To on subclassing Shared.DC.Scripts.Script.Script

2001-06-25 Thread Lalo Martins
I'm thinking here that subclassing Script is the way to go for any object that needs finer control on how it is called - and I'll say that of any class that doesn't just do index_html = HTMLFile(foo, globals()) So, I wrote a How-To. It's definitely not ready for prime-time, as I haven't actual

Re: [Zope-dev] ANNOUNCE: Zope 2.4.0 alpha 1 released

2001-06-01 Thread Lalo Martins
On Fri, Jun 01, 2001 at 07:33:43AM +1000, Albert Langer wrote: > > "A note to component developers - as of Zope 2.4 ExtensionClass has not been > updated to support all of the new "magic protocols" that Python classes > support (we're hoping that EC will go away soon)." > > What does "hoping tha

[Zope-dev] What would *you* like to have in PropertyManager and friends?

2001-05-27 Thread Lalo Martins
raise ZopeProject('http://dev.zope.org/Wikis/DevSite/Proposals/PropertyRevamp') We at Hiperlogica realize a lot of you people prefer to write your code in Python in the filesystem. However, we also believe the power of Zope's trough-the-web RAD framework is one of the reasons for its success; mor

Re: [Zope-dev] zunit 0.2 comments

2001-05-01 Thread Lalo Martins
On Mon, Apr 30, 2001 at 09:34:53PM -0700, Simon Michael wrote: > > Zope or the codeit setup didn't seem to see things in > INSTANCE_HOME/Shared and I don't have access to SOFTWARE_HOME/Shared. Hmm. Rolled newspaper for them. :-) > What's the reason for this new level of indirection, the > Exte

Re: [Zope-dev] zunit 0.2 comments

2001-04-26 Thread Lalo Martins
On Thu, Apr 26, 2001 at 01:21:01AM -0700, Simon Michael wrote: > Hi Lalo, > > thanks for your work on ZUnit. I have just been playing with 0.2. Thank you for your feedback. > To get it working in my zope account at Codeit, I moved Hiper from > Shared/ to Products/ and changed the import sta

[Zope-dev] WebDAV etc permissions (Re: zope nautilus cabal)

2001-04-18 Thread Lalo Martins
On Fri, Apr 13, 2001 at 11:48:39PM +0100, Chris Withers wrote: > > The WebDAV (and XMLRPC) stuff either needs to be decomposed to run on its > > own port (and only that port) or more explicit permissions need to be > > associated with WebDAV/XMLRPC operations if we take for granted that being > >

Re: [Zope-dev] Confused by accuisition, need help

2001-04-08 Thread Lalo Martins
BTW - you're not confused by Acquisition, you're confused by DocumentTemplate's calling conventions (you can't call it with zero parameters, not if you want it to work anyway) []s, |alo + --

Re: [Zope-dev] Confused by accuisition, need help

2001-04-08 Thread Lalo Martins
On Sun, Apr 08, 2001 at 11:14:51PM +0200, Robert Rottermann wrote: > Hi there, > > I need the help with the following situation: The easiest way is to make more use of DTML and not try to bend it so much: > > > > > Instead, try just . > Now my prob

[Zope-dev] ZUnit 0.2 is coming!!!

2001-04-06 Thread Lalo Martins
Hi there extreme people :-) We're about to release ZUnit 0.2, after an almost total rewrite. Only thing we're missing is a "Run tests" tab in the TestRunner object, and then remove a lot of reminders and debugging instructions. If you're feeling bold (it works, after all), there is a preview rel

[Zope-dev] Can't _setObject???

2001-04-02 Thread Lalo Martins
Hi there I just found out (while coding ZUnit 0.2) that ZUnit 0.1 doesn't work on Zope 2.3.x for some reason. The method manage_startTests of the TestRunner class creates an instance of TestResults, runs the tests with it (using RESPONSE.write(), if this makes a difference), then adds it to itse

[Zope-dev] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-13 Thread Lalo Martins
Found a bug, I think... when I try to add a property to a PropertyManager (but not a PropertySheet?) I get: Error Type: ImportError Error Value: cannot import name checkValidId Traceback (innermost last): File /opt/Zope-2.3.0a1-src/lib/python/ZPublisher/Publish.py, line 222, in publish

Re: [Zope-dev] ZUnit - feedback convocation

2000-12-06 Thread Lalo Martins
On Mon, Dec 04, 2000 at 02:56:26PM -0800, Michel Pelletier wrote: > On Mon, 4 Dec 2000, Lalo Martins wrote: > > > The first section is the advocacy section; it will begin with > > "if you already do unit tests, you may want to skip this > > section". I'm n

Re: [Zope-dev] ZUnit - feedback convocation

2000-12-04 Thread Lalo Martins
On Mon, Dec 04, 2000 at 10:44:38AM -0800, Michel Pelletier wrote: > > I have some suggestions for the outline: Thank you very much for your input! > In the first section, remove "where does it come from" if the section > involves the history of unit testing. I'd say the history lesson is out

Re: [Zope-dev] ZUnit - feedback convocation

2000-11-30 Thread Lalo Martins
On Thu, Nov 30, 2000 at 11:52:47AM -0800, Michel Pelletier wrote: > > Where would we find this outline? Uh, attached to my original message. []s, |alo + -- Hack and Roll ( http://www.hack

[Zope-dev] ZUnit - feedback convocation

2000-11-30 Thread Lalo Martins
pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar Unit testing Zope Products with ZUnit by Lalo Martins Unit Testing What is Unit Testing Where does it come from How should it be done Refactor mercile

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-30 Thread Lalo Martins
On Thu, Nov 30, 2000 at 08:27:00AM -0500, Jim Fulton wrote: > Lalo Martins wrote: > > > > Anyway, I said "inefficient", not "slow". > > I think you really mean "scalable". No, I meant "inefficient", a purposely vague term ;-) yes, I

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-30 Thread Lalo Martins
On Thu, Nov 30, 2000 at 08:10:15AM -0500, Jim Fulton wrote: > Lalo Martins wrote: > > > > Please help stamp out Data.fs! :-) > > I don't think Data.fs will go away. I do expect it to be relagated to > initial evaluation and development projects. Use of Berke

[Zope-dev] BerkeleyStorage (Re: [Zope-dev] OracleStorage, and possibly others)

2000-11-29 Thread Lalo Martins
On Wed, Nov 29, 2000 at 04:28:26PM +, Ty Sarna wrote: > Lalo Martins wrote: > > > > What about the other Storage projects? BerkeleyStorage has been > > dead for an year. > > It's not dead, it's just pining for the fjords! > > Seriously, AFAIK i

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-29 Thread Lalo Martins
l try to convince them to write a report to the list. > - Original Message - > From: "Lalo Martins" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 29, 2000 8:42 AM > Subject: Re: [Zope-dev] OracleStorage, and possibly others

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-29 Thread Lalo Martins
On Wed, Nov 29, 2000 at 07:02:50AM -0500, Chris McDonough wrote: > > Of course it would, for the same reasons as OracleStorage (eg > > FileStorage/Data.fs is inefficient) > > Actually, it's the other way around. OracleStorage is 30-to-50 times slower > than FileStorage on writes. Reads are slow

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-28 Thread Lalo Martins
On Tue, Nov 28, 2000 at 06:01:15PM -0800, Ender wrote: > Lalo Martins wrote: > > > > Well, two betas of OracleStorage in one day, then a month and a > > half of silence. What's the status? > > > > What about the other Storage projects? BerkeleyStorage has

Re: [Zope-dev] RFC: Python/Zope Interfaces

2000-11-24 Thread Lalo Martins
On Fri, Nov 24, 2000 at 08:11:48AM -0800, Michel Pelletier wrote: > Python Interface Proposal > > I have been working on a proposal for enhancing the existing interface > documentation in Zope. The Wiki for this project can be found here: As far as what's written on the proposal is concerne

Re: [Zope-dev] Last Call: Comments on Official Docs Process

2000-11-21 Thread Lalo Martins
On Tue, Nov 21, 2000 at 03:13:57PM -0800, Amos Latteier wrote: > We're getting close to finalizing the procedures for the development and > maintenance of official Zope documentation. Have your say now, before we > come to closure: > > http://dev.zope.org/Wikis/DevSite/Projects/DocumentationPro

[Zope-dev] OracleStorage, and possibly others

2000-11-13 Thread Lalo Martins
Well, two betas of OracleStorage in one day, then a month and a half of silence. What's the status? What about the other Storage projects? BerkeleyStorage has been dead for an year, and I heard pretty nasty words about InterbaseStorage. What about someone who wanted to try to port OracleStorage t

Re: [Zope-dev] License issues

2000-11-13 Thread Lalo Martins
On Mon, Nov 13, 2000 at 06:40:31PM +0100, Juan David Ibáñez Palomar wrote: > > has come to my ears that there's people who doesn't use Zope because > its license is GPL-incompatible, more info here: > > http://www.fsf.org/philosophy/license-list.html#GPLIncompatibleLicenses They say it's an in

[Zope-dev] [Ann] ZUnit released

2000-11-01 Thread Lalo Martins
Okay, the cat is out of the bag (in fact, going to Rio for the weekend) and the worms are out of the can (better worms than bugs, anyway). ZUnit, the Product all lazy programmers were so afraid of, is available for review and download from your usual shop at http://www.zope.org/Members/lalo/ZUnit

Re: [Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
cookies on the response object. Note that published objects must not generate any errors after beginning stream-oriented output. """ I don't know if this is documented somewhere, but it does what I wanted. On Sun, Oct 29, 2000 at 11:05:25PM -0200, Lalo

Re: [Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
On Mon, Oct 30, 2000 at 12:48:53PM +1100, Terry Kerr wrote: > That is not streaming. That is just as you said..lack of bandwidth delaying > the entire page arriving at once at you browser. That is not contolled. The > server doesn't send it 'bit by bit' in a controlled manner. But if it did, t

Re: [Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
On Mon, Oct 30, 2000 at 12:23:36PM +1100, Terry Kerr wrote: > Isn't that dependant on the protocol u are using to transfer the data? > HTTP can't do streaming. You can sort of do streaming using the > experimental multipart content type, but IE browers don't recognise it, > so it is pretty useles

[Zope-dev] Streaming?

2000-10-29 Thread Lalo Martins
Is it possible to "stream" (send data to the client via HTTP incrementally) from Python code, or does ZPublisher only send the data as a single wad when the method returns? Assuming it is possible, obviously it requires using some other API rather than just 'return'ing a string... where can I fin

Re: [Zope-dev] HiperDOM example (objlink, that is) ?

2000-10-26 Thread Lalo Martins
On Fri, Oct 27, 2000 at 07:48:32AM +0200, Gregor Hoffleit wrote: > Hi, > > perhaps I'm too stupid, but I don't grok how the objlink method in the > HiperDOM example has to look like. Could somebody post an example ? You're not too stupid; this isn't documented (yet). Perhaps some people would be

Re: [Zope-dev] Unit testing, ZUnit - It is in the fishbowl, please comment

2000-10-26 Thread Lalo Martins
of ZUnit next week or in the other. In the meanwhile, please comment in the proposal's discussion page :-) (or here) On Mon, Oct 23, 2000 at 10:56:31PM -0200, Lalo Martins wrote: > We (I and Hiperlógica) started to develop a Product we called > ZUnit, intended for XP-style unit-tes

Re: [Zope-dev] Re: Unit testing, ZUnit

2000-10-24 Thread Lalo Martins
On Tue, Oct 24, 2000 at 04:35:58AM -0700, Butch Landingin wrote: > > So I do have some questions about how you intend the ZUnit to be used... e.g. -- >lets say I'm > developing a Zope Application... I begin by writing the Python code interface, > then I start writing the PyUnit test... in the t

[Zope-dev] Unit testing, ZUnit

2000-10-23 Thread Lalo Martins
We (I and Hiperlógica) started to develop a Product we called ZUnit, intended for XP-style unit-testing Python-based Products in a full Zope environment (with a real ZODB, REQUEST, RESPONSE, etc). We first conceived it as a kind of Zope-based version of unittestgui.py - you create a "TestRunner"

Re: [Zope-dev] Strange Error - in collector yet?

2000-10-07 Thread Lalo Martins
On Thu, Oct 05, 2000 at 10:01:15AM +0100, Chris Withers wrote: > Lalo Martins wrote: > > > > This is on Zope 2.2.1. I'd really appreciate some clues on how > > to bust these ghosts. > > Have you put a full description in the bug collector yet? Now it is. It w

Re: [Zope-dev] ZODB

2000-10-04 Thread Lalo Martins
For the third time, I have a similar problem. I deleted a ZClass-based Product, but the objects of those ZClasses still work - except for not having an icon or constructor, so I'm not able to create or cut/copy/paste them. Then, when I tried to import the newer version of the Product, Zope gave m

[Zope-dev] Re: [ZWeb] ZWN: HiperDom 0.1 is out

2000-10-02 Thread Lalo Martins
On Mon, Oct 02, 2000 at 01:30:47PM -0700, Paul Everitt wrote: > > One thing you didn't mention on the pages -- requirements. It seems to > want something imported from sax -- does this mean Python 1.6/2.0? Does > it also require XMLDocument? Sorry, forgot that bit. It wants the whole library

[Zope-dev] HiperDom 0.1 is out

2000-10-02 Thread Lalo Martins
We released HiperDom 0.1 Saturday (this message is dated Monday because it's when the objects got cataloged). This version is Python-based, fully functional to the last letter of the spec (except for hdom:method where we cleaned up the interface a bit), fully HelpSys'ed, heck, it even has an icon

[Zope-dev] ZPL HowTo?

2000-09-29 Thread Lalo Martins
We wished to release the new development version of HiperDom under the ZPL, but we figured it wouldn't be that simple, as the license text is all littered with "Digital Creations". Is it just a matter of s/Digital Creations/Hiperlógica/g? Is this even legal? (This message is mostly rethorical, b

Re: [Zope-dev] HiperDOM & xmlc

2000-09-19 Thread Lalo Martins
On Tue, Sep 19, 2000 at 09:00:03AM -0400, Paul Everitt wrote: > > > * You can create the layout with any XML-compliant editor; if > > the template is xHTML, you can use a XHTML-compliant WYSIWYG > > tool. Or, thanks to the modern XML technology, you can use a > > WYSIWYG HTML tool and pass it tro

Re: [Zope-dev] User objects on 2.2

2000-09-18 Thread Lalo Martins
On Sun, Sep 17, 2000 at 11:22:49PM -0300, Lalo Martins wrote: > Why doesn't Anonymous have permission to call has_permission on > itself? This is counter-intuitive to say the least... Ooops... they have, kind of. The Anonymous user object inherits the permissions from the top-level

Re: [Zope-dev] HiperDOM & xmlc

2000-09-18 Thread Lalo Martins
On Mon, Sep 18, 2000 at 03:12:14PM -0400, Shane Hathaway wrote: > [EMAIL PROTECTED] wrote: > > > So the standard_page_template default wrapping is an attempt at a > > > compromise. > > > > It's wrong. > > Please elaborate your position. :-) > > Why is it wrong? Because, as we said, the HiperDO

Re: [Zope-dev] HiperDOM & xmlc

2000-09-18 Thread Lalo Martins
On Mon, Sep 18, 2000 at 08:34:51AM -0400, Shane Hathaway wrote: > [EMAIL PROTECTED] wrote: > > > > Nonono. If the attribute is not specified, the page is a > > standalone template and is not wrapped at all. This is important. > > But, you see, this solution sounded an alarm for the OO folks here

[Zope-dev] User objects on 2.2

2000-09-17 Thread Lalo Martins
Why doesn't Anonymous have permission to call has_permission on itself? This is counter-intuitive to say the least... []s, |alo + -- Hack and Roll ( http://www.hackandroll.org )

Re: [Zope-dev] HiperDOM & xmlc

2000-09-17 Thread Lalo Martins
On Sun, Sep 17, 2000 at 03:51:35PM -0400, Shane Hathaway wrote: > [EMAIL PROTECTED] wrote: > > > > Why? WML-oriented people with WML-oriented tools would benefit > > from it just as much, for example. (Are there WML-oriented > > tools already?) > > What Paul is saying is that we need to make it

Re: [Zope-dev] HiperDOM & xmlc

2000-09-17 Thread Lalo Martins
On Sun, Sep 17, 2000 at 04:07:18PM -0400, Shane Hathaway wrote: > > > One sollution that could possibly work: > > (snip) > > We think alike. A few of us tried to present this very solution (with a > different spelling) to several people here at DC. They found it quite > confusing. I honestly

Re: [Zope-dev] HiperDOM & xmlc

2000-09-17 Thread Lalo Martins
On Sun, Sep 17, 2000 at 12:42:00PM -0400, Paul Everitt wrote: > [EMAIL PROTECTED] wrote: > > BTW, please don't call the solution "xHTML Template"; it's not > > xHTML, it's generic XML - it can easily be used for RSS or WML > > or MathML or NewsML for example. > > While it *can* be used that way (

Re: [Zope-dev] HiperDOM & xmlc

2000-09-15 Thread Lalo Martins
On Fri, Sep 15, 2000 at 03:17:00PM -0400, Shane Hathaway wrote: > [EMAIL PROTECTED] wrote: > > The only thing I _don't_ feel good about this kind of template > > is that, in practice, we will probably lose the benefits of > > things like - meaning, when you > > want to change the header of your s

Re: [Zope-dev] HiperDOM & xmlc

2000-09-15 Thread Lalo Martins
On Fri, Sep 15, 2000 at 08:21:21AM -0400, Paul Everitt wrote: > > I'm surprised that no one responded to this. (Or maybe people did and > our continual email server problems have lost it.) Me too. > I'd like to congratulate Hiperlogica, because they have (ding ding ding) > the _right answer_!

[Zope-dev] HiperDOM & xmlc

2000-09-13 Thread Lalo Martins
We (I and Hiperlogica, a company I consult with) have been developing a template renderer with similar intent to xmlc (be based on XML/DOM, allow the template to be previewed and edited using tools not aware of the format, such as xHTML editors, and enforce presentation/logic separation). As the

[Zope-dev] Security model idea from LoginManager: roles in a class-like hierarchy

2000-07-15 Thread Lalo Martins
I think perhaps roles should take part in a class-like hierarchy. It would be useful to be able to say that, for example, "Author" is a subrole of "User", so that if I give "Author" for an user it automagically gets the permissions for "User". In my zope-coding experience this is a very realistic

[Zope-dev] Re: [Zope] <:xxx> syntax (was: HTML Editors that recognize DTML)

2000-06-27 Thread Lalo Martins
On Fri, Jun 23, 2000 at 07:49:21PM -0400, Jon Franz wrote: > > Also, its not XML compliant either, but I have a shorter dtml syntax patch > available for download at: > > http://www.zope.org/Members/Coventry/dtml_shortcut > > it is a really small patch, and just allows <: to replace inside you

Re: [Zope-dev] LM and user objects

2000-06-06 Thread Lalo Martins
On Tue, Jun 06, 2000 at 04:03:50PM -0600, Bill Anderson wrote: > > Cool. I tried the ZClass route (less restarts ;) gave it Fname,Lname,and > zpasswd as fields. (ISTR something about the password needing to be a > field) Running the risk of repeating myself: if the password is a ZClass property

Re: [Zope-dev] Basic LoginManager HowTo

2000-06-03 Thread Lalo Martins
On Sat, Jun 03, 2000 at 12:38:20AM -0500, Phillip J. Eby wrote: > > > >I tried. It's quite easy, except that you have to store the > >user's password in a property, and access control is somewhat > >broken WRT passwords, so anyone can read anyone's passwords if > >they can write DTML. > > Did you

Re: [Zope-dev] Basic LoginManager HowTo

2000-06-02 Thread Lalo Martins
On Fri, Jun 02, 2000 at 07:29:18PM -0600, Bill Anderson wrote: > Has anyone out there actually sarted _using_ LoginManager with ZODB > storage? IOW, one that is not dependant on LDAP/SQL/etc., but that is > functioning in place of a non-PTK acl_users folder? I tried. It's quite easy, except that