Re: [Zope] filesystem ZMySQL database connection

2007-03-16 Thread Andreas Jung
--On 16. März 2007 14:57:28 +0100 javi lopez <[EMAIL PROTECTED]> wrote: hot to do a filesystem Z MySQL database connection? Use CMF and portal_skins for filesystem-based templates and SQL methods. -aj pgpaVttag7As6.pgp Description: PGP signature

Re: [Zope] build a safe proxy

2007-03-16 Thread Eric Bréhault
oh, cool ! I was not aware of that, so that's exactly what I need. Thanks, Eric BREHAULT On 3/16/07, Martijn Pieters <[EMAIL PROTECTED]> wrote: On 3/16/07, Eric Bréhault <[EMAIL PROTECTED]> wrote: > My understanding of PythonScripts is it is a way to allow the import of such > or such module,

Re: [Zope] build a safe proxy

2007-03-16 Thread Martijn Pieters
On 3/16/07, Eric Bréhault <[EMAIL PROTECTED]> wrote: My understanding of PythonScripts is it is a way to allow the import of such or such module, and the use of such or such method in those modules, but it doesn't prevent the access to such or such attributes on existing objects, does it ? It u

Re: [Zope] filesystem ZMySQL database connection

2007-03-16 Thread Peter Bengtsson
Filesystem? Perhaps you mean Python product with files called .sql or something? I have a solution that works for me where I create a Z Psycopg DA inside Zope that I note the object ID of. Then I create a class in my Python product code that uses this zope object to pass all SQL through. The c

[Zope] filesystem ZMySQL database connection

2007-03-16 Thread javi lopez
hot to do a filesystem Z MySQL database connection? Thanks everyone ___ 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-anno

Re: [Zope] How do people work with html-designers?

2007-03-16 Thread Tino Wildenhain
Chris Withers schrieb: Martijn Pieters wrote: That, for ZPT, was sadly a myth. Not a myth at all. Perhaps underutilised and not as robust as first hoped, but not a myth. At Pareto the designer and templater were quite comfortable with keeping TAL intact while using graphical tools. My experie

RE: [Zope] How do people work with html-designers?

2007-03-16 Thread Doyon, Jean-Francois
We use the design first approach, which has worked extremely well with us. We have an extensive UI development process for the web, which is itself iterative, includes user feedback and testing and so on. Experience has show us on many occasions that developpers/programmers should NOT design ANYT

Re: [Zope] build a safe proxy

2007-03-16 Thread Andrew Milton
+---[ Eric Br?hault ]-- | My understanding of PythonScripts is it is a way to allow the import of such or | such module, and the use of such or such method in those modules, but it | doesn't prevent the access to such or such attributes on existing objects, does | it ? Th

Re: [Zope] How do people work with html-designers?

2007-03-16 Thread Chris Withers
Martijn Pieters wrote: That, for ZPT, was sadly a myth. Not a myth at all. Perhaps underutilised and not as robust as first hoped, but not a myth. At Pareto the designer and templater were quite comfortable with keeping TAL intact while using graphical tools. My experience has been that as soo

Re: [Zope] build a safe proxy

2007-03-16 Thread Eric Bréhault
My understanding of PythonScripts is it is a way to allow the import of such or such module, and the use of such or such method in those modules, but it doesn't prevent the access to such or such attributes on existing objects, does it ? Eric BREHAULT On 3/16/07, Andrew Milton <[EMAIL PROTECTED

Re: [Zope] How do people work with html-designers?

2007-03-16 Thread Martijn Pieters
On 3/16/07, Chris Withers <[EMAIL PROTECTED]> wrote: > After all one of the advertised advantages of ZPT, is that you can send the > template back to the designer without him destroying the TAL code. (not right > away at least) That, for ZPT, was sadly a myth. Not a myth at all. Perhaps underu

Re: [Zope] build a safe proxy

2007-03-16 Thread Martijn Pieters
On 3/16/07, Eric Bréhault <[EMAIL PROTECTED]> wrote: One important aspect is the ability to create custom action buttons or custom scheduled agents to automate some basic processes over the managed content. As I do not plan to develop my own script language to do it, I thought I could use direct

Re: [Zope] build a safe proxy

2007-03-16 Thread Chris Withers
Eric Bréhault wrote: What would you recommend ? What is the 'official' way to run an untrusted python code with exec and control what this code can do or not ? I'm not sure what you mean by this, but perhaps letting the "untrusted python" use python's xmlrpc libraries to interact with Zope wou

Re: [Zope] How do people work with html-designers?

2007-03-16 Thread Chris Withers
Gaute Amundsen wrote: How do people set up the zope development process and servers to work well with web-designers who use wysiwyg editors like dreamweaver? I use Twiddler for templating in these kind of situations: http://www.simplistix.co.uk/software/python/twiddler ...as it provides a com

Re: [Zope] build a safe proxy

2007-03-16 Thread Andrew Milton
+---[ Eric Br?hault ]-- | [snip] | As I do not plan to develop my own script language to do it, I thought I could | use directly Python, and run it using exec. Why not just use Python Scripts? Or a custom subclass of Python Scripts with the added security options you wan

Re: [Zope] build a safe proxy

2007-03-16 Thread Eric Bréhault
What I am trying to do is to build a Lotus Domino-like toolkit under Zope/Plone, so basically my product allows people to build their own groupware-oriented business applications directly from the Plone user interface (by designing forms, views, etc...). One important aspect is the ability to cre