4 ms·
> Frameworks are mostly necessary on the backend. Often not even there! If you use something like BaseX[1] or eXist-db[2], both XML database and XQuery[3] imp
by zmix 5y ago
> Frameworks are mostly necessary on the backend.
Often not even there!
If you use something like BaseX[1] or eXist-db[2], both XML database and XQuery[3] implementations (they also have ways to act as SQL clients), you get REST-, user-, and database-management as native part of the programming language (XQuery).
For REST it must implement the RESTXQ[4] module standard, which both the named products do. Since XQuery understands XML natively, you get full templating, database queries, REST routing and much more.
[1] https://basex.org https://basex.org
[2] https://exist-db.org https://exist-db.org
[3] https://en.wikipedia.org/wiki/XQuery https://en.wikipedia.org/wiki/XQuery
[4] https://www.google.com/search?q=restxq https://www.google.com/search?q=restxq
- dotancohen 5y agoThis sounds like giving the client direct access to the database. Sounds like a great way to facilitate data exfiltration attacks.