Using Guice Effectively
Just a few tips on using Guice. If you are not familiar with dependency injection this post might make little sense[1]. I hope this will be useful for those of you who are interested in well organized and testable code.
Socko - An Embedded Web Server Written in Scala
Socko is a library that provides a web server which talks Akka with the rest of the application. I am not sure about the lightweight claim on its website, but it certainly delivers on the embedded claim. Just add it as a dependency and create a WebServer. You are not forced to use a special command-line tool. You are not forced to use a specific build tool. This is but important because I am interested in technologies that provide functionality without dominating my architecture.
Mind Your Form
Abstractions allow us to focus on the immediate computation at hand while hiding its details. Organizing code into modules (or packages or classes) is a form of abstraction. So are functions.
This post is about abstracting syntax. Syntactical abstraction can vary between using functions to abstract away common operations and full fledged DSLs that allow us to express complex tasks with ease. This post is about Clojure’s language constructs that simplify forms. It falls somewhere between those two extremes.
Capitalize: Lessons Learned
Capitalize was a small (tiny really) project to practice ClojureScript. I think I have learned enough to justify a blog post. Since ClojureScript is basically Clojure with a few differences I am focusing on tools and libraries.
Announcing Capitalize
Since I am not a native speaker, I find it fascinating that some specific words (of, a, etc… ) are not capitalized in titles. I used to google the rules everytime I was writing a post. I was looking for ideas for a small ClojureScript project for practice I decided to build an online tool for capitalization.
Capitalize properly capitalizes your title and also shows you why each word is capitalized or not. Give it a try and let me know what you think.