This video course starts with a simple project setup and moves on to the various means to use frameworks or libraries, such as Ring and ClojureScript, leading the way to complex web solutions in Clojure. You will be presented with ways to connect to popular databases, such as PostgreSQL or MongoDB, and learn how some existing libraries work and how to use them properly. Thereon you will move to writing single-page applications with ClojureScript and REST API.
When you're finished with Building Web applications with Clojure, you'll be able to build and diagnose complex web systems in Clojure—regardless of the particular technologies applied.
Configuring projects correctly for development is essential in every programming language. The use of Lein and Ring in web development under Clojure allows the developer to focus on the actual code.
The Lein-ring plugin simplifies a lot of common web development tasks when programming in Clojure. In this video, we will see how to connect it to a project and configure its settings.
Knowing about Ring handlers is very important when it comes to writing web applications in Clojure. If the programmer understands what it does and how it works, all other Ring concepts become clear and understandable.
The Ring server (based on the Jetty adapter) allows the developer to quickly run the written Clojure web app. In addition, we will also see how the Ring server speeds up the development cycle with dynamic Clojure namespace reloading.
How the Ring handler works and how it is just like any other Clojure function.
How to work with Ring handler request map.
How to dispatch Ring requests to different handler functions.
Learn how route functions can be composed to streamline common tasks.
An overview of the common mechanisms for Clojure web apps as reusable components.
Rewrite a handler that provides a common mechanism to work as a middleware.
Modify Ring request and response maps to provide additional features.
Modify the handler configuration to use the Ring file that serves as middleware.
Apply the correct middleware to access form data in Ring web applications.
Build dynamic responses from Ring handlers.
Use Ring middleware to send cookies to a browser and read received cookies.
Use Ring middleware to manage sessions in Clojure web applications.
Clojure/Ring can be used to provide RESTful APIs as well as standard web applications.
Handle errors in an API in a way that is understandable to other applications.
How to access the PostgreSQL database from a Clojure/Ring web application.
Connecting a Clojure web application to a MongoDB NoSQL database.
Communicate with the backend from ClojureScript level.
Use Hiccup for dynamic HTML generation in Clojure.
Use Enlive to separate HTML templates from Clojure code.
Use Liberator to provide REST APIs with little effort.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.