Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Where I work, we have deployed a number of web-based applications and desktop-based application. Customers (internal ones) usually prefer web based applications, because:
  • The look and feel is consistent (they already know how to use a web browser)
  • They load fast
  • Pages are "simpler" and easier to understand
For us, this means:
  • No versioning hassles (ever tried to manage a project made oh hundreds of separate DLLs that depend on each other and are on a client that breaks 1,000 miles away?)
  • No low-level hard-to-debug errors (the client breaks, leaks memory....)
  • Shorter developement times
  • Less 'layers' and less moving data back-and-fort
Before starting the project, anyway, we designed a very simple widget tolkit that we use to handle HTML data (things like a scrollable table you can select rows on, a hierarchical tree object, a currecy control...) and then designed the pages to be simple: no (or very few) Javascript on-page events, you always press a button to perform an action, and so on. This means we almost forget HTML in coding and both layout and behaviour are always consistent.

What you should not do, instead, is to say 'HTML is simple - let's embed it here and there'. This produces a mass (or a mess?) of unreadable code that will be very hard to mantain and understand when the project's over (when you have three or four nested tables, whose TD is that?)

My 0.02 euros

In reply to Re: web-based application or desktop application? by l3nz
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 chanting in the Monastery: (6)
    As of 2018-06-20 14:58 GMT
    Find Nodes?
      Voting Booth?
      Should cpanminus be part of the standard Perl release?

      Results (116 votes). Check out past polls.