About This Title

Pages: 468
Published: July 2021
ISBN: 9781680506822
In Print

Skill Level Meter

Web Development with Clojure, Third Edition

Build Large, Maintainable Web Applications Interactively

by Dmitri Sotnikov and Scot Brown

Today, developers are increasingly adopting Clojure as a web-development platform. See for yourself what makes Clojure so desirable as you create a series of web apps of growing complexity, exploring the full process of web development using a modern functional language. This fully updated third edition reveals the changes in the rapidly evolving Clojure ecosystem and provides a practical, complete walkthrough of the Clojure web stack.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $29.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal


Paperback Formats:

Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.


Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See for yourself what makes Clojure so desirable as you work hands-on and build a series of web apps of increasing size and scope, culminating in a professional-grade web app using all the techniques you’ve learned along the way.

This fully updated third edition will get you up to speed on the changes in the rapidly evolving Clojure ecosystem—the many new libraries, tools, and best practices. Build a fully featured SPA app with re-frame, a popular front-end framework for ClojureScript supporting a functional style MVC approach for managing the UI state in single-page application-style applications. Gain expertise in the powerful Ring stack using the Luminus framework. Learn how Clojure works with databases and speeds development of RESTful services. See why ClojureScript is rapidly becoming a popular front-end platform, and use ClojureScript with the popular re-frame library to build single-page applications.

Whether you’re already familiar with Clojure or completely new to the language, you’ll be able to write web applications with Clojure at a professional level.

What You Need

The latest JVM, Clojure 1.9+, the Leiningen build tool, an internet connection, a web browser, and a text editor or IDE such as Emacs, IntelliJ, Atom, VS Code, or VI.

Resources

Releases:

  • P1.0 2021/08/03
  • B17.0 2021/03/12
  • B16.0 2020/12/23
  • B15.0 2020/12/15

Contents & Extracts

  • Introduction
    • What You Need
    • Why Clojure?
    • Why Make Web Apps in Clojure?
  • Getting Your Feet Wet
    • Set Up Your Environment
    • Managing Projects with Leiningen
    • Build Your First Web App
    • Refine Your App excerpt
    • What You’ve Learned
  • Luminus Web Stack
    • Route Requests with Ring
    • Extend Ring
    • Define the Routes with Reitit
    • HTML Templating Using Selmer
    • What You’ve Learned
  • Luminus Architecture
    • Manage the Project
    • Think in Terms of Application Components
    • Managing Stateful Components
    • What You’ve Learned
  • Introducing ClojureScript
    • Understand ClojureScript
    • Add ClojureScript Support
    • Build the UI with Reagent excerpt
    • Managing State with Re-Frame
    • What You’ve Learned
  • Setting Up for Success
    • Services
    • ClojureScript Development Tools
    • Embracing Re-Frame
    • Multi-User with WebSockets excerpt
    • Upgrading to Sente
    • Events and Effects in Re-Frame
    • What You’ve Learned
  • Planning Our Application
    • What’s in Our MVP?
    • The Elephant in the Room
    • Data Modeling
    • Adding User Management
    • What You’ve Learned
  • Account Management
    • Authorship
    • Add Author’s Posts Page
    • Account Customization
    • Account Settings
    • What You’ve Learned
  • Social Interaction
    • Improving Posts
    • Curating Posts
    • What You’ve Learned
  • Deployment
    • Unit Tests
    • Package the Application
    • What You’ve Learned
  • Exercises
    • How to Read This Chapter
    • Code Quality
    • Feature Enhancements
    • What You’ve Learned
  • Clojure Primer
    • A Functional Perspective
    • Data Types
    • Using Functions
    • Anonymous Functions
    • Named Functions
    • Higher-Order Functions
    • Closures
    • Threading Expressions
    • Being Lazy
    • Structuring the Code
    • Destructuring Data
    • Namespaces
    • Dynamic Variables
    • Polymorphism
    • What About Global State?
    • Writing Code That Writes Code for You
    • The Read-Evaluate-Print Loop
    • Calling Out to Java
    • Calling Methods
    • Reader Conditionals
    • Summary
  • Editor Configuration
    • Why Is Editor Integration So Important?
    • General Configuration Tips
    • VSCode + Calva
    • IntelliJ IDEA + Cursive
    • Emacs + Cider
    • Vim
  • Working with EDN and Transit
    • EDN
    • Transit
  • Database Access
    • Work with Relational Databases
    • Use HugSQL
    • Generate Reports
    • What You’ve Learned
  • Writing RESTful Web Services with Liberator
    • Using Liberator
    • Defining Resources
    • Putting It All Together
  • Leiningen Templates
    • What’s in a Template

Author

Dmitri Sotnikov is a passionate Clojure developer who enjoys building web applications. He has developed a number of popular Clojure libraries and is the author of the Luminus micro-framework.

Scot Brown is an enthusiastic web developer with a passion for functional programming and open source software.

eBook Formats:

  • PDF for desktop/tablets

  • epub for Apple Books, e-readers

  • mobi for Kindle readers

Get all eBook formats here for $29.95 (USD)

Add to Cart we accept visa, mastercard, amex, discover, paypal


Paperback Formats:

Please support indie bookstores!
Find indie bookstores in the U.S. Find indie bookstores around the world.

Related Titles:

Skill Level Meter

About This Title

Pages: 468
Published: July 2021
ISBN: 9781680506822
Edition: 1
In Print