Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Compared to SQLite, in my experience- mysql is slow at inserts and fast on queries; consider doing any heavy lifting, operations.. cpu intense whatevers.. all offline, that is.. drop a crontab entry.

Spoken as a true programmer ... as in, someone who isn't a DBA. The SQLite DBMS is a great toy. It can be a useful development aid. But, unlike a RDBMS, SQLite doesn't enforce relationships, types, or anything that one would need to ensure data integrity. It doesn't have transactions (ACID or not), proper indices, and a lot of other stuff. In other words, the moment your application started being real, SQLite would do anything from fall over immediately (best case) to corrupt your data without you knowing it (worst case).

While I prefer MySQL (using the InnoDB tabletype only), PostgreSQL, Oracle, DB2, Sybase / SQL*Server ... anything that's ACID-transaction compliant, provides proper foreign keys, indices and the rest of it is necessary for a proper application. This isn't optional.

The rest of what you said - the WUI thing is a really cool concept that I think I'll be grabbing. But, data is the foundation of an application - treat it properly or it will beat you senseless.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

In reply to Re^2: Large Web Application Ponderings by dragonchild
in thread Large Web Application Ponderings by stonecolddevin

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

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-08-13 06:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found