[Zope-dev] (no subject)
GET YOUR OWN 100 MEG WEBSITE FOR ONLY $11.95 PER MONTH TODAY! STOP PAYING $19.95 or more TODAY for your web site, WHEN YOU CAN GET ONE FOR ONLY $11.95 PER MONTH! DO YOU ALREADY HAVE A WEBSITE? ALL YOU HAVE TO DO IS TRANSFER THE DOMAIN TO OUR SERVERS AND UPLOAD YOUR DATA AND YOU ARE READY TO GO! YOUR NEW WEB SPACE CAN BE CREATED INSTANTLY WITH JUST A SIMPLE PHONE CALL TO OUR OFFICE. YOU CAN CHANGE THE DESIGN OF YOUR SITE AS MUCH AS YOU WANT with no extra charge! UNLIMITED TRAFFIC -- no extra charge! FRONT PAGE EXTENSIONS are FULLY SUPPORTED. A SET UP FEE OF $40.00 APPLIES for FIRST TIME CUSTOMERS. ALL FEES PREPAID IN ADVANCE FOR THE YEAR PLUS A $40.00 SET UP CHARGE. FOR DETAILS CALL 1 888 248 0765 if you are outside the USA, please fax 240 337 8325 Webhosting International ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns implementation question: images attributes?
On Sat, 13 Jan 2001, Steve Alexander wrote: > Here's the simplest approach that I can think of. Thanks, Steve, that's great. I can even simplify it since there's a one to one correspondence between products and images, so I can just use the product Id as the Image Id. If that correspondence ever breaks, it'll be a sign that its time to promote the images to their own specialist... I think I'm slowly getting the hang of this. Now, if I can just manage to finish reading Coad... --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Massive scalability
I am currently planning two separate 'Archive' type projects/Products. In both cases, I need to make sure that my implementation will scale to hundreds of thousands or even millions of objects. In one project the objects are very simple ZClasses with a few attributes, in the other project, the objects will be instances of the Photo Product, and considerably larger. One implementation I'm considering is a simple Specialist with a Rack. Does anyone know if there are any inherent limitations on the number of objects that can be stored in a Rack? are there any performance limitations at the scale that I'm talking about? The other implementation I'm considering is to create a ZClass that inherits from ZCatalog and Btree Folder. Would this approach run into any scalability problems with the number and type of objects I'm talking about? Thanks, Michael Bernstein. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns implementation question: images attributes?
RDM wrote: > > I have a specialist (actually, EMarket has a specialist ) that > manages objects that from a design point of view I think should have > a couple of Images as attributes (thumbnail and fullsized images of > the product). The question is, how do I implement this using > ZPatterns? Currently all of the other object data is pulled from an SQL > database. I don't mind storing the Images in the ZODB, but I'm having > a hard time finguring out how I would implement that. I've been thinking about my own need for a massive searchable image archive, and have been wondering if I could reimplement the ZPhotoAlbum TTW product (which inherits from ZCatalog and ObjectManager) as a Specialist with a Rack of Photo objects (Photo is a 'normal' Python Product), but I'm unsure of how to go about this. I've also been considering creating an ImageArchive ZClass that inherits from ZCatalog and BTree folder, so I have infrastructure that is better suited to managing thousands (potentially hundreds of thousands) of objects. Any ideas would be welcome. Michael Bernstein. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] ZPatterns implementation question: images attributes?
Zope mailing lists wrote: > I have a specialist (actually, EMarket has a specialist ) that > manages objects that from a design point of view I think should have > a couple of Images as attributes (thumbnail and fullsized images of > the product). The question is, how do I implement this using > ZPatterns? Currently all of the other object data is pulled from an SQL > database. I don't mind storing the Images in the ZODB, but I'm having > a hard time finguring out how I would implement that. Pointers or > alternate design suggestions welcome. Here's the simplest approach that I can think of. Stick all your images in a BTree Folder somewhere convenientm like /Images. Name all the images "image-NN" where NN is a unique number. Make a couple of columns in your database (or whatever) for thumbnail_id and large_image_id. You'll store the image ids in these. Use some SkinScript in that Specialist you mentioned that gets the thumbnail_id and large_image_id for a particular object, and also makes available the thumbnail and large_image. WITH QUERY get_thumbnail_for_object_SQL(primary_key=self.id) COMPUTE thumbnail_id=thumbnail_id, thumbnail=Images[thumbnail_id] OTHERWISE LET thumbnail_id='', thumbnail=Images.missing_thumbnail Note here that I could have had just "thumbnail_id," at line 2. Also, note that I'm assuming you have an image called missing_thumbnail in the Images folder. Do likewise for large images. This approach assumes that you're not considering images or thumbnails to be first-class domain objects in your system, but just attributes of your main objects. Thus, you won't be wanting to store other data that is pertinent to images. If you do want to do this, you should use a more complex design where Images have their own specialist. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] ZPatterns implementation question: images attributes?
I have a specialist (actually, EMarket has a specialist ) that manages objects that from a design point of view I think should have a couple of Images as attributes (thumbnail and fullsized images of the product). The question is, how do I implement this using ZPatterns? Currently all of the other object data is pulled from an SQL database. I don't mind storing the Images in the ZODB, but I'm having a hard time finguring out how I would implement that. Pointers or alternate design suggestions welcome. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] How do I create a folder with subfolders, docs etc?
try this: it works with zope 2.2.4 regards rob. Robert Prosencweb: http://www.matrixware.at/ mail: [EMAIL PROTECTED] Matrixware phone:+43( 1) 713 43 06 - 2 postal: Geusaugasse 39 (Ecke Kundmanngasse) A-1030 Vienna, AUSTRIA while !asleep() sheep++ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Java/Python
On Fri, Jan 12, 2001 at 12:00:08PM -0800, [EMAIL PROTECTED] wrote: > From: "Dario Lopez-Kästen" <[EMAIL PROTECTED]> > Subject: [Zope-dev] Using Java (or JDBC) with Zope/Python > Date: Fri, 12 Jan 2001 15:09:39 +0100 > Organization: CITES > charset="iso-8859-1" > > Hello! > > I am exploring the possibilities of using JDBC with Zope, as well as > investigating whether JavaBeans could be used from Zope/Python. > > It seems that most Python/Java stuff use the JPython/Jython approach and, > IIRC, Zope and Jython/JPython don't mix very well/at all. > > Any pointers, references, comments, etc accepted. One project that I know of: http://www.arakne.com/jpe.htm the home of Java-Python Extension (JPE), a Python extension module and a Java package ensuring seamless interoperability between Java and Python. Alpha source code available on http://sourceforge.net/projects/jpe S. -- Stéfane Fermigier, Tel: 06 63 04 12 77 (mobile). "Amazon: we patent the dot in .com" ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )