yeah makes sense.
say a small app takes 1mb and a big one takes 2mb (looking at my own
projects for reference). that means you will either load 2mb once or
1mb ten times as you flick through the examples...



On Wed, May 9, 2012 at 11:41 PM, Rich Newpol <rich.new...@gmail.com> wrote:
> Actually, I have found that most non-trivial pyjs apps load a lot of
> the same code anyway, so splitting the demos into actual separate apps
> may not make it more usable (i.e. faster loading). Probably better
> just to make it one large app, that loads with a "loading" progress
> indicator (this was discussed some time ago by folks in these
> forums)..
>
> For Assurity, we have one pretty complex app with lost of widgets, so
> we run a code compressor on the pyjs output and it actually loads in a
> reasonable amount of time (about 5-6 seconds depending on
> connection)...
>
> R
>
> On Tue, May 8, 2012 at 5:57 AM, Kees Bos <cornelis....@gmail.com> wrote:
>> On Tue, 2012-05-08 at 11:47 +0200, Peter Bittner wrote:
>>> Thanks Michael!
>>>
>>> 2012/5/8 Michael Perkonigg <m.perkon...@ferret.at>:
>>> > On 5 May 2012 at 19:36, Peter Bittner wrote:
>>> >
>>> >> I can't find the almighty demo/example app from wxPython. Is this
>>> >> something offline, not on their website? Can you provide a screenshot?
>>> >
>>> > I uploaded them to PicPaste, so they will be gone after 14. May. Tell me 
>>> > if
>>> > you want them posted here (approx. 120kB each) or sent them to you
>>> > personally.
>>> >
>>> > http://picpaste.com/Clipboard01-JTkywWos.jpg
>>> > http://picpaste.com/Clipboard02-pHbhKG4a.jpg
>>> > http://picpaste.com/Clipboard03-P61h1NmA.jpg
>>> > http://picpaste.com/Clipboard04-dmHLU9nQ.jpg
>>>
>>> We could use a similar layout for an almighty demos/examples site:
>>>
>>>  - tree => left, tabbed_pane => center
>>>  - Content in the tree could be grouped/clustered (e.g. as I proposed 
>>> earlier)
>>>  - After all similar to what the Showcase already is, just with a
>>> tabbed pane to clean up a bit
>>>
>>> Anyone ready to write such a website or application? (In CGI-Python?
>>> generated HTML from Pyhon? with framework <XYZ>? Pyjs?)
>>> Suggestions?
>>>
>>> Peter
>>
>> pyjs of course :-)
>>
>> The demo tab would be a iframe with the demo loaded (It would probably
>> too complex / slow to load all together and create one big monstrous
>> app.
>>
>>
>>



-- 
■ ■ ■ ■ ■ ■ ■ ■ ■ ■

Reply via email to