Book description
Master the art of agile single page web application development with ClojureScript
About This Book
- Set up interactive development workflows for the browser or Node.js thanks to the ClojureScript ecosystem
- Learn the basics of interactive single page web app development taking advantage of the functional nature of ClojureScript
- Delve into advanced rich web application development concepts such as Om, along with core.async, using zippers and logic programming, and preparing code for production with testing or optimizing via the Google Closure Compiler
Who This Book Is For
This book is for web application developers who want to benefit from the power of ClojureScript to get an agile and highly productive development platform that targets mainly browser JavaScript.
You are not required to be fluent in Clojure, but it will be easier for you if you have a basic understanding of browser and server-side JavaScript.
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
In Detail
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.
Style and approach
This book is a comprehensive reference guide on ClojureScript development for the front end, and will gradually help you master interactive ClojureScript development workflows, through detailed step-by-step information illustrated with annotated code samples.
Publisher resources
Table of contents
-
Learning ClojureScript
- Learning ClojureScript
- Credits
- Foreword
- About the Authors
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Getting Ready for ClojureScript Development
- 2. ClojureScript Language Fundamentals
- 3. Advanced ClojureScript Concepts
- 4. Web Applications Basics with ClojureScript
- 5. Building Single Page Applications
- 6. Building Richer Web Applications
-
7. Going Further with ClojureScript
- Pattern matching with core.match
- Runtime data validation using schema
- Summary
- 8. Bundling ClojureScript for Production
Product information
- Title: Learning ClojureScript
- Author(s):
- Release date: June 2016
- Publisher(s): Packt Publishing
- ISBN: 9781785887635
You might also like
video
Learning ClojureScript
In this Learning ClojureScript training course, expert author David Eisenberg teaches you how to write functional …
book
ClojureScript: Up and Running
Learn how to build complete client-side applications with ClojureScript, the Clojure language variant that compiles to …
video
Introduction to Functional Programming Using ClojureScript
Join David Eisenberg, author of the video training course Learning ClojureScript, for an introduction to ClojureScript. …
book
Web Development with Clojure, 2nd Edition
Modern web applications deserve modern tools. Harness the JVM's rich infrastructure while taking advantage of the …