Re: [Zope] Please help in selecting approach (zope2, 3, +grok, plone) for a new project

2007-11-07 Thread Martijn Faassen
Hello,

It's a good question. :)

On Nov 7, 2007 7:51 AM, Chetan Kumar <[EMAIL PROTECTED]> wrote:
> I am to start working on a new web (site/application) project. Wanted
> to find out better route from among the available choices. In other
> words what are *you* using ?

It depends on what I'm doing. If you need a full-featured CMS, use
Silva or Plone or
something like that, based no Zope 2 (with Zope 3 technologies).

I use Grok for web applications. Now since I'm one of the originators
of Grok that's not a big surprise. :)

Many people use Plone as a foundation for their own web applications.
That works if the web application can be fit into
Plone; you'll get a UI to work with and a ton of features. It can also
be frustrating and hard to maintain if the web application isn't much
like Plone. In that case instead of trying to bend Plone to your will
it might make sense to start with another framework.

> I have used zope 2 and plone in my past projects. The question arises
> now as we have new rewrite of zope with grok on the horizon and plone
> as always is there (with a new version). There is also new CMS based
> on zope (hivert announced recently on zope-dev). Exciting times, but a
> little confusion too.
>
> The site will tend towards social networking some time later as I see
> the requirements taking shape. At the moment it is about people
> joining a community website and exchanging information on a particular
> topic, reviewing items (articles, links, photos) added to the site.

Since you're talking about a community website it sounds at least
initially to me that Plone, or some other community-oriented CMS could
be a good fit. Silva doesn't sound like a good fit as it doesn't focus
on community features primarily.

Meanwhile all these things do tend to converge. Zope 2 software like
Plone is using Zope 3 technology. Grok and Zope 3 aren't
far apart and we're doing our best to make Grok compatible with
"classic" Zope 3 applications. I'm sure eventually Grok technology
will make it into Zope 2.

Regards,

Martijn
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Please help in selecting approach (zope2, 3, +grok, plone) for a new project

2007-11-06 Thread Chetan Kumar
Hi all
I am to start working on a new web (site/application) project. Wanted
to find out better route from among the available choices. In other
words what are *you* using ?

I have used zope 2 and plone in my past projects. The question arises
now as we have new rewrite of zope with grok on the horizon and plone
as always is there (with a new version). There is also new CMS based
on zope (hivert announced recently on zope-dev). Exciting times, but a
little confusion too.

The site will tend towards social networking some time later as I see
the requirements taking shape. At the moment it is about people
joining a community website and exchanging information on a particular
topic, reviewing items (articles, links, photos) added to the site.

TIA
Chetan
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread Dennis Allison

+1 -- I'm afraid my answer assumed a vanilla Zope/Plone sight.




On Fri, 13 Apr 2007, Paul Winkler wrote:

> On Fri, Apr 13, 2007 at 12:36:13PM -0500, s wrote:
> > I just took over a website that was done in Zope/Plone. The person formerly
> > responsible for it was not helpful to the client or me in the transition
> > process. Basically he emailed a ZEXP file to me, told me it contains
> > everything I need, and washed his hands of the whole project.
> 
> The .zexp cannot contain everything you need.  It will contain all the
> data (assuming he didn't miss anything), but that data can only be
> loaded if you have a zope system running with all the correct
> third-party software installed.  You should insist on being provided
> with:
> 
> - Zope version
> 
> - Name and version number for every subdirectory of
>   $INSTANCE_HOME/Products/
>   (including, of course, Plone)
>   ... usually each subdirectory will have a file named version.txt
> 
> - Name and version number for every add-on Python package installed to
>   the system, if any.
> 
> Without this information, you will be unable to load the .zexp.
> 
> --
> 
> Paul Winkler
> http://www.slinkp.com
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 

-- 

___
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread Paul Winkler
On Fri, Apr 13, 2007 at 12:36:13PM -0500, s wrote:
> I just took over a website that was done in Zope/Plone. The person formerly
> responsible for it was not helpful to the client or me in the transition
> process. Basically he emailed a ZEXP file to me, told me it contains
> everything I need, and washed his hands of the whole project.

The .zexp cannot contain everything you need.  It will contain all the
data (assuming he didn't miss anything), but that data can only be
loaded if you have a zope system running with all the correct
third-party software installed.  You should insist on being provided
with:

- Zope version

- Name and version number for every subdirectory of
  $INSTANCE_HOME/Products/
  (including, of course, Plone)
  ... usually each subdirectory will have a file named version.txt

- Name and version number for every add-on Python package installed to
  the system, if any.

Without this information, you will be unable to load the .zexp.

--

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread Dennis Allison

Couple of more things:

1) if your site is running, you can look at the actual code throught 
Zope's TTW interfact.  http://your.domaine.com/manage will get you there 
if you have the proper authentication.

2) you can ftp out the code for off line reading.  Look at The Zope Book
for instructions.  You may need to enable the ftp server in the 
configuration file.




