[Zope3-Users] Re: Zope3 with RDBMS (avoiding ZODB)?

2007-03-05 Thread Laurence Rowe
I'm not an oracle user, but that looks a better bet as it has seen more 
recent activity.


Laurence

Robert Hicks wrote:

Laurence Rowe wrote:
There is no need to use an object-relational mapper, but you will want 
to use a database adapter so that RDBMS transactions get tied into 
Zope's transactions. I think that means 
http://cvs.zope.org/zopeproducts/oracleda/ for Oracle.




What about this one:

http://www.zope.org/Members/dobe/cxoracleda


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] adding user newbie ?

2007-03-05 Thread Christophe Combelles

tyson a écrit :

Hi,
  I am unsure how to authenticate and add new users with Zope3.  I have 
seen postings on PAU and some other things, but I can't find much 
documentation.  Is there a simple way just to add a user?




You first have to add a PAU (from the Add list of the ZMI). The PAU does nothing 
but relaying to an auth plugin. So choose the auth plugin you want to use (you 
can authenticate in several ways, and even mix differents methods, and have 
different authentications at different levels of the ZODB. You can try with the 
principalfolder)
Then you have to register both the pau and the plugin (one click in the zmi), 
enable the principal folder you've added, then go to the principal and add a 
Principal Information (ie a user). Now you can authenticate with the new user.


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] adding user newbie ?

2007-03-05 Thread tyson

Hi,
  I am unsure how to authenticate and add new users with Zope3.  I have 
seen postings on PAU and some other things, but I can't find much 
documentation.  Is there a simple way just to add a user?


--
Tyson Wenger
Computer Programmer
V&L Tool,Inc.

2021 MacArthur Rd.
Waukesha, WI 53188
(262)547-1226 x178

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Zope3 with RDBMS (avoiding ZODB)?

2007-03-05 Thread Robert Hicks

Laurence Rowe wrote:
There is no need to use an object-relational mapper, but you will want 
to use a database adapter so that RDBMS transactions get tied into 
Zope's transactions. I think that means 
http://cvs.zope.org/zopeproducts/oracleda/ for Oracle.




What about this one:

http://www.zope.org/Members/dobe/cxoracleda

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: Zope3 with RDBMS (avoiding ZODB)?

2007-03-05 Thread Laurence Rowe
There is no need to use an object-relational mapper, but you will want 
to use a database adapter so that RDBMS transactions get tied into 
Zope's transactions. I think that means 
http://cvs.zope.org/zopeproducts/oracleda/ for Oracle.


Laurence

Robert Hicks wrote:



Do I take this to mean you are just using SQL and not any "integrated" 
Z3 solution? I ask because I have Oracle databases at work and would 
like to try Z3 out with that. I have no problem doing my own SQL (I kind 
of prefer it).


Robert


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] iteration over non sequence in wcdwz3 example

2007-03-05 Thread Baiju M

[EMAIL PROTECTED] wrote:


I'm reading Web Component Development with Zope 3. The line


from



worldcookery.recipe import Recipe
gives me this error:
Traceback (most
recent call last):
File "", line 1, in ?
File "C:
\Programmi\Python24\lib\site-packages\worldcookery\recipe.py", line 4,
in ?
class Recipe:
File "C:\programmi\Python24\Lib\site-
packages\zope\interface\advice.py", line 132, in advise
return
callback(newClass)
File "C:\programmi\Python24\Lib\site-
packages\zope\interface\declarations.py", line 485, in
_implements_advice
classImplements(cls, *interfaces)
File "C:
\programmi\Python24\Lib\site-packages\zope\interface\declarations.py",
line 462, in classImplements
spec.declared += tuple(_normalizeargs
(interfaces))
File "C:\programmi\Python24\Lib\site-
packages\zope\interface\declarations.py", line 1371, in _normalizeargs
_normalizeargs(v, output)
File "C:\programmi\Python24\Lib\site-
packages\zope\interface\declarations.py", line 1370, in _normalizeargs
for v in sequence:
TypeError: Error when calling the metaclass
bases
iteration over non-sequence

Can anyone say to me what this
message means? I use zope 3.3.1, python 2.4.4, win XP.


While running, make sure that your interface (IRecipe or whatever) 
really inherit from zope.interface.Interface


Regards,
Baiju M
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] iteration over non sequence in wcdwz3 example

2007-03-05 Thread [EMAIL PROTECTED]
I'm reading Web Component Development with Zope 3. The line
>>> from 
worldcookery.recipe import Recipe
gives me this error: 
Traceback (most 
recent call last):
  File "", line 1, in ?
  File "C:
\Programmi\Python24\lib\site-packages\worldcookery\recipe.py", line 4, 
in ?
class Recipe:
  File "C:\programmi\Python24\Lib\site-
packages\zope\interface\advice.py", line 132, in advise
return 
callback(newClass)
  File "C:\programmi\Python24\Lib\site-
packages\zope\interface\declarations.py", line 485, in 
_implements_advice
classImplements(cls, *interfaces)
  File "C:
\programmi\Python24\Lib\site-packages\zope\interface\declarations.py", 
line 462, in classImplements
spec.declared += tuple(_normalizeargs
(interfaces))
  File "C:\programmi\Python24\Lib\site-
packages\zope\interface\declarations.py", line 1371, in _normalizeargs
_normalizeargs(v, output)
  File "C:\programmi\Python24\Lib\site-
packages\zope\interface\declarations.py", line 1370, in _normalizeargs
for v in sequence:
TypeError: Error when calling the metaclass 
bases
iteration over non-sequence

Can anyone say to me what this 
message means? I use zope 3.3.1, python 2.4.4, win XP. 
Thanks
Michele

p.s. the recipe code is
from zope.interface import implements
from 
worldcookery.interfaces import IRecipe

class Recipe:
implements
(IRecipe)

name = u''
ingredients = []
tools = []

time_to_cook = 0
description = u''

from zope.component.factory 
import Factory

recipeFactory = Factory(
Recipe,
title=u"Create 
a new recipe",
description = u"This factory instantiates new 
recipes."
)

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope3 with RDBMS (avoiding ZODB)?

2007-03-05 Thread Maciej Wisniowski

> We do mostly SQL/RDBMS.  We have tried ZAlchmey, and SQLOs, but we
> find them both a bit limiting and simultaneous complex to get them to
> work they way we wanted.  In general when one develops and RDBMS
> application of any size, the database structure can get very complex. 
> In order to integrate them into Zope 3 just right, it's best to
> manually code the containers and objects.  We have been able to
> simplify the process quite a bit and we are very happy with it.  It's
> amazing scalable.If you do decide to go this way, I would be glad
> to share our RBDMS package and procedures.  We've developed some
> guidelines to improve development.  We use MySQL exclusively.
It would be really nice to see your RDBMS package, so if this is
possible then please show it to us :)

-- 
Maciej Wisniowski
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users