Slashdot Mirror


New Opa S4 Release Puts Forward New 'ORM' For MongoDB

phy_si_kal writes "The new, open source, Opa web programming language just hit version 0.9.0 'S4,' six months after its last major release. Apart from a new syntax more similar to JavaScript, the new release focuses on mongoDB integration. Opa now features something similar to object-relational mapping (ORM) except that mongoDB is a non-relational, document-oriented database and Opa a functional, non-object-oriented language. The new functionality makes the NoSQL database even easier to use, as all language-database calls are automated. The mapping of functional datastructures to documents could even be much better than current ORM approaches and solve the object-relational impedance mismatch."

3 of 29 comments (clear)

  1. Mongo stay with Sherrif Bart by NoNonAlphaCharsHere · · Score: 3, Funny

    Sherrif Bart first man ever to whip Mongo. Mongo impressed.

  2. When programming tools and databases meet.. by SixDimensionalArray · · Score: 2

    ...interesting things happen. I have always felt that the object-relational impedance mismatch was a mental block holding back the redevelopment of something we actually used to have (integrated programming tool/database platforms - look at things like D3, Cache/MUMPS for example).

    Now, we know we can separate the representation of data in a database from the data itself, but the two can look identical, with a middleware as the go-between between the programming tools and the database. Or they can co-habit.

    It doesn't matter what you call it, but I like it.

    My dream environment = perfect representation of data in flexible/dynamic objects in a programming language, disconnected or connected to databases with nearly identical, flexible and dynamic data model representation, with a powerful query language (SQL-like), the scalability of the new generation of shared-nothing architectures, simple connectivity options (simple sockets all the way up to REST) and the reliability of a relational database's ACID properties.

    It feels so close!

  3. Just because you have a hammer.. by greywire · · Score: 2

    This is interesting.

    What strikes me though is the stuff about ORM and how this isnt ORM, like its some new fangled way to use a database that nobody did before.

    Here's the thing. You can do this in any language. yes this opa language has some simple syntactic sugar to make it super easy to use a database (as long as its a NoSQL one like mongo). But you can access a database without an ORM layer in any other language too.

    Thing is, with OO languages, people assume you have to do everything with objects. Its there, I gotta use it! Right? I have this lovely hammer and it smashes real good, therefore I will smash screws with it! And I will smash apart wood sheet into sections! Never mind that screwdriver and saw over in the corner.. I have hammer!

    So somebody makes a non-oo language that accesses a database with simple records and everybody thinks its a new and novel thing..

    (don't get me wrong, the language looks interesting, I just think its funny how people look at things and run off half cocked without thinking first)

    --
    -- Senior Software Engineer, Attorney appearance services, locallawyerapp.com.