On Fri, 13 Apr 2007, Dennis Allison wrote:

> 
> U... 
> 
> Zope is a system that provides for dynamic generation of HTML.  The 
> materials you captured are likely to be a dynamic instance as served to 
> one user and may not be representative ow what might be served to another 
> user or served to the same user in a different context.
> 
> To extract the zope programs from the ZEXP file you will need to create a
> Zope instance, put the ZEXP file into the "import" directory, and import
> it. What you will get will be a collection of Zope objects which, when
> executed dynamically, will produce the site.  You will need to learn Zope 
> and Plone.
> 
> 
> 
> -d
> 
> On Fri, 13 Apr 2007, s wrote:
> 
> > I just took over a website that was done in Zope/Plone. The person formerly
> > responsible for it was not helpful to the client or me in the transition
> > process. Basically he emailed a ZEXP file to me, told me it contains
> > everything I need, and washed his hands of the whole project. I was able to
> > "grab" nearly all the html, css, and javascript files through the web before
> > he removed the site from his server, but now I realize a few pages were
> > missed. So, it seems the only possibility of restoring those missed pages is
> > if 1) everything really is in that ZEXP file and 2) I can find a way to "get
> > to it." I know nothing about Zope/Plone and, no offense to anyone, do not
> > plan on adding it to my repertoire of knowledge in the near future. I just
> > want the "normal" HTML content as it would've been displayed for these
> > certain pages that were not grabbed before he removed the site. Is this
> > possible? If so, could someone please spell out exactly how I can go about
> > retrieving this information from the ZEXP file?
> > 
> >  
> > 
> > Sincerely,
> > 
> > Shawn
> > 
> > Spinner at networthyinc dot com
> > 
> > 
> 
> 

-- 

___
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread Dennis Allison

U... 

Zope is a system that provides for dynamic generation of HTML.  The 
materials you captured are likely to be a dynamic instance as served to 
one user and may not be representative ow what might be served to another 
user or served to the same user in a different context.

To extract the zope programs from the ZEXP file you will need to create a
Zope instance, put the ZEXP file into the "import" directory, and import
it. What you will get will be a collection of Zope objects which, when
executed dynamically, will produce the site.  You will need to learn Zope 
and Plone.



-d

On Fri, 13 Apr 2007, s wrote:

> I just took over a website that was done in Zope/Plone. The person formerly
> responsible for it was not helpful to the client or me in the transition
> process. Basically he emailed a ZEXP file to me, told me it contains
> everything I need, and washed his hands of the whole project. I was able to
> "grab" nearly all the html, css, and javascript files through the web before
> he removed the site from his server, but now I realize a few pages were
> missed. So, it seems the only possibility of restoring those missed pages is
> if 1) everything really is in that ZEXP file and 2) I can find a way to "get
> to it." I know nothing about Zope/Plone and, no offense to anyone, do not
> plan on adding it to my repertoire of knowledge in the near future. I just
> want the "normal" HTML content as it would've been displayed for these
> certain pages that were not grabbed before he removed the site. Is this
> possible? If so, could someone please spell out exactly how I can go about
> retrieving this information from the ZEXP file?
> 
>  
> 
> Sincerely,
> 
> Shawn
> 
> Spinner at networthyinc dot com
> 
> 

-- 

___
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Please Help - Extracting Info From ZEXP File

