5 ms·
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 / app
by twerquie 11y ago
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?
- deleted 11y ago[deleted]
- zippy786 11y agoShouldn't business logic reside in DB inside stored procedures ?
- cristianpascu 11y agoOnly if DB runs JS. ;)
- jmakeig 11y agohttp://developer.marklogic.com/features/javascript http://developer.marklogic.com/features/javascript (Full disclosure: I work at MarkLogic)
- enos_feedler 11y agoYour 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.