Nicht aus der Schweiz? Besuchen Sie lehmanns.de
ClojureScript: Up and Running - Stuart Sierra, Luke VanderHart

ClojureScript: Up and Running

Buch | Softcover
116 Seiten
2012
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-2743-9 (ISBN)
CHF 25,10 inkl. MwSt
Zu diesem Artikel existiert eine Nachauflage
Learn how to build complete client-side applications with ClojureScript, the Clojure language variant that compiles to optimized JavaScript. With this hands-on introduction, you'll quickly discover that ClojureScript has the same reach as JavaScript, but with more power.
Learn how to build complete client-side applications with ClojureScript, the Clojure language variant that compiles to optimized JavaScript. This hands-on introduction shows you how ClojureScript not only has similarities to JavaScript - without the flaws - but also supports the full semantics of its parent language. You'll delve into ClojureScript's immutable data structures, lazy sequences, first-class functions, macros, and support for JavaScript libraries. No previous experience with Clojure or ClojureScript is necessary. If you're familiar with JavaScript, HTML, CSS, and the DOM, you'll quickly discover that ClojureScript has the same reach as JavaScript, but with more power.
  • Start writing ClojureScript code with the Leiningen build system
  • Learn how the ClojureScript compiler works to produce optimized JavaScript
  • Use JavaScript functions and libraries directly from ClojureScript code
  • Explore functions in Clojure’s sequence library such as map, reduce, and filter
  • Use macros to define new control structures or embed domain-specific languages
  • Compile manually or script your own workflow with ClojureScript’s compiler tools
  • Integrate ClojureScript with Clojure on the JVM to build powerful client-server applications

Stuart Sierra is a Clojure/ClojureScript developer, a member of Clojure/core, and a co-author of Practical Clojure (Apress, 2010). Stuart lives in New York City. Luke VanderHart is a Clojure/ClojureScript developer, a member of Clojure/core, and a co-author of Practical Clojure (Apress, 2010). Luke lives in Maryland.

Chapter 1 Introduction: Why ClojureScript?
The Rise of Browser Applications
The Rise of JavaScript
The Need for a Better Language
Introducing ClojureScript
Chapter 2 Hello World
Leiningen
Using lein-cljsbuild
Chapter 3 The Compilation Process
Architecture
How to Compile
Compilation in Depth
Summary
Chapter 4 ClojureScript Basics
ClojureScript versus Clojure
Expressions and Side Effects
Syntax and Data Structures
Special Forms and Definitions
Functions
Local Bindings
Closures
Flow Control
JavaScript Interop
Summary
Chapter 5 Data and State
Primitives
Data Structures
Identity and State
Chapter 6 Sequences
The Sequence Abstraction
Lazy Sequences
The Sequence API
Chapter 7 Namespaces, Libraries, and Google Closure
Namespaces
Advanced Compilation Mode
Consuming Libraries
Creating Libraries
Chapter 8 Macros
Code as Data
Writing Macros
Using Macros
When to Write Macros
Summary
Chapter 9 Development Process and Workflow
Installing ClojureScript
The Built-In Tools
The Browser REPL
Additional lein-cljsbuild Features
Chapter 10 Integration with Clojure
AJAX
The Reader and Printer
Example Client-Server Application
Extending the Reader
Sharing Code
Summary
Appendix Libraries
ClojureScript’s Standard Library
Google Closure Library
Domina
Enfocus
Jayq
C2
core.logic

Erscheint lt. Verlag 4.12.2012
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 200 g
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Web / Internet JavaScript
ISBN-10 1-4493-2743-5 / 1449327435
ISBN-13 978-1-4493-2743-9 / 9781449327439
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Web-Programmierung leicht gemacht

von Thomas Theis

Buch | Softcover (2024)
Rheinwerk (Verlag)
CHF 41,85
Das umfassende Handbuch

von Philip Ackermann

Buch | Hardcover (2021)
Rheinwerk (Verlag)
CHF 69,85