Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Code Smackdown - Erlang version of the CodeSmackdown - source for the Erlang Web Development series
JavaScript Erlang

Pagination and map/reduce count fix

Enabled pagination on the web UI so that a user can see the full list of snippets that they have submitted in chunks of 10. They are ordered by the date they were submitted using the presort feature of Riak Search.

Fixed up an issue in the map/reduce counter for vote counts which was causing things to crash. Stupid mistake really!
latest commit fc784fddd9
@OJ authored


Code Smackdown (CSD)

Current CSD build status: Build Status

Code Smackdown is a sample application that demonstrates how web development can be done in Erlang using Webmachine, ErlyDTL and Riak. The application is the source code that accompanies the series of Erlang web development tutorials available on OJ's rants.

The code is still in active development, as is the post series that accompanies it. It is not intended to be a definitive guide on how to build production-quality Erlang applications. The goal is to explore how things might be done and to help people learn and get exposure to the nuances of developing applications with these tools.

Feel free to ping me via @TheColonial if you have can comments or suggestions.

Creative Commons LicenseCode Smackdown by OJ Reeves is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Based on a work at

Something went wrong with that request. Please try again.