List Info

Thread: Re: archetypes-schema with 300 fields. Howto hide fields based on value in aq_parent.f




Re: archetypes-schema with 300 fields. Howto hide fields based on value in aq_parent.f
country flaguser name
Denmark
2007-03-21 16:37:41
Very good advice using PTProfiler from infrae. 
Although is says only tested on zope2.8 it works on zope2.9
also. 

It showed that it is the number of fields that is the
bottleneck  - so I will
make the data-structure differrent with fewer fields in one
schema. 

/Niels

On Wed, 21 Mar 2007 21:32:28 +0100, Andreas Jung wrote
> --On 21. März 2007 21:24:56 +0100 Niels Steen Krogh 
> <nielssteenkroghzitelab.dk> wrote:
> 
> >
> > For the moment we have put conditions in the
widgets like this:
> > 
condition="python:object.aq_parent.lookupSchema()in
(1,2,3,4)", ),
> >
> >
> 
> You take ZopeProfiler (or PTProfiler) in order to find
out the bottleneck.
> If you know about your bottleneck(s) you think about
how to remove them.
> 300 fields is a bit beyond the come AT use-case. If you
need an efficient
> solution you might think about re-designing your app on
top of CMF,
>  Zope 3 schema and formlib.
> 
> -aj


Niels Steen Krogh
Konsulent
ZiteLab ApS 

Mail: ---------- nielssteenkroghzitelab.dk
Telefon: ------- +45 38 88 86 13
Mobil: --------- +45 22 67 37 38
Adresse: ------- ZiteLab ApS 
---------------- Solsortvej 44
---------------- 2000 F.
Web: ----------- www.zitelab.dk
CVR: ----------- 29178364
Bank: ---------- Sparbank Vest
                 
Ejer: ---------- ZSRK Group Holding ApS

ZiteLab
-Let's Empower Your Data with Webservices


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plone-Users mailing list
Plone-Userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-users


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )