Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Code Smackdown - Erlang version of the CodeSmackdown - source for the Erlang Web Development series

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 Reeves authored May 30, 2013
Octocat-spinner-32 apps
Octocat-spinner-32 priv First stage of comment support January 07, 2013
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml hg->git migration, refresh of config/settings, travis-ci February 11, 2012
Octocat-spinner-32 Makefile Pagination and map/reduce count fix May 30, 2013
Octocat-spinner-32 readme.markdown
Octocat-spinner-32 rebar Added new rebar August 13, 2011
Octocat-spinner-32 rebar.config Finished bringing Part 3 of the series up to date. April 04, 2011

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.