sean.upton | 1 Mar 2003 01:30

RE: Re: Emailing groups from workflow

IMHO, there are security and scalability concerns with doing this that need
to be considered.  The alternative to wget is to create and tear down
temporary, lightweight Zope instances using Zope.app() and ZEO from a secure
cluster node.  Having done both this and http-poked methods, I'll never go
back to wget again!  Here's my thoughts:

=> Security: only as secure as your wgetrc file, since you store the user/pw
in plain-text on some box.  Using out-of-process scripts on a ZEO client in
a protected cluster (assuming ZEO is running on its own, relatively secure
VLAN), you are less likely to need to worry about this. 
=> If your process being called potentially leaks memory, it will slowly
kill your Zope instance.  Often, a complicated process can do this,
especially one that creates objects in memory that garbage collection
doesn't take care of (this is less of an issue for TTW code, I think, but I
have a specific app where cron'd wget is used where this is a big problem);
YMMV.
=> With an out-of-process temporary Zope created in a cron'd script, you can
do many more things than you can do TTW.  The downside, of course, is you
need to be (a) good with more raw coding below TTW, and (b) more careful.
The upside is you get complete control over the transaction machinery, and
can call unrestricted code.
=> Queued things like sending email, etc, won't bog down the main Zope
instance.  This allows you to take advantage of a dedicated node to do the
heavily lifting without slowing down your site.

An out-of-process Zope code example (not related to email, but you get the
idea):
http://mail.zope.org/pipermail/zope/2003-February/131882.html

Sean
(Continue reading)

Kapil Thangavelu | 1 Mar 2003 04:14

Re: Re: Emailing groups from workflow


On Friday 28 February 2003 04:30 pm, sean.upton@... wrote:
> IMHO, there are security and scalability concerns with doing this that need
> to be considered.  The alternative to wget is to create and tear down
> temporary, lightweight Zope instances using Zope.app() and ZEO from a
> secure cluster node.  Having done both this and http-poked methods, I'll
> never go back to wget again!  Here's my thoughts:
>
> => Security: only as secure as your wgetrc file, since you store the
> user/pw in plain-text on some box.  Using out-of-process scripts on a ZEO
> client in a protected cluster (assuming ZEO is running on its own,
> relatively secure VLAN), you are less likely to need to worry about this.

zope takes the pov, if you're on the server fs your king, assuming you can 
alter its files. wgetrc can be bypassed via simple shell wrapper if need be.
best of course is running the script against localhost, so it can't be sniffed 
or over ssl if remote.

> => If your process being called potentially leaks memory, it will slowly
> kill your Zope instance.  Often, a complicated process can do this,
> especially one that creates objects in memory that garbage collection
> doesn't take care of (this is less of an issue for TTW code, I think, but I
> have a specific app where cron'd wget is used where this is a big problem);
> YMMV.

sorry i don't see the relevance, leaking memory is often a sign of an 
application errors. i agree ymmv.

> => With an out-of-process temporary Zope created in a cron'd script, you
> can do many more things than you can do TTW.  The downside, of course, is
(Continue reading)

N. Thomas | 1 Mar 2003 05:45
Picon
Favicon

displaying HTML within Plone

If I have a file foo.html, or a Zope object that spits out an HTML page
<html>...</html>, how can I get this data displayed "inside" Plone?

Right now I can set up a portal_tab that points to an HTML file that is
generated on a new page, but I if want the HTML to be displayed "inside"
the Plone site, how can I do this?

By inside, I mean that the top, portal_tabs and side slots should
remain, but the body should be the contents of the HTML file.

thanks,
thomas

--

-- 
N. Thomas
nthomas@...
Etiamsi occiderit me, in ipso sperabo

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Alexander Limi | 1 Mar 2003 08:19
Favicon
Gravatar

Re: Preferences settings?

On Mon, 24 Feb 2003 11:24:14 +0800, Steven Teo <steven- 
bc_teo@...> wrote:

> It appears that the "Look" settings in the preference page is global? No
> matter who changes it, it applies to everyone?

There are two settings, one user-based (My Preferences) and one site-wide 
(Plone Setup).

--

-- 
Alexander Limi   ¤   Co-Founder·Plone
http://limi.net   ¤   http://plone.org
Interface Design   ¤   Usability Analysis

高联合 · アレクサンダー リミ · 이미짱

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Alexander Limi | 1 Mar 2003 08:37
Favicon
Gravatar

Re: immodest proposal ;)

On Tue, 25 Feb 2003 19:23:18 -0800, Zoltan Soos 
<zsoos@...> wrote:

>
> I have posted a more formal proposal under the subject "Meta tags and
> keywords" detailing exactly the same problem. As far as user
> interface, the two new "standard" metatags
>
> - html_keyword
> and - html_description
>
> could be placed on the Properties tab -> Edit Properties -> Item
> Properties form along with the rest of the Dublin Core fields.
>
> I am not sure if this description will eventually exhaust the required
> formality, but would be sure very useful, make changing "search
> engine" metadata so easy.

