--On 10. Januar 2007 10:45:59 +0800 Steve Han <[EMAIL PROTECTED]> wrote:
I found thar subdirectory instance has completly the same as subdirectory
skel in zope's home directory.What consideration for that from point of
view of software designing?Thanks a lot.
I've never seen something call
I found thar subdirectory instance has completly the same as subdirectory
skel in zope's home directory.What consideration for that from point of
view of software designing?Thanks a lot.
--
Steve Han
___
Zope maillist - Zope@zope.org
http://mail.zope
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Phani Kumar Arava wrote:
> Hi,
> Iam trying to use Zope as an App server (basically to provide an XML-RPC
> interface) for a certain application .
>
> I have a function called addFile in the External Method.
>
> def ext_addfile(self):
> ob=se
Hi,
Iam trying to use Zope as an App server (basically to provide an XML-RPC
interface) for a certain application .
I have a function called addFile in the External Method.
def ext_addfile(self):
ob=self.Files
ob.manage_addFile("hello","hello")
I created an external method call ex
At Tuesday 9/1/2007 12:57, Garth B. wrote:
def all_meta_types(self):
return (
{
'name' : 'Web Page',
'action': 'manage_addProduct/DWT/WebPage_add',
'permission': 'Add Web Page',
},
)
Make sure you use *exactly* the same string to defi
On Tue, Jan 09, 2007 at 08:31:29PM +0100, Maciej Wisniowski wrote:
> > As for me, I am lazy. ZPT does things in a way that few other frameworks do,
> > although Ruby's Amrita2 sort of resembles ZPT.
Not really. It's more closely related to the Meld family (pymeld,
pymeldlite, meld3), and to XMLC.
I am in the process of trying to add RAMCaches to my python scripts,
and wanted to test it out TTW via custom.
However, whenever I make a copy of my FS python script to custom, and
then view the object which uses this script, I get the following error:
TypeError: arg is not a code object
This
Maciej Wisniowski schrieb:
>From my understanding the paths for the zope instance have to be the
same for Data.fs to work correctly. Is that correct?
No, Data.fs should be portable.
Yup, need to crete plain new Zope instance and put
your data.fs into var directory. After this start Zope
and ta
> As for me, I am lazy. ZPT does things in a way that few other frameworks do,
> although Ruby's Amrita2 sort of resembles ZPT.
> Displaying phantom text in a static page which will
> not be there dynamically is not superior to DTML.
> It is just more confusing. I have never learned ZPT
> well an
>> >From my understanding the paths for the zope instance have to be the
>> same for Data.fs to work correctly. Is that correct?
>
> No, Data.fs should be portable.
>
Yup, need to crete plain new Zope instance and put
your data.fs into var directory. After this start Zope
and take a look into Con
I was reading a public blog post among the Zope honchos. And they were agreeing
that ZPT was a mistake. Some said that Zope ought to have used something like
CSilver.
Jim Fulton had complained that he had just spent an entire morning setting up
tests for a ZPT page, and that he, Fulton, was sup
Allen Huang wrote at 2007-1-9 01:05 -0800:
> ...
>I've never thought of using a BTree because I don't know enough about it. I'll
>look into it but will BTree still be a better choice than making instance if
>I'm going to make interactive functions?
BTrees provide an efficient means to store mapp
Steve Han wrote at 2007-1-9 14:32 +0800:
>Forgive me for unpatience.I installed zope as server to serve business's
>content as homepage.How can I do that using ZMI?First make a folder and
>then..
You read the Zope Book (2.7 edition, online on "plope.org") and
then come back with specific quest
Allen Huang wrote at 2007-1-8 19:28 -0800:
>currently I have written my program so it will do an entry by entry processing
>with zope. This operation is like this
>
>1. read data (the data file)
>2. create product (a python product that store three field data: one string
>and two float data)
>3.
Andreas Jung wrote at 2007-1-8 19:08 +0100:
> ...
>The question is: what is easier to learn and to understand - DTML or ZPT?
>Can you explain the "nonsense" of the _ namespace in DTML to a newbie?
Sure.
There is only one caveat: that two positional arguments need to
be passed for recursive calls
On Tue, Jan 09, 2007 at 06:49:11PM +, Rowan Woodhouse wrote:
> Hi,
>
> I'm trying to recover a zope instance from a hardware failure. The
> only thing I have left is the backed up Data.fs file. I'm not entirely
> sure which version of Zope was used but I think it was 2.9 (certainly
> not 3), o
Garth B. wrote at 2007-1-9 10:57 -0500:
>def all_meta_types(self):
>return (
>{
>'name' : 'Web Page',
>'action': 'manage_addProduct/DWT/WebPage_add',
>'permission': 'Add Web Page',
>},
>)
>
>I haven't followed Maciej's suggestion yet to us
Hi,
I'm trying to recover a zope instance from a hardware failure. The
only thing I have left is the backed up Data.fs file. I'm not entirely
sure which version of Zope was used but I think it was 2.9 (certainly
not 3), or what the install paths were for the instance or zope.
When I try and use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonas Nielsen wrote:
> Hi this is probably a little vague but any help is appreciated.
>
> I'm developing on an old zope application, which I ported from zope
> 2.5.1 to zope 2.9. The application seems like it's based on the
> addressbook applicatio
--On 9. Januar 2007 17:06:24 +0100 Jonas Nielsen <[EMAIL PROTECTED]>
wrote:
The "Zope Bible" says something about calling self.__changed__(1) after
updating the value but this doesn't seem to work even though the objects
inherits from "Persistent"
self._p_changed = 1
-aj
pgpc0BPV4vYce.p
Hi this is probably a little vague but any help is appreciated.
I'm developing on an old zope application, which I ported from zope
2.5.1 to zope 2.9. The application seems like it's based on the
addressbook application in the "Zope Bible"
The application is a tool for localization, where tra
Hello Dieter,
This is my all_meta_types function:
def all_meta_types(self):
return (
{
'name' : 'Web Page',
'action': 'manage_addProduct/DWT/WebPage_add',
'permission': 'Add Web Page',
},
)
I haven't followed Maciej's suggestion yet to use pd
--On 9. Januar 2007 05:39:29 -0800 Allen Huang <[EMAIL PROTECTED]> wrote:
There is other solution that uses RDBMS to what I'm trying to do, and I'm
considering using PostGreSQL after. But before that, I want to using ZOPE
and ZODB because I feel this could work.
But in ZOPE vs RDBMS, why do yo
There is other solution that uses RDBMS to what I'm trying to do, and I'm
considering using PostGreSQL after. But before that, I want to using ZOPE and
ZODB because I feel this could work.
But in ZOPE vs RDBMS, why do you consider RDBMS first, why not ZOPE? can your
give me the pros and cons
--On 9. Januar 2007 08:21:18 -0500 Jonathan <[EMAIL PROTECTED]> wrote:
- Original Message - From: "Andrew Milton"
<[EMAIL PROTECTED]>
To: "Andreas Jung" <[EMAIL PROTECTED]>
Cc: "Zope"
Sent: Tuesday, January 09, 2007 4:21 AM
Subject: Re: [Zope] need advice on mass data processing
+
- Original Message -
From: "Andrew Milton" <[EMAIL PROTECTED]>
To: "Andreas Jung" <[EMAIL PROTECTED]>
Cc: "Zope"
Sent: Tuesday, January 09, 2007 4:21 AM
Subject: Re: [Zope] need advice on mass data processing
+---[ Andreas Jung ]--
|
| Sorry, but you are misu
--On 9. Januar 2007 07:47:28 + Chris Withers <[EMAIL PROTECTED]>
wrote:
Andreas Jung wrote:
The question is: what is easier to learn and to understand - DTML or ZPT?
The correct answer is, of course, Twiddler ;-)
http://www.simplistix.co.uk/software/python/twiddler
Yes, you dese
Andreas Jung wrote:
The question is: what is easier to learn and to understand - DTML or ZPT?
The correct answer is, of course, Twiddler ;-)
http://www.simplistix.co.uk/software/python/twiddler
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simpli
Aloha,
Sounds like your data case/data model is better suited to a SQL database
(Relational DB instead of Object DB).
Zope works with MySQL, PostgreSQL etc. via ZSQLMethods.
Look into using those, with your existing data going into a SQL DB (or
maybe it is already?), if you want/need to acces
+---[ Andreas Jung ]--
|
| Sorry, but you are misusing Zope. Put your data into a RDBMS and be the
| happiest man in the world. The ZODB is not a data toilet. Nothing more
| to add from my side on this particular issue.
I concur.
--
Andrew Milton
[EMAIL PROTECTED]
_
--On 9. Januar 2007 01:05:54 -0800 Allen Huang <[EMAIL PROTECTED]> wrote:
Sorry Andreas..
My product is rewritten in python placed in the product folder. So yes,
it is a instance of a class.
In the future, I will be storing more data into one instance from other
dbase file (The total columns
Sorry Andreas..
My product is rewritten in python placed in the product folder. So yes, it is a
instance of a class.
In the future, I will be storing more data into one instance from other dbase
file (The total columns may vary).
I'm still in the developing stage and this is just a test run t
32 matches
Mail list logo