[Product-Developers] Re: Where does it hurt

André Brown andre.brown at alteroo.com
Tue Jun 3 04:32:49 UTC 2008


My problem with Plone/Zope dev is that I really don't know where to  
start.  I need some way to wrap my head around the framework so that  
I won't have to guess and hack to get something working.

There also seems to be no standardization.  There are a dozen ways to  
do something and it gets confusing.

André Brown
Alteroo Consulting Group
"Code For Change"




On Jun 2, 2008, at 11:21 PM, product-developers- 
request at lists.plone.org wrote:

> Send Product-Developers mailing list submissions to
> 	product-developers at lists.plone.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.plone.org/mailman/listinfo/product-developers
> or, via email, send a message with subject or body 'help' to
> 	product-developers-request at lists.plone.org
>
> You can reach the person managing the list at
> 	product-developers-owner at lists.plone.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Product-Developers digest..."
>
>
> Today's Topics:
>
>    1.  Reflecto doesnt index binaries (LeFyx)
>    2. Re:  Reflecto doesnt index binaries (Andreas Jung)
>    3.  Re: Reflecto doesnt index binaries (LeFyx)
>    4.  security for adapters in untrusted code (Tim Hicks)
>    5. Re:  Re: Reflecto doesnt index binaries (Wichert Akkerman)
>    6. Re:  Where does it hurt? (gratefulfrog)
>    7.  Mailer component (albieback)
>    8. Re:  Mailer component (Hedley Roos)
>    9. Re:  Re: Reflecto doesnt index binaries (Andreas Jung)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 Jun 2008 18:18:32 +0200
> From: "LeFyx" <lefyx at fyx.at>
> Subject: [Product-Developers] Reflecto doesnt index binaries
> To: product-developers at lists.plone.org
> Message-ID: <g216go$d2n$1 at ger.gmane.org>
>
> I'm having a problem with the Reflecto 2.0 under Plone 3.0.4.
> The Reflecto itself works great but it just won't index binaries  
> like .pdf
> or .doc...
> If i upload binaries the normal way, the files are indexed  
> perfectly. Just
> when uploading it throug the Reflecto nothing happens to them ever  
> though i
> didn't activate the "Live"-Option.
> Does anybody have any suggestions, what the problem could be.
>
> Regards
> LeFyx
>
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 02 Jun 2008 19:52:27 +0200
> From: Andreas Jung <lists at zopyx.com>
> Subject: Re: [Product-Developers] Reflecto doesnt index binaries
> To: LeFyx <lefyx at fyx.at>, product-developers at lists.plone.org
> Message-ID: <A7F539AB5EEA6F251FA629C8@[192.168.0.24]>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> --On 2. Juni 2008 18:18:32 +0200 LeFyx <lefyx at fyx.at> wrote:
>
>> I'm having a problem with the Reflecto 2.0 under Plone 3.0.4.
>> The Reflecto itself works great but it just won't index binaries like
>> .pdf  or .doc...
>> If i upload binaries the normal way, the files are indexed perfectly.
>> Just  when uploading it throug the Reflecto nothing happens to  
>> them ever
>> though i  didn't activate the "Live"-Option.
>
> TextIndexNG3 is required for indexing afaik.
>
> -aj
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 194 bytes
> Desc: not available
> Url : http://lists.plone.org/pipermail/product-developers/ 
> attachments/20080602/082cc5c8/attachment-0001.pgp
>
> ------------------------------
>
> Message: 3
> Date: Mon, 02 Jun 2008 21:04:20 +0200
> From: LeFyx <cbl04003 at fh-hagenberg.at>
> Subject: [Product-Developers] Re: Reflecto doesnt index binaries
> To: product-developers at lists.plone.org
> Message-ID: <g21g7k$h52$1 at ger.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
> yeah i read that on the products-page but wasn't quite sure if it is
> necessary, since the indexing of normally uploaded binaries works fine
> without TextIndexNG3.
>
> None the less the installation of TextIndexNG3 always stops with  
> "error:
> package directory 'zopyx' does not exist". Which makes me even more
> confused because this directory is only mentioned in relationship to a
> windows-installation in the readme of TextIndexNG3 (as far as i
> understand this...)
>
> -fyx
>
>
>
> Andreas Jung schrieb:
>>
>>
>> --On 2. Juni 2008 18:18:32 +0200 LeFyx
>> <lefyx at fyx.at> wrote:
>>
>>> I'm having a problem with the Reflecto 2.0 under Plone 3.0.4.
>>> The Reflecto itself works great but it just won't index binaries  
>>> like
>>> .pdf  or .doc...
>>> If i upload binaries the normal way, the files are indexed  
>>> perfectly.
>>> Just  when uploading it throug the Reflecto nothing happens to  
>>> them ever
>>> though i  didn't activate the "Live"-Option.
>>
>> TextIndexNG3 is required for indexing afaik.
>>
>> -aj
>>
>>
>> --------------------------------------------------------------------- 
>> ---
>>
>> _______________________________________________
>> Product-Developers mailing list
>> Product-Developers at lists.plone.org
>> http://lists.plone.org/mailman/listinfo/product-developers
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 02 Jun 2008 20:17:15 +0100
> From: Tim Hicks <tim at sitefusion.co.uk>
> Subject: [Product-Developers] security for adapters in untrusted code
> To: Plonefolk <product-developers at lists.plone.org>
> Message-ID: <4844473B.7030508 at sitefusion.co.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> For QuillsEnabled, I have implemented an adapter from the standard  
> Plone
> Page/Document to Quills' IWeblogEntry.  See
> <http://dev.plone.org/collective/browser/Products.QuillsEnabled/ 
> trunk/Products/QuillsEnabled/adapters/document.py>.
>
> Instances of this adapter get used by skin templates (i.e.  
> portal_skins)
> and therefore by untrusted code.  In order to make this work, it was
> necessary to put __allow_access_to_unprotected_subobjects__ = True on
> the adapter class.  This is nasty and potentially a security hole.
>
> My question: what is the best way around this?
>
> One solution I can think of is to apply security to the adapter class
> and then use a factory that acquisition wraps the adapter upon
> instanciation.  Does that sound reasonable?
>
> Have others come across this sort of thing before?
>
> Thanks,
>
> Tim
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 2 Jun 2008 22:10:23 +0200
> From: Wichert Akkerman <wichert at wiggy.net>
> Subject: Re: [Product-Developers] Re: Reflecto doesnt index binaries
> To: LeFyx <cbl04003 at fh-hagenberg.at>
> Cc: product-developers at lists.plone.org
> Message-ID: <20080602201022.GA13829 at wiggy.net>
> Content-Type: text/plain; charset=us-ascii
>
> Previously LeFyx wrote:
>> yeah i read that on the products-page but wasn't quite sure if it is
>> necessary, since the indexing of normally uploaded binaries works  
>> fine
>> without TextIndexNG3.
>
> The Reflecto documentation is quite explicit about it. You really do
> need TextIndexNG3.
>
>> None the less the installation of TextIndexNG3 always stops with  
>> "error:
>> package directory 'zopyx' does not exist". Which makes me even more
>> confused because this directory is only mentioned in relationship  
>> to a
>> windows-installation in the readme of TextIndexNG3 (as far as i
>> understand this...)
>
> That zopyx package is required for all systems, not just Windows.
>
> Wichert.
>
> -- 
> Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
> http://www.wiggy.net/                   It is hard to make things  
> simple.
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 2 Jun 2008 14:13:52 -0700 (PDT)
> From: gratefulfrog <gratefulfrog at gmail.com>
> Subject: Re: [Product-Developers] Where does it hurt?
> To: product-developers at lists.plone.org
> Message-ID: <17606221.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
>
> Martin Aspeli wrote:
>>
>>   ==> As a customiser of Plone, or as someone wanting to build  
>> bespoke
>> components that extend Plone, what do you find most confusing?
>>
>
> Well, I've been trying to get started on making a plone site for  
> several
> weeks now and still haven't managed to get into it. I've got  
> Martin's book,
> read tons of tutorials, watched video tutorials, chatted on the  
> IRC, etc.
> but haven't been able to get a good idea of
>    * how plone/zope is structured,
>    * where to find a good example to start from and make it solve  
> my problem
> (forms and data entry/view),
>    * what you have to do to build a plone site, even at the highest  
> level,
> e.g. define the main page templates, set up menus and interaction,  
> etc.
>
> So I'd say I'd most need a comprehensive worked example of building  
> (not
> using)  a genuine site. take a look at the django documenation for
> reasonable examples. (I may have to give up on plone and start over  
> with
> django which I don't know either but which seems more approachable).
>
> I'm sorry if this may not be the right place for this remark, but  
> I'm really
> sad that I can't get into this framework, even though I'm a good  
> python
> programmer, and expert lisp/c/c++ programmer. It's also sad that other
> friends, also expert programmers, even better than me have also  
> given up on
> plone for lack of a comprehensive starting point.
>
> If anyone out there wants to help with my conservation project for the
> Galapagos, please let me know. I've already obtained a generous  
> gift of
> plone hosting, but I'm floundering. There's no money in it, nor glory,
> saving the planet is like that. I do it beyond my daytime job.
>
> Ciao!
>
> -- 
> View this message in context: http://www.nabble.com/-Product- 
> Developers--Where-does-it-hurt--tp17301616s20094p17606221.html
> Sent from the Product Developers mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 2 Jun 2008 14:54:57 -0700 (PDT)
> From: albieback <alberto at alopes.com>
> Subject: [Product-Developers] Mailer component
> To: product-developers at lists.plone.org
> Message-ID: <17611165.post at talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> Dear friends,
>
> I am interested in tweak Plone a little in order to make it not use  
> a SMTP
> server, but a Lotus Notes client to send e-mail. I'm planning on using
> win32com to connect Python to a Notes DLL or Jython to use Java to  
> connect
> Python to Notes.
>
> My problem is on the Plone side: where should be my starting point?  
> Is there
> a "mailer class" or a "mailer object" that handles mail sending as a
> cohesive point or is this functionality spread throughout several  
> Plone or
> Zope objects?
>
> Can anyone give me pointers to docs about this subject?
>
> Best regards,
>
> Albie
> -- 
> View this message in context: http://www.nabble.com/Mailer- 
> component-tp17611165s20094p17611165.html
> Sent from the Product Developers mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 3 Jun 2008 00:04:36 +0200
> From: "Hedley Roos" <hedleyroos at gmail.com>
> Subject: Re: [Product-Developers] Mailer component
> Cc: product-developers at lists.plone.org
> Message-ID:
> 	<776caf8b0806021504h22cfb2beobfbeed2a2639d0b3 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> If your surname is really "Back" then you have one cool name:)
>
> Plone nearly always uses an item called MailHost to send the mail.
> That item is just an instance of MailHost by default, but you can
> replace it with any object provided it is called MailHost. In fact,
> that is what you do when using say a MaildropHost or any more advanced
> mailer.
>
> You'll have to adhere to Zope's MailHost API. Look at
> ZOPE_HOME/lib/python/Products/MailHost/MailHost.py. Also download
> MaildropHost and look at their implementation.
>
> Good luck.
> Hedley
>
> On Mon, Jun 2, 2008 at 11:54 PM, albieback <alberto at alopes.com> wrote:
>>
>> Dear friends,
>>
>> I am interested in tweak Plone a little in order to make it not  
>> use a SMTP
>> server, but a Lotus Notes client to send e-mail. I'm planning on  
>> using
>> win32com to connect Python to a Notes DLL or Jython to use Java to  
>> connect
>> Python to Notes.
>>
>> My problem is on the Plone side: where should be my starting  
>> point? Is there
>> a "mailer class" or a "mailer object" that handles mail sending as a
>> cohesive point or is this functionality spread throughout several  
>> Plone or
>> Zope objects?
>>
>> Can anyone give me pointers to docs about this subject?
>>
>> Best regards,
>>
>> Albie
>> --
>> View this message in context: http://www.nabble.com/Mailer- 
>> component-tp17611165s20094p17611165.html
>> Sent from the Product Developers mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Product-Developers mailing list
>> Product-Developers at lists.plone.org
>> http://lists.plone.org/mailman/listinfo/product-developers
>>
>
>
>
> ------------------------------
>
> Message: 9
> Date: Tue, 03 Jun 2008 06:20:53 +0200
> From: Andreas Jung <lists at zopyx.com>
> Subject: Re: [Product-Developers] Re: Reflecto doesnt index binaries
> To: LeFyx <cbl04003 at fh-hagenberg.at>,
> 	product-developers at lists.plone.org
> Message-ID: <9CD404A97B498C46EDD01051@[192.168.0.24]>
> Content-Type: text/plain; charset="us-ascii"
>
>
>
> --On 2. Juni 2008 21:04:20 +0200 LeFyx <cbl04003 at fh-hagenberg.at>  
> wrote:
>
>> yeah i read that on the products-page but wasn't quite sure if it is
>> necessary, since the indexing of normally uploaded binaries works  
>> fine
>> without TextIndexNG3.
>
> Sorry, reading helps. The documentation states that TXNG3 is  
> required :-)
>
>>
>> None the less the installation of TextIndexNG3 always stops with  
>> "error:
>> package directory 'zopyx' does not exist". Which makes me even more
>> confused because this directory is only mentioned in relationship  
>> to a
>> windows-installation in the readme of TextIndexNG3 (as far as i
>> understand this...)
>
> The TXNG3 documentation is also pretty clear about the requirements
> and installation.
>
> Andreas
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 194 bytes
> Desc: not available
> Url : http://lists.plone.org/pipermail/product-developers/ 
> attachments/20080603/0d944368/attachment.pgp
>
> ------------------------------
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
>
>
> End of Product-Developers Digest, Vol 16, Issue 3
> *************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20080602/baf9e5ad/attachment-0001.html>


More information about the Product-Developers mailing list