Keyword matching is pretty crude, and only solves things up to a certain 
point. Instead of extending it in some non-standard way, we should look 
into other ways of doing things.

We're currently looking at Topic Map solutions to see if it is something we 
want in Plone.

--

-- 
Alexander Limi   ¤   Co-Founder·Plone
http://limi.net   ¤   http://plone.org
Interface Design   ¤   Usability Analysis

(Continue reading)

Alexander Limi | 1 Mar 2003 08:45
Favicon
Gravatar

Re: Lookinfg for help: NavigationTree as sitemap

On Wed, 26 Feb 2003 11:35:03 +0100, Gerhard Hug 
<gerhard@...> wrote:

> Can anybody help me?
> I'm trying to use the navigation_tree as a sitemap showing all folders of
> chapters and subchapters.
> How can I do this?

This is really a Zope question, you want to traverse all the folders and 
output it visually. We are building this into Plone itself, and it will 
probably land in 1.1 (if I get it my way ;), but if you need it right now, 
you will need to build it yourself. Have you looked at zopelabs.com?

--

-- 
Alexander Limi   ¤   Co-Founder·Plone
http://limi.net   ¤   http://plone.org
Interface Design   ¤   Usability Analysis

高联合 · アレクサンダー リミ · 이미짱

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Alexander Limi | 1 Mar 2003 08:40
Favicon
Gravatar

Re: maybe i am wussboy but

On Tue, 25 Feb 2003 11:30:27 -0800 (PST), patrick sullivan 
<psulli@...> wrote:

> i need some help, and if this request is too much to ask
> for, feel free to flame.
>
> I am trying to add a type that when choosen to "add new" of this
> type, it creates essentially a PloneFolder with three sub-directories
> (or folderettes?) inside the initial folder.
>
> What road should I go down here?

I assume you found Alan's docs, but for anyone else searching for this:

http://plone.org/documentation/howto/PrePopulatedFolder

--

-- 
Alexander Limi   ¤   Co-Founder·Plone
http://limi.net   ¤   http://plone.org
Interface Design   ¤   Usability Analysis

高联合 · アレクサンダー リミ · 이미짱

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Alexander Limi | 1 Mar 2003 09:03
Favicon
Gravatar

Re: Emailing groups from workflow

> On Friday 28 February 2003 05:48 am, Martin Burns wrote:
>> Gerry et al
>>
>> Remember I threw out the idea of sending email to groups of people via
>> workflow using content metadata as a selector?
>>
>> As it was needed for some client work, I put it together and got it up
>> and running:
>> http://evolt.org/plone_email_announcements/

I added a link to this in the Howto section, but we should move this into 
the Wiki. Could you do a cut/paste from the source text, Martin? Great 
article, thanks :)

--

-- 
Alexander Limi   ¤   Co-Founder·Plone
http://limi.net   ¤   http://plone.org
Interface Design   ¤   Usability Analysis

高联合 · アレクサンダー リミ · 이미짱

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Alexander Limi | 1 Mar 2003 09:07
Favicon
Gravatar

Re: additional structuredText features

On Fri, 28 Feb 2003 12:11:39 +0100, Michael Laubacher 
<laubacher@...> wrote:

> Hi all,
> I would like to have additional structured text functionalities inside a
> plone document. I would like to have an "external link" (with
> target="_blank" ) and I would like that a single line break gives 
> actually a
> single <br> tag.
> I guess that already someone else came across these requirements. So, has
> anyone already done that? Some hints?

Yes. reStructuredText. It's coming in Zope 2.7.

http://docutils.sf.net

--

-- 
Alexander Limi   ¤   Co-Founder·Plone
http://limi.net   ¤   http://plone.org
Interface Design   ¤   Usability Analysis

高联合 · アレクサンダー リミ · 이미짱

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Alexander Limi | 1 Mar 2003 09:12
Favicon
Gravatar

Re: Supid Newbie Question - Equivalent to DTML-Var / Includes

On Fri, 28 Feb 2003 13:42:39 GMT, Philip Kilner 
<phil@...> wrote:

> We're migrating some content to Plone from Zope, and are looking for some 
> input as to how to address some issues regarding "boilerplate text".
>
> In our current scenario, we have a large number of DTML documents, many 
> of which contain common text at arbitrary points. This is implemented as 
> a number of DTML-vars. Ideally, we would like to use structured text - 
> but there doesn't seem to be an equivalent of a "DTML var" or an 
> "include".
>
> This makes sense, given what structured text is for, but leaves us 
> looking for a way of keeping a single instance of our boilerplate text 
> for ease of maintenance.
>
> I can see a number of ways we could address this, but my question to the 
> list is - what is the "plone-ish" approach to this issue?

Yes, you should use ZPT. Giving the users a possibility to write DTML or 
other code is a bad idea anyway, and is not recommended.

The ZPT equivalent is

<div tal:replace="here/variable">This is replaced</div>

Read:

http://www.zope.org/Documentation/Articles/ZPT1
http://www.zope.org/Documentation/Articles/ZPT2
(Continue reading)


Gmane