Etudes for ClojureScript : companion exercises for introducing ClojureScript /
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 processi...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly Media,
2015, ©2016.
©2016 |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Copyright; Table of Contents; Preface; What's an Étude?; What Are Études for ClojureScript?; Acknowledgments; Chapter 1. Functions and Variables; Étude 1-1: Defining a Function in the REPL; Étude 1-2: Defining Functions in a Source File; Étude 1-3: Using def; Étude 1-4: Using let; Étude 1-5: More Practice with def and let; Chapter 2. Interacting with JavaScript and Web Pages; Étude 2-1: Direct Use of JavaScript; Invoking Methods; Accessing Properties; Creating JavaScript Objects; Listening for Events; Étude 2-2: Using Google Closure; Putting Google Closure into Your Project.
- Using Google Closure to Access the DOMUsing Google Closure to Handle Events; Étude 2-3: Using dommy; Putting dommy into Your Project; Using dommy to Access the DOM; Using dommy to Handle Events; Étude 2-4: Using Domina; Putting Domina into Your Project; Using Domina to Access the DOM; Using Domina to Handle Events; Étude 2-5: Using Enfocus; Putting Enfocus into Your Project; Using Enfocus to Access the DOM; Using Enfocus to Handle Events; Chapter 3. Lists, Vectors, and Higher-Order Functions; Étude 3-1: Move the Zeros; Étude 3-2: More List Manipulation; Étude 3-3: Basic Statistics.
- Étude 3-4: Basic Statistics in a Web PageÉtude 3-5: Dental Hygiene; Étude 3-6: Random Numbers-Generating a Vector of Vectors; Étude 3-7: Monthly Daylight; Chapter 4. Maps; Étude 4-1: Condiments; Parsing XML; Command-line Arguments; Mutually Recursive Functions; Étude 4-2: Condiment Server; Setting Up Express; Generating HTML from ClojureScript; Putting the Étude Together; Étude 4-3: Maps-Frequency Table; Reading the CSV File; Étude 4-4: Complex Maps-Cross-Tabulation; Étude 4-5: Cross-Tabulation Server; Chapter 5. Programming with React; Étude 5-1: Reactive Programming with Quiescent; Hints.
- Étude 5-2: Reactive Programming with ReagentHints; Chapter 6. Interlude: Room Usage Project; Étude 6-1: Build the Data Structure; Étude 6-2: Visualizing the Data (Version 1); Étude 6-3: Visualizing the Data (Version 2); Chapter 7. Records and Protocols; Étude 7-1: Rational Numbers; Étude 7-2: Complex Numbers; Étude 7-3: Writing Tests; Chapter 8. Asynchronous Processing; Étude 8-1: A Card Game; The Art of War; War: What Is It Good For?; Pay Now or Pay Later; The Design; Messages Are Asynchronous; Representing the Deck; Appendix A. Solutions; Solution 1-2; Solution 1-3; Solution 1-4.
- Solution 1-5Solution 2-1; Solution 2-2; Solution 2-3; Solution 2-4; Solution 2-5; Solution 3-1; Solution 3-2; Solution 3-3; Solution 3-4; Solution 3-5; Solution 3-6; Solution 3-7; Solution 4-1; Solution 4-2A; Solution 4-2B; Solution 4-3; ; ; ; Solution 4-4; Solution 4-5; Solution 5-1; Solution 5-2; Solution 6-1; File building_usage/src/roster.cljs; File building_usage/src/utils.cljs; Solution 6-2; File core.cljs; File index.html; Solution 6-3; File core.cljs; File index.html; Solution 7-1; Solution 7-2; Solution 7-3; Sample core.async Program 1; Sample core.async Program 2; Solution 8-1.