Practical.li
Introduction
Theory: Clojure Overview
Theory: WebApps in Clojure
Setup
Create a Project
Update Project details
Code so far
Create a webserver with Ring
Add Ring Dependency
Configure main namespace
Theory: namespaces
Include Ring Library
Add a Jetty webserver
Theory: Coersing Types & java.lang
Run webserver
Code so far
Theory: Introducing Ring
Create a handler function
Add error for bad routes
Theory: if function
Theory: maps and keywords
Code so far
Theory: Persistent Data Structures
Theory: Lists
Theory: Maps
Theory: Vectors
Theory: Sets
Middleware in Ring
wrap-reload
Test your code reloads
Code so far
Compojure
Adding dependency
Compojure defroutes
Using Compojure
Adding goodbye route
About route
Show request info
Variable Path Elements
Lisp Calculator
Code so far
Deploying to Heroku
Update the project
Add Procfile
Deploy to Heroku
Code so far
Hiccup HTML library
Updating handlers with hiccup
Create a new handler
Code so far
Refactor namespace
Base routes
Play routes
Task routes
Refactored Core
Code so far
Postgres Database
Postgres install
Environment Variables
Postgres CLI
pgAdmin
Dataclips
Connect to Postgres
Add Database Dependencies
Define Database Connection
Creating a database model
Create table
Create task
List tasks
Delete task
Alternative approaches
Task handlers
Add a task
Show tasks
Delete a task
A working example
Server-side API
Compojure-API template
Libraries
Work in Progress
Using Postgres from Clojure
Project: URL Shortner as a Service
Create project
Run project
Test app reloading
Compojure Template
Design data structure
Whats in a request
Redirect to full URL
Add static resources
Disable anti-forgery check
Create HTML Form
Using Ring Redirect
Named alias handler
if-let function
Refactor: Hiccup form
Alias generator
Persist aliases
Postgres setup
Redis setup
create database
add alias to database
get alias from database
delete alias from database
Work in Progress
Building a full database backed app
Libraries
Clojars
om
edn
Testing
Testing
Reference
Basic Syntax
Strings
Maths
Data Structures
Functions
Control flow
Local Assignment
Including Libraries
Lighttable
Configure Keyboard mappings
Projects with Leiningen
Create a project
Run the REPL
Profiles overview
Adding a dev profile
Templates
Plugins
Development Environments
Java
Leiningen
LightTable
Other tools
Published with GitBook
add alias to database
add alias to database
results matching "
"
No results matching "
"