Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I have a pro-application story for people. I have an app that does a virtual tail onto a web page. Problem is, we can't show ALL the data at once. It takes a lot of time for the page to render. (Think 3000 rows). So we show the top 100 and let it auto refresh so we can eye-ball newer stuff "just in case". This fucker pulls the same data over and over again, generating a lot of database hits.

So why not cache it you say? Well, we can't. We need the data live. Ticker-style. So if someone hits reload, the better have the newest data. Now lets say we want to find people with only certain attributes. In a web page, we have to either run a new query to pull the specific data. But.. if there is an app w/ all the data loaded (quick to render sits it's using a native widget set), why not use the existing dat aand then filter that. Just hide the irrelivant data. Now we don't need the data again, just un-filter it.

Now imagine dealing with 8-10 THOUSAND rows of data at 12 columns and doing live manipulations. Whn it comes to doing data manipulartions, an app is usually easier. The JS becomes a pain.

Also, take a mail app. I tried switching permanently to a web interface.. but lord, it's so slow compared to mutt or just because it has to take so much more time to build and render a page. W/ an app, the interface sticks around, you just change the data on the fly.

Dont' even get me started on maintaining a state. Say that you dont' want peopel to "go back". Say you wanted to have people go through 52 cards on 52 pages, but hit each one once. Then you have to worry about caching and all of this other stuff. W/ an app, you have TOTAL control of what the user can and can't do. No need for encrypted cookies, or doing a db call every now and then to make sure he hasn't clicked back.

But you know what the web is good for. It's good for arbitrary data and showing it ala book form. If i had to read each email message once w/o managing it.. moving it into folders, performing a search, in chronological order, web pages would be easy.

One-off's, where state doesn't matter (like a simple calculator) or a search page, those do really well, since state doesn't matter so much. Other things, not so good. :)

Play that funky music white boy..

In reply to Re: web-based application or desktop application? by exussum0
in thread web-based application or desktop application? by pg

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (5)
    As of 2018-03-20 22:25 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (260 votes). Check out past polls.