Building Web Applications with Clojure [Video]

Tomek Lipski

Building Web Applications with Clojure [Video]
Downloadable video: $39.99
$33.99
save 15%!

Packt Video. Stream online or download for unrestricted offline use. Learn more

Overview
Course Contents
The Author
Sample Clip
Support
  • New! Packt Video courses: practical screencast-based tutorials that show you how to get the job done. Bite sized chunks, hands on instructions, and powerful results
  • Work with popular Clojure libraries and frameworks such as Ring and Clojurescript
  • Play with the most popular design patterns to build highly concurrent web applications
  • Enhance your general Clojure knowledge through easy-to-grasp examples

Video Details

Language : English
Release Date : Friday, April 25, 2014
Course Length : 1 hour 43 minutes
ISBN : 1783286156
ISBN 13 : 9781783286157
Author(s) : Tomek Lipski
Topics and Technologies : Application Development, Video, Open Source

Table of Contents

  1. Getting Started [14:49 minutes]
    • Project Setup
    • Lein-Ring Plugin
    • Simple Ring Handler
    • Running the Ring Server
    • Building Web Application Packages

  2. Ring Handlers [15:14 minutes]
    • Ring Handler Anatomy
    • Request Map
    • Response Map
    • Routing
    • The Not Found Error and Error Handling

  3. Middleware [14:28 minutes]
    • Introduction
    • Middleware Example
    • Altering Requests and Responses
    • Using Existing Middleware

  4. Forms and Session Handling [17:03 minutes]
    • Form Handling
    • Generating HTML Content
    • Manipulating Cookies
    • Ring Sessions

  5. Building RESTful APIs [15:56 minutes]
    • APIs – Introduction and Routing
    • An Example RESTful API
    • Handling Errors in REST APIs

  6. Database Connectivity [12:13 minutes]
    • Connecting to PostgreSQL
    • Using Korma
    • Connecting to MongoDB

  7. ClojureScript [13:14 minutes]
    • Introduction to ClojureScript
    • Manipulating the DOM Tree with ClojureScript
    • Accessing REST APIs from ClojureScript

  8. Useful Web Libraries in Clojure [16:04 minutes]
    • Routing with Compojure
    • HTML Generation with Hiccup
    • HTML Templating with Enlive
    • REST APIs with Liberator

Tomek Lipski

Tomek Lipski is an experienced programmer and open source enthusiast. He's been building and designing the architecture of web applications for seventeen years. He works with Clojure full-time. Tomek has also released a Ganelon Open Source microframework, which eases the development of AJAX web applications in Clojure.

You can follow @tomeklipski on twitter or check out his blog at http://blog.tomeklipski.com.

Sorry, we don't have any reviews for this video yet.

Sorry, there are currently no downloads available for this video.

Code Downloads

Download the code and support files for this video.


Support, complaints and feedback.

Packt is committed to making Packt Video courses a valuable, useful way for IT professionals to learn new skills. We have made every effort to ensure that this course reaches the required standard and will work on our customer's devices. Please go to our support page.

What you will learn from this video course

  • Configure a project and see how to start the web development server
  • Understand how Ring handlers work and implement simple routing mechanisms
  • Grasp the intricacies of the middleware to implement it in your own way
  • Discover how to handle forms, cookies, and sessions in one go
  • Get acquainted with the REST API architecture in Clojure and build a sample application
  • Manipulate queries easily with SQL Korma
  • Set up routing with Compojure and HTML generation with Hiccup
  • Find out how to build REST APIs with Liberator and learn templating with Enlive

Who this video course is for

If you are a Java programmer and you want to gain expertise in web application development and would like to begin the journey with Clojure, then this course is perfect for you. For all those of you who already know Clojure, this video will help you sharpen your skills.

In Detail

Web application development has never been as simple and powerful as it will be with Clojure. It runs on both Java Virtual Machine and JavaScript, providing a robust and dynamic programming environment. Clojure brings the code-as-data functionality of Lisp with it and caters to the need of fast-paced coding while making front end-coding easy and viable.

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.

Screenshots from the course

A Simple Handler

Using the Existing Middleware

Manipulating Cookies

Connecting to MongoDB

The Enlive Template In Action

Approach

Packt video courses are designed to cover the breadth of the topic in short, hands-on, task-based videos. Each course is divided into short manageable sections, so you can watch the whole thing or jump to the bit you need. The focus is on practical instructions and screencasts showing you how to get the job done.

A concise video tutorial that guides viewers through live web application development, brushing up on the theoretical concepts along the way, giving the viewers just enough time to take it all in. 

Check out the Author's Github Page here to get more insight into the course.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software