2007-04-13 Thread s
I just took over a website that was done in Zope/Plone. The person formerly
responsible for it was not helpful to the client or me in the transition
process. Basically he emailed a ZEXP file to me, told me it contains
everything I need, and washed his hands of the whole project. I was able to
"grab" nearly all the html, css, and javascript files through the web before
he removed the site from his server, but now I realize a few pages were
missed. So, it seems the only possibility of restoring those missed pages is
if 1) everything really is in that ZEXP file and 2) I can find a way to "get
to it." I know nothing about Zope/Plone and, no offense to anyone, do not
plan on adding it to my repertoire of knowledge in the near future. I just
want the "normal" HTML content as it would've been displayed for these
certain pages that were not grabbed before he removed the site. Is this
possible? If so, could someone please spell out exactly how I can go about
retrieving this information from the ZEXP file?

 

Sincerely,

Shawn

Spinner at networthyinc dot com

___
Zope maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please help with DTML-in (newbie)

2005-12-29 Thread Alric Aneron
thanks you all!! This helped a lot!Tino Wildenhain <[EMAIL PROTECTED]> wrote: J Cameron Cooper schrieb:> Alric Aneron wrote:> >>  Hello, I am new to Zope and DTML.>> I am trying to use a python script to call a Z SQL method.  The python>> script also has a list that >> over. so my python script:>> -python script>> words = ['one', 'two']>> context.REQUEST.set('wordlist', wordlist)>> rs = context.myzsqlmethod()>> return rs[0,2]>> -z sql script:>> SELECT * FROM table>> WHERE>> >> column1 LIKE ('' OR>> column2 LIKE '') >> sequence-end> AND >> And dont use  in ZSQL Methods.In your example, use  instead.Even if you hardcode the wordlist, but even more if its comingfrom request somewhere.
		Yahoo! Photos 
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread Tino Wildenhain
J Cameron Cooper schrieb:
> Alric Aneron wrote:
> 
>>  Hello, I am new to Zope and DTML.
>> I am trying to use a python script to call a Z SQL method.  The python
>> script also has a list that > over. so my python script:
>> -python script
>> words = ['one', 'two']
>> context.REQUEST.set('wordlist', wordlist)
>> rs = context.myzsqlmethod()
>> return rs[0,2]
>> -z sql script:
>> SELECT * FROM table
>> WHERE
>> 
>> column1 LIKE ('' OR
>> column2 LIKE '') > sequence-end> AND 
>> 

And dont use  in ZSQL Methods.
In your example, use  instead.
Even if you hardcode the wordlist, but even more if its coming
from request somewhere.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread Jaroslav Lukesh
> I am trying to use a python script to call a Z SQL method.  The python

You need to have defined "words" as parameter for ZSQL Metod. You have tried
to call property wordlist which is not exit.

Here are your ZSQL with safety (not functional) concern:


words:string


SELECT * FROM table
WHERE



(
column1 LIKE '%%' 
OR
column2 LIKE '%%'
) 
 AND  




And here are some functional tips for you:





> -z sql script:
> SELECT * FROM table
> WHERE
> 
> column1 LIKE ('' OR
> column2 LIKE '')  end> AND 
> 

Nice example for easy SQL injection!



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Please help with DTML-in (newbie)

2005-12-28 Thread J Cameron Cooper

Alric Aneron wrote:

 Hello, I am new to Zope and DTML.
I am trying to use a python script to call a Z SQL method.  The python 
script also has a list that over. so my python script:

-python script
words = ['one', 'two']
context.REQUEST.set('wordlist', wordlist)
rs = context.myzsqlmethod()
return rs[0,2]
-z sql script:
SELECT * FROM table
WHERE

column1 LIKE ('' OR
column2 LIKE '') sequence-end> AND 


---
But it doesn't want to, gives me..
*Error Type: NameError*
*Error Value: name 'wordlist' is not defined

*I tried feeding the variable into the ZSQL arguments list, but i got 
something like "cannot concatenate a module with a str"

Can anyone please help me?
Thank you!


It complains about 'wordlist' because it is not defined anywhere. 
Perhaps you mean 'words' in the second line?


