
Web Development with Clojure
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Today, developers are increasingly adopting Clojure as a web-development platform. See for yourself what makes Clojure so desirable, as you create a series of web apps of growing complexity, exploring the full process of web development using a modern functional language. This fully updated third edition reveals the changes in the rapidly evolving Clojure ecosystem and provides a practical, complete walkthrough of the Clojure web-stack.
Stop developing web apps with yesterday''s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See for yourself what makes Clojure so desirable, as you work hands-on with Clojure and build a series of web apps of increasing size and scope, culminating in a professional grade web app using all the techniques you''ve learned along the way.
This fully updated third edition will get you up to speed on the changes in the rapidly evolving Clojure ecosystem - the many new libraries, tools, and best practices. Build a fully featured SPA app with re-frame, a popular front-end framework for ClojureScript supporting a functional style MVC approach for managing the UI state in Single-Page Application-style applications. Gain expertise in the powerful Ring stack using the Luminus framework. Learn how Clojure works with databases and speeds development of RESTful services. See why ClojureScript is rapidly becoming a popular front-end platform, and use ClojureScript with the popular re-frame library to build single-page applications.
Whether you''re already familiar with Clojure or completely new to the language, you''ll be able to write web applications with Clojure at a professional level.
More details
Other editions
Additional editions

Persons
Dmitri Sotnikov is a passionate Clojure developer who enjoys building web applications. He has developed a number of popular Clojure libraries and is the author of the Luminus micro-framework.
Content
- Cover
- Table of Contents
- Acknowledgments
- Introduction
- What You Need
- Why Clojure?
- Why Make Web Apps in Clojure?
- How to Read This Book
- 1. Getting Your Feet Wet
- Set Up Your Environment
- Managing Projects with Leiningen
- Build Your First Web App
- Refine Your App
- What You've Learned
- 2. Luminus Web Stack
- Route Requests with Ring
- Extend Ring
- Define the Routes with Reitit
- HTML Templating Using Selmer
- What You've Learned
- 3. Luminus Architecture
- Manage the Project
- Think in Terms of Application Components
- Managing Stateful Components
- What You've Learned
- 4. Introducing ClojureScript
- Understand ClojureScript
- Add ClojureScript Support
- Build the UI with Reagent
- Managing State with Re-Frame
- What You've Learned
- 5. Setting Up for Success
- Services
- ClojureScript Development Tools
- Embracing Re-Frame
- Multi-User with WebSockets
- Upgrading to Sente
- Events and Effects in Re-Frame
- What You've Learned
- 6. Planning Our Application
- What's in Our MVP?
- The Elephant in the Room
- Data Modeling
- Adding User Management
- What You've Learned
- 7. Account Management
- Authorship
- Add Author's Posts Page
- Account Customization
- Account Settings
- What You've Learned
- 8. Social Interaction
- Improving Posts
- Curating Posts
- What You've Learned
- 9. Deployment
- Unit Tests
- Package the Application
- What You've Learned
- 10. Exercises
- How to Read This Chapter
- Code Quality
- Feature Enhancements
- What You've Learned
- A1. Clojure Primer
- A Functional Perspective
- Data Types
- Using Functions
- Anonymous Functions
- Named Functions
- Higher-Order Functions
- Closures
- Threading Expressions
- Being Lazy
- Structuring the Code
- Destructuring Data
- Namespaces
- Dynamic Variables
- Polymorphism
- What About Global State?
- Writing Code That Writes Code for You
- The Read-Evaluate-Print Loop
- Calling Out to Java
- Calling Methods
- Reader Conditionals
- Summary
- A2. Editor Configuration
- Why Is Editor Integration So Important?
- General Configuration Tips
- VSCode + Calva
- IntelliJ IDEA + Cursive
- Emacs + Cider
- Vim
- A3. Working with EDN and Transit
- EDN
- Transit
- A4. Database Access
- Work with Relational Databases
- Use HugSQL
- Generate Reports
- What You've Learned
- A5. Writing RESTful Web Services with Liberator
- Using Liberator
- Defining Resources
- Putting It All Together
- A6. Leiningen Templates
- What's in a Template
- Index
- - SYMBOLS -
- - DIGITS -
- - A -
- - B -
- - C -
- - D -
- - E -
- - F -
- - G -
- - H -
- - I -
- - J -
- - K -
- - L -
- - M -
- - N -
- - O -
- - P -
- - Q -
- - R -
- - S -
- - T -
- - U -
- - V -
- - W -
- - X -
- - Y -
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.