Etudes for ClojureScript Front Cover

Etudes for ClojureScript

  • Length: 157 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2015-11-16
  • ISBN-10: B0184Q1RU8
  • Sales Rank: #1383555 (See Top 100 Books)
Description

A short composition that provides practice material for a particular musical skill is called an étude. In this hands-on book, you’ll find more than 30 études to help you practice ClojureScript skills for specific programming areas, ranging from functions and variables to asynchronous processing. Each of these small projects includes a description of a program that you will compose (write) in ClojureScript.

Though not as difficult as their musical counterparts, these programming études will help you stretch beyond the material and examples that you find in most ClojureScript books or online references. One chapter features études for an open-ended project that will help you put together what you’ve learned. Solutions to each étude are revealed in the appendix.

Programming areas include:

  • Working with functions and variables with def and let
  • Interacting with JavaScript and web pages, using several libraries
  • Lists, vectors, and higher-order map, filter, and reduce functions
  • Data mapping with ClojureScript
  • Using different ClojureScript libraries to program with React
  • Adding, subtracting, multiplying, and dividing rational and complex numbers with defprotocol and defrecord
  • Asynchronous processing with core.async

Table of Contents

Chapter 1. Functions and Variables
Chapter 2. Interacting with JavaScript and Web Pages
Chapter 3. Lists, Vectors, and Higher-Order Functions
Chapter 4. Maps
Chapter 5. Programming with React
Chapter 6. Interlude: Room Usage Project
Chapter 7. Records and Protocols
Chapter 8. Asynchronous Processing

Appendix A. Solutions
Appendix B. Setting Up Your ClojureScript Environment
Appendix C. Creating a ClojureScript Project with Leiningen
Appendix D. ClojureScript on the Server

To access the link, solve the captcha.