Skip to content
Brenton Ashworth edited this page Jul 3, 2013 · 39 revisions

Pedestal Application Tutorial

In this tutorial we will build an interesting Pedestal application together. During this process you will be exposed to all of the major Pedestal concepts in the context of solving some (almost) real problems. This will help you to see not only how things work, but why they work the way they do.

By the end of Part 2 of this tutorial, you will have created a interactive game and learned how to wield Pedestal in your own projects. We also hope that you will know enough about how Pedestal works and what its goals are so that you can give useful feedback and contribute to the project.

Each section of the tutorial will describe a few key concepts of Pedestal while making a small improvement to the application. Part 1 will start very slow with small code changes and lots of explanation. Each section of Part 2 will contain more code and move a lot faster.

To get the most out of this tutorial, you must follow along. The finished code for each section is tagged, so if you don't want to go through the whole thing, checkout the tag for the previous section before starting work on a section.

Some sections of the tutorial are marked Designer and Back-end. If you are interested in all of Pedestal then go through each section. If you don't care about making templates, skip the Designer sections. If you don't care about back-end development then skip the Back-end section. Just remember, each section builds on code from the previous section, so if you skip one, make sure to checkout the tag for the last section you skipped before continuing.

Part 1

Build a very simple application while learning the basics of Pedestal.

Part 2

Transform the application created in Part 1 into an interactive game while learning advanced Pedestal concepts.

Other Topics

Future Tutorials

  • Describe what is included in the generated files
  • Starting from scratch - show how to get started without using the generated files
  • Using Pedestal with lein cljs-build

Clone this wiki locally