Threaded View

  1. #1
    Sencha User Surykat's Avatar
    Join Date
    Jul 2011
    BIALYSTOK, Poland
    Vote Rating
    Surykat is on a distinguished road


    Default Answered: [PR2] Multiple opened views couse performance problem

    Answered: [PR2] Multiple opened views couse performance problem

    I observed a strange behavior with opening some view for many times and I want to know is it normal..

    When I switch my view with:
    Ext.Viewport.setActiveItem({ xtype: 'myviewwidget'});
    In page resources there are created component with id for example:
    id = "ext-myviewwidget-1"
    I switch now my view to another, but this component stays in page code. I checked it in PR1 release and the same situation is there, BUT...

    In PR2 when I open many views, speed of my application slows a lot. In PR1 application still works like a charm.

    I want to know if that strange problem is coused by my bad component initialization, or mayby I need to somehow destroy earlier created components when I switch view to another?

    What is the best practice? Or mayby it's a PR2 bug which would be fixed in next release?

  2. The problem was coused by selectfield listeners of 'change' event, which was loaded every time the view was created (there was couple of sort methods and binding).

    I rewrite that listeners to MVC pattern (into controller class) and problem is gone.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi