[STATUS] SQL-mapping is working in progress
Created by: NalaGinrut
I decided to drop out ORM, and picked up SQL-mapping for efficient DB accessing. ORM is not so nice for newbies, and even for veteran it's bad.
SQL-mapping provided an intuitive way to organize your code to access DB. The caveat is that users have to learn little knowledge of SQL. But if you're trying to built a bigger site, the programmers never take care of SQL, just leave it to DBA or someone who's familiar with DB than you but know little about programming (what?! you don't have such guy in your team and you want to build a bigger site?!). With SQL-mapping, one can tune the SQL carefully without interfering by program.
Here is the branch: https://github.com/NalaGinrut/artanis/tree/wip-sql-mapping
And there would be a new feature to handle things relative to the URL rule:
(get "/get/:id" #:sql-mapping "select * from my-table where id=${:id}"
(lambda (rc)
(:sql-mapping rc #:id 123)))
Anyway, it's under construction, everything happens...