After using Class::DBI, DBIx::Class, (tested Hibernate, etc) and all the other ORM mappers to do db stuff.
I was always thinking that there is something broken with this approach (Ok.:) not broken, but always seemed a little off).
On the other hand using SQL directly is not that good either ! And thinking of SQL always take off the real target, 'cause you have to think how to structure your data in non language-domain terms.
How much easier would be to use directly array,hash ot LoL w/o bothering to do all this conversation details, connection pooling, prepearing statements...etc.
Not to mention the increase in productivity of the programmer and speed that should be possible if a good way to do this is available
What was my surprise to find couple of weeks ago, that there is such thing available now ? not for perl thought ;( !!
What are your opinions for similar thing for perl ?
For erlang :
http://www.bluishcoder.co.nz/2005/11/mnesia.html
For Java and C#
http://www.db4o.com/about/productinformation/
PS> another advantage of mnesia is that erlang allow cheaper concurrency, unparalleled by most of the today languages. And with the boom of multi-core processors today !!
Concurency and Mnesia would be my favorite features for inclusions in Perl6 ;))
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, details, 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, summary, 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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.