Title Statements
- Full title :Clojure Web Development Essentials / Ryan Baldwin.
Summary
Functional programming enables developers to create and deploy applications quickly and easily. Using the Clojure programming language and the Leiningen build tool, this book teaches you how to leverage various Clojure libraries into the building blocks of a web-based application. We'll start by generating a new, fully runnable, baseline web application using the Leiningen Luminus template. From there we'll examine the different pieces that compose our application, and learn the basics of the underlying Ring framework. Subsequent chapters will focus on each technology and leverage those technologies to build additional functionality into our application. You'll learn how to validate user submitted data, authentication, account creation, how to interact with a database, and more. Finally, we'll create an environment configuration and deploy our app. By the end of this book you'll have created a full fledged application from start to finish, and you'll have the requisiteskills to develop an efficient and robust web application.
Read More ↓Edition Statements
- Publication Date:2015.
Publication Statements
- Publisher(s):Packt Publishing
- Place of Publication:Birmingham, England
- Language:eng
- Publication Date:2015.
The Physical Object
- Description:1 ressource en ligne (232 pages)
Edition Identifiers
- ISBN:9781784392222, 1784392227
- oclc:on1026600046
- LC Classification:T55.4-60.8
- Dewey Decimal:005.133
Table of Contents
""Cover""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewers""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: Getting Started with Luminus""; ""Leiningen""; ""Using Leiningen""; ""Generating the application""; ""Getting help""; ""Dependencies of the app""; ""Luminus file structure""; ""util.clj""; ""session_manager.clj""; ""layout.clj""; ""middleware.clj""; ""routes/home.clj""; ""handler.clj""; ""repl.clj""; ""Summary""; ""Chapter 2: Ring and the Ring Server""; ""Understanding Ring in Clojure""; ""Requestmaps""; ""Response maps""; ""Handlers""
""Chapter 5: Handling Form Input""""Handling the form POST""; ""Validating the form POST""; ""The noir.validation namespace""; ""The Validateur library""; ""Adding the Validateur dependency""; ""Creating the user validation namespace""; ""Validating required fields""; ""Validating the format""; ""Validating length of values""; ""Validation predicates""; ""Making reusable validators""; ""Reporting errors to the user""; ""Summary""; ""Chapter 6: Testing in Clojure""; ""The necessity of testing""; ""Anatomy of a test"";""Writing and running our first test""; ""Running tests""
""Middleware""""Adap…
Rate & Review