Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Clojure Web Development Essentials

You're reading from   Clojure Web Development Essentials Develop your own web application with the effective use of the Clojure programming language

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784392222
Length 232 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ryan Baldwin Ryan Baldwin
Author Profile Icon Ryan Baldwin
Ryan Baldwin
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with Luminus 2. Ring and the Ring Server FREE CHAPTER 3. Logging 4. URL Routing and Template Rendering 5. Handling Form Input 6. Testing in Clojure 7. Getting Started with the Database 8. Reading Data from the Database 9. Database Transactions 10. Sessions and Cookies 11. Environment Configuration and Deployment A. Using Korma – a Clojure DSL for SQL Index

Chapter 1. Getting Started with Luminus

Ah, getting started! This chapter introduces you to the foundations of Clojure web development using Luminus, a popular web application template for Leiningen. In this chapter, you will:

  • Generate a new web application using the Luminus Leiningen template
  • Get an introduction to the popular libraries, which Luminus uses to handle the various aspects of a web application, and what those libraries do
  • Get an overview of the directory structure generated by Luminus
  • Learn how to fire up the web application on your development machine

In this chapter, we'll create a new web application called hipstr, an application that will help us track our vinyl collection and endow us with obscure credibility. We'll build this application with each subsequent chapter by creating our own route handlers, interacting with a database, authenticating users, validating form input, and reading/writing cookies. By the end of this book, we'll know the Clojure web basics well enough that we'll be wearing plaid shirts and sipping bourbon aged in casks from a place nobody's ever heard of.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image