Learning ClojureScript

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

Learning ClojureScript

W. David Jarvis, Rafik Naccache, Allen Rohner

1 customer reviews
Master the art of agile single page web application development with ClojureScript
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning ClojureScript Book Cover
Learning ClojureScript
$ 31.99
$ 22.40
From 0 to 1: Machine Learning, NLP & Python-Cut to the Chase [Video] Book Cover
From 0 to 1: Machine Learning, NLP & Python-Cut to the Chase [Video]
$ 32.99
$ 28.05
Buy 2 for $35.00
Save $29.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

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 1 reviews

Read More Reviews

Recommended for You

Clojure Reactive Programming Book Cover
Clojure Reactive Programming
$ 35.99
$ 25.20
Mastering Clojure Data Analysis Book Cover
Mastering Clojure Data Analysis
$ 35.99
$ 25.20
Clojure Data Analysis Cookbook - Second Edition Book Cover
Clojure Data Analysis Cookbook - Second Edition
$ 32.99
$ 23.10
Clojure for Machine Learning Book Cover
Clojure for Machine Learning
$ 29.99
$ 21.00
Clojure Data Structures and Algorithms Cookbook Book Cover
Clojure Data Structures and Algorithms Cookbook
$ 39.99
$ 28.00
Clojure for Data Science Book Cover
Clojure for Data Science
$ 35.99
$ 25.20