Learning ClojureScript

Master the art of agile single page web application development with ClojureScript

Learning ClojureScript

Learning
W. David Jarvis, Rafik Naccache, Allen Rohner

2 customer reviews
Master the art of agile single page web application development with ClojureScript
$31.99
$39.99
RRP $31.99
RRP $39.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Preview in Mapt

Book Details

ISBN 139781785887635
Paperback320 pages

Book Description

Clojure is an expressive language that makes it possible to easily tackle complex software development challenges. Its bias toward interactive development has made it a powerful tool, enabling high developer productivity.

In this book, you will first learn how to construct an interactive development experience for ClojureScript.. You will be guided through ClojureScript language concepts, looking at the basics first, then being introduced to advanced concepts such as functional programming or macro writing. After that, we elaborate on the subject of single page web applications, showcasing how to build a simple one, then covering different possible enhancements. We move on to study more advanced ClojureScript concepts, where you will be shown how to address some complex algorithmic cases. Finally, you'll learn about optional type-checking for your programs, how you can write portable code, test it, and put the advanced compilation mode of the Google Closure Compiler to good use.

Table of Contents

Chapter 1: Getting Ready for ClojureScript Development
Getting familiar with the ClojureScript ecosystem
Live coding ClojureScript on top of nREPL with Piggieback and Weasel
Live coding ClojureScript with Figwheel
Setting integrated development environments for ClojureScript
Summary
Chapter 2: ClojureScript Language Fundamentals
Understanding ClojureScript functions
The ClojureScript data structures
Immutability
Advanced destructuring and namespaces
JavaScript interoperability
Summary
Chapter 3: Advanced ClojureScript Concepts
Functional programming concepts
Control flow
Writing macros for ClojureScript
Concurrent design patterns using core.async
Summary
Chapter 4: Web Applications Basics with ClojureScript
Raw DOM manipulation and events handling
Dommy – An idiomatic ClojureScript library for the DOM
Summary
Chapter 5: Building Single Page Applications
Understanding Single Page Appliactions
Understanding Om
Understanding React
Differences between Om and React
Determining the size of a component
Using third-party JS
AJAX
Routing and HTML5 history
Summary
Chapter 6: Building Richer Web Applications
Real-time communication with websockets
Using Datascript
Improving load times
.cljc and server-side rendering
Summary
Chapter 7: Going Further with ClojureScript
Pattern matching with core.match
Runtime data validation using schema
Summary
Chapter 8: Bundling ClojureScript for Production
Testing your application with cljs.test
Advanced ClojureScript compilation options
Deploying Clojure and ClojureScript applications in a Docker container
Summary

What You Will Learn

  • Understand how the ClojureScript compiler operates
  • Set up interactive development workflows for ClojureScript
  • Grasp the basics of the ClojureScript language, including basic syntax, data structures, variable scoping, namespaces, and finally the powerful sequence abstraction
  • Delve into advanced concepts such as functional programming, macro writing, asynchronous programming, app routing, and real-time web
  • Develop simple one page web applications
  • Explore techniques to make your web apps aware of the external world through external or embedded database access or Oauth 2 integration
  • Learn more advanced ClojureScript concepts like in app routing, real-time web
  • Prepare your work for production, getting insights into optional type-checking, writing portable Clojure/ClojureScript code, and testing

Authors

Table of Contents

Chapter 1: Getting Ready for ClojureScript Development
Getting familiar with the ClojureScript ecosystem
Live coding ClojureScript on top of nREPL with Piggieback and Weasel
Live coding ClojureScript with Figwheel
Setting integrated development environments for ClojureScript
Summary
Chapter 2: ClojureScript Language Fundamentals
Understanding ClojureScript functions
The ClojureScript data structures
Immutability
Advanced destructuring and namespaces
JavaScript interoperability
Summary
Chapter 3: Advanced ClojureScript Concepts
Functional programming concepts
Control flow
Writing macros for ClojureScript
Concurrent design patterns using core.async
Summary
Chapter 4: Web Applications Basics with ClojureScript
Raw DOM manipulation and events handling
Dommy – An idiomatic ClojureScript library for the DOM
Summary
Chapter 5: Building Single Page Applications
Understanding Single Page Appliactions
Understanding Om
Understanding React
Differences between Om and React
Determining the size of a component
Using third-party JS
AJAX
Routing and HTML5 history
Summary
Chapter 6: Building Richer Web Applications
Real-time communication with websockets
Using Datascript
Improving load times
.cljc and server-side rendering
Summary
Chapter 7: Going Further with ClojureScript
Pattern matching with core.match
Runtime data validation using schema
Summary
Chapter 8: Bundling ClojureScript for Production
Testing your application with cljs.test
Advanced ClojureScript compilation options
Deploying Clojure and ClojureScript applications in a Docker container
Summary

Book Details

ISBN 139781785887635
Paperback320 pages
Read More
From 2 reviews

Read More Reviews