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

[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 dtml- or !--#

[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

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_! :^)

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 (just as

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 work for

[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] 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 User Folder

[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,

[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

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 was assigned number 1676. I also busted my

[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] 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-testing Python-based

[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

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 useless.

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, the

[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] 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

[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

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 too

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

2000-11-29 Thread Lalo Martins
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 On Wed, Nov 29, 2000 at 07:02:50AM -0500, Chris McDon

[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 it still works, and it's mainly just stalled waiting

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 Berkely DB in transactional mode requires

[Zope-dev] ZUnit - feedback convocation

2000-11-30 Thread Lalo Martins
om.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 mercilessly! Writing Tests Impor

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 not sure if the history lesson is ou

[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

[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

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: dtml-in expr="PARENTS[0].data()" OPTION selected value="dtml-var

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 + --

[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 able to

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

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

[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;

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 that EC will

[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

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:

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. The

[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 on

[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 found

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 was