Re:V8 Engine in PostgreSQL
by willvarfar on Friday February 24, 2012 @03:01PM
(#3630754)
http://williamedwardscoder.tumblr.com/post/18065079081/cogs-...
"The controversy over Node is that it implies developers from the client are piercing into the server. A domain typically full of people that came up from the OS layer. Those people are asking does it really make sense to write servers in a historically client language? (One that as you mention is inherently far slower than historical server languages). People who only know or love that client language have been given a whole new freedom and ability - surely their answer is yes. Why wouldn't it be?"
Very well put. And now they can put logic in the DB too. Bravo!
Not sure why you're being downvoted. Though as one of those "data guys" I have actually received my own fair share of the reverse criticism. How could I, as a data monkey, be able to write anything close to clean, sensible code?
What about a DBA who used to write client side code? What about a developer who is putting proof-of-concept stuff in a dev environment?
As you said, this just adds JS as yet another language to write stored procedures for PostgreSQL. There's no real need to disparage choice.
I don't see why one would code DB procedures in JS though. Are there really many cases where a dba/designer's best known and favorite lang is JS? I doubt that.