compojure
java.jdbc
compojure | java.jdbc | |
---|---|---|
2 | 2 | |
4,062 | 712 | |
- | -0.1% | |
5.1 | 4.5 | |
3 months ago | about 1 month ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
compojure
- Como desenvolvi um backend web em Clojure
-
Rich Hickey – open-source is Not About You
If you're not familiar with lisps in general, it might be hard to grok the differences between lisp-macros (as used in Clojure) and "normal" macros you see in other languages.
But, if you are familiar already, and just wanna see examples of neat macros that makes the API nicer than what a function could provide, here are a few:
- https://github.com/clojure/core.async/blob/master/examples/w...
- https://github.com/weavejester/compojure
- https://github.com/ptaoussanis/timbre
- https://github.com/krisajenkins/yesql
java.jdbc
-
Como desenvolvi um backend web em Clojure
Para processá-la de fato, é necessário chamar a função jdbc/with-db-connection da biblioteca clojure.java.jdbc, passando a query que deseja executar como parâmetro. Antes disso, claro, precisa configurar usuário, senha e endereço do banco, além do pool de conexões. Mas isso já foge do escopo deste artigo.
-
Calva: Failed to connecting REPL: "Connect to a running REPL not in your project" ask me for a port. cant find anything about what that means (im a beginner)
clojure.java.jdbc is a library (which is here), so if you want to use it you have to include [org.clojure/java.jdbc "0.7.12"] in the :dependencies of the project.clj file.
What are some alternatives?
yesql - A Clojure library for using SQL.
clj-http - An idiomatic clojure http client wrapping the apache client. Officially supported version.
git-of-theseus - Analyze how a Git repo grows over time
chime - A really lightweight Clojure scheduler
next-jdbc - A modern low-level Clojure wrapper for JDBC-based access to databases.
lein-ancient - Check your Projects for outdated Dependencies
timbre - Pure Clojure/Script logging library
ring-mock - Library to create mock Ring requests for unit tests
http-cron - Service / Clojure library to POST to HTTP endpoints at regular intervals
elm-ui - What if you never had to write CSS again?