[egenix-users] mxODBC Zope DA - simple example ?

Richard Shea rshea at thecubagroup.com
Mon Apr 26 00:48:46 CEST 2010


That's great thanks. 

Having imported ACME into the root Zope folder I'm now getting a
response when I request ...

http://myserver:8080/Plone/ACME/admin

... and also when I request ...

http://myserver:8080/Plone/ACME/training

It's actually blowing up in response to that second request but that
(I'm reasonably certain) is only down to my not yet having installed the
database. Bit late here to do that now - will try tomorrow.

thanks again for your help.


Richard.



On Sun, 25 Apr 2010 12:07 +0200, "Charlie Clark" <charlie at egenix.com>
wrote:
> Am 25.04.2010, 11:34 Uhr, schrieb Richard Shea <rshea at thecubagroup.com>:
> 
> > Hi - More questions ! I have installed mxODBC Zope DA and I have found
> > the .zexp at
> > http://www.egenix.com/library/presentations/EuroPython2007-Zope-and-RDBMS/
> > and have imported it within my plone instance.
> > I created a new plone folder, foo, and imported the .zexp within foo. In
> > ZMI a folder ACME is now visible within foo. However ACME is not seen as
> > content within foo when viewed via Plone.
> > What I want initially is just to demonstrate a table being dumped to the
> > screen. Within ACME the script ACME/admin/event script looks like an
> > ideal example.
> > Can anyone tell me what I would need to do to invoke it ?
> 
> Hiya Richard,
> 
> nice to see someone trying out my sample code!
> 
> The problem is that Plone expects "specific content objects" to work
> with.  
> That example was designed to work in any Zope instance so you will be
> able  
> to see it if you call it directly via URL, ie.  
> http://localhost:8080/Plone/ACME.
> 
> But you might be better off installing ACME in the root Zope folder next  
> to Plone. This will let you get familiar with how Zope integrates with  
> external data sources. Pretty much everything in ACME can be done in
> Plone  
> but things are slightly different - you add an ACME "skin" to Plone and  
> put the contents of ACME in there.
> 
> Hope that helps! Things have moved on in the Zope world since 2007 so it  
> might be time for us to update this tutorial.
> 
> Charlie
> -- 
> Charlie Clark
> eGenix.com
> 
> Professional Python Services directly from the Source
> >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
> >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
> >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
> ________________________________________________________________________
> 
> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
> 
> 
>     eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>      D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>             Registered at Amtsgericht Duesseldorf: HRB 46611
>                  http://www.egenix.com/company/contact/
> 
> 
> _______________________________________________________________________
> eGenix.com User Mailing List                     http://www.egenix.com/
> https://www.egenix.com/mailman/listinfo/egenix-users
> 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
The Cuba Group
PO Box 15041
Wellington
New Zealand

PH +64 4 496 5205
MO +64 21 976 683 
FX +64 4 496 5209
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the egenix-users mailing list