Zope for dvd online shop
Hello,, I like your advice to know when it's a good soluiton to use Zope to make an online shop wich sell dvd. I'll have 2600 differents dvd. I think, i'll use Zclasses for each DVD. Is it a good solution mainly for processing time when sorting DVD by actor or genre or ... Thanks a lots Oulala dansle50@caramail.com _________________________________________________________ Le journal des abonnés Caramail - http://www.carazine.com
--- I like your advice to know when it's a good soluiton to use Zope to make an online shop wich sell dvd. I'll have 2600 differents dvd. I think, i'll use Zclasses for each DVD. Is it a good solution mainly for processing time when sorting DVD by actor or genre or ... --- yep, seems like a good solution to me. one class and a catalog around it. i *know* it's better to do it using python, but it's so much easier and faster to do it using zclasses (and for relatively small amounts of data (<5000) it doesn't really matter how many millisecs you trim off you code. imho ;-) error
Generally, the difference/battle between Python Product and ZClass is time. The cool thing about ZClass is that it "takes care of" all the security related junk that is to difficult and sensitive to write in a Python Product. However, if you have time and really want to pinpoint the details, python product is better. If Python products are faster, I don't know, but it likely is so. Another nice feature of Python Products is that you can change the baseclasses with time. In ZClasses you can't, so if you made an error in not selecting say "ZCatalogAware" on creation you'll have to rebuild the whole ZClass. 2600 DVD's isn't very much. I would go for a ZClass, unless you will want to compete against Amazon in a few months. peter
--- I like your advice to know when it's a good soluiton to use Zope to make an online shop wich sell dvd. I'll have 2600 differents dvd. I think, i'll use Zclasses for each DVD. Is it a good solution mainly for processing time when sorting DVD by actor or genre or ... ---
yep, seems like a good solution to me. one class and a catalog around it.
i *know* it's better to do it using python, but it's so much easier and faster to do it using zclasses (and for relatively small amounts of data (<5000) it doesn't really matter how many millisecs you trim off you code.
imho ;-)
error
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I like your advice to know when it's a good soluiton to use Zope to make an online shop wich sell dvd. I'll have 2600 differents dvd. I think, i'll use Zclasses for each DVD. Is it a good solution mainly for processing time when sorting DVD by actor or genre or ...
We have developed a DVD catalog site entirely in Zope with ZClasses. Initially, we did it with Zope and Oracle because of a client requirement. As soon as that requirement was lifted, and we were free to deploy the content in multiple sites, Oracle became an obstacle and so we rewrote the whole thing using nothing but the ZODB. We had only 4 days to do the conversion, so we took a RAD approach: ZClasses, ZCatalogs and Python Scripts (no external Python). The original Oracle schema had 25 tables, about 1/3 of which were link tables (to establish many-to-many relationships). It took only 6 ZClasses to represent the same domain, and much better in our opinion. We also think performance was improved, but we have no hard data to support that assertion. Performance did not suffer noticeably, that is certain, and before we had Oracle running on a second and more powerful hardware than Zope was. We currently have about 2500 DVDs in our catalog, and more than 3000 actors/directors. You can see one instance of the catalog here: <http://dvdb.com.br/>. Best regards, Luciano
participants (4)
-
dansle 50 -
Error -
Luciano Ramalho -
Peter Bengtsson