Re:Meteor Raises $20M to Build the One JavaScript Stack to R...
by twerquie on Friday June 12, 2015 @10:19AM
(#9706010)
But you can't have clients directly connecting to the database, their sockets still need to flow through an application layer where you have your business / application logic. Unless you start putting application logic into the db?
[ Parent
| on HN ]
Re:Meteor Raises $20M to Build the One JavaScript Stack to R...
by enos_feedler on Friday June 12, 2015 @10:52AM
(#9706236)
Your right about this. Couchbase solves it by putting a sync gateway in front of a couchdb connection. But this makes things hard to manage for the reason you mention: business logic inside your DB. All your rules about access control and users are actually derived from values in your couchdb documents. Its not pleasant to design or maintain.
Re:Meteor Raises $20M to Build the One JavaScript Stack to R...
by zippy786 on Friday June 12, 2015 @10:37AM
(#9706130)
Shouldn't business logic reside in DB inside stored procedures ?
Re:Meteor Raises $20M to Build the One JavaScript Stack to R...
by cristianpascu on Friday June 12, 2015 @10:50AM
(#9706212)
Only if DB runs JS. ;)
Re:Meteor Raises $20M to Build the One JavaScript Stack to R...
by jmakeig on Tuesday June 16, 2015 @02:21AM
(#9724098)
http://developer.marklogic.com/features/javascript
(Full disclosure: I work at MarkLogic)