To pass a param to the ZSQL method, just say::

   context.myzsqlmethod(words=words)

This will put it in the namespace.

--jcc
--
"Building Websites with Plone"
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Please help with DTML-in (newbie)

2005-12-28 Thread Alric Aneron
 Hello, I am new to Zope and DTML. I am trying to use a python script to call a Z SQL method.  The python script also has a list that  -python script words = ['one', 'two'] context.REQUEST.set('wordlist', wordlist) rs = context.myzsqlmethod() return rs[0,2] -z sql script: SELECT * FROM table WHERE   column1 LIKE ('' OR column2 LIKE '')  AND--- But it doesn't want to, gives me.. Error Type: NameErrorError Value: name 'wordlist' is not defined  I tried feeding the variable into the ZSQL arguments list, but i got something like "cannot concatenate a module with a str" Can a
 nyone
 please help me? Thank you! 
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at Yahoo! Shopping ___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] PLEASE HELP with VHM Problem!!

2005-08-15 Thread Tino Wildenhain

beno schrieb:
I still do not have a solution to get my VHM working. My programmer is 
on vacation and I don't know how he's got things configured. I copied, 
pasted and edited an entry in our httpd.conf file thus:



ServerAdmin [EMAIL PROTECTED] 
ServerName centurionsecurityvi.com
ServerAlias *.centurionsecurityvi.com
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html
ErrorDocument 404 /errors/403.html
Alias icons// usr/local/apache/icons//
RewriteEngine On

# Webalizer
RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]

RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$ 
" dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$ 
" dontlog

ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log 
combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog



rebooted our FreeBSD machine, and then followed the instructions in our 
VHM by entering these fields:

centurionsecurityvi.com
/centurionsecurityvi.com
(Yes, that's the dir.) VHM tells me this dir can't be found. Wazzup?! 
I'm looking at the darn thing! Don't tell me it can't be found! Waah!

Please help.


Nono! You dont configure anything in the VHM object!
All its needs is done by your RewriteRule above.

When it works, you are already inside the "folder"
/conturionsecurityvi.com

(if you are using excatly this folder name - check
by visiting your zope instance directly)
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] PLEASE HELP with VHM Problem!!

2005-08-15 Thread beno
I still do not have a solution to get my VHM working. My programmer is 
on vacation and I don't know how he's got things configured. I copied, 
pasted and edited an entry in our httpd.conf file thus:



ServerAdmin [EMAIL PROTECTED] 
ServerName centurionsecurityvi.com
ServerAlias *.centurionsecurityvi.com
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 500 /errors/500.html
ErrorDocument 404 /errors/403.html
Alias icons// usr/local/apache/icons//
RewriteEngine On

# Webalizer
RewriteRule ^/usage(.*) /usage/centurionsecurityvi.com$1 [L]

RewriteRule ^/(.*) 
http://127.0.0.1:8080/VirtualHostBase/http/www.centurionsecurityvi.com:80/centurionsecurityvi.com/VirtualHostRoot/$1 
[L,P]

SetEnvIf Referer "^$" dontlog
SetEnvIf Referer "^http://centurionsecurityvi\.com.*$ 
" dontlog
SetEnvIf Referer "^http://www\.centurionsecurityvi\.com.*$ 
" dontlog

ErrorLog /var/log/apache/vhosts/centurionsecurityvi.com-error_log
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-access_log 
combined
CustomLog /var/log/apache/vhosts/centurionsecurityvi.com-referer_log 
referer env=!dontlog



rebooted our FreeBSD machine, and then followed the instructions in our 
VHM by entering these fields:

centurionsecurityvi.com
/centurionsecurityvi.com
(Yes, that's the dir.) VHM tells me this dir can't be found. Wazzup?! 
I'm looking at the darn thing! Don't tell me it can't be found! Waah!

Please help.
beno

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Please help !!

2000-08-04 Thread Pedro Vega

Anyone is working OK with the below configuration :

Zope-2.2.0b4
DCOracle-1.3.1b1
ZOracleDA-2.2.0b1
Oracle 8.1.6R2

if not, any similar configuration suggested ??


Thousands of thanks in advance.

Pedro Vega


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )