clog/tutorial
2021-02-01 10:29:34 -05:00
..
13-tutorial Fix access to documentElement 2021-01-21 21:59:30 -05:00
01-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
02-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
03-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
04-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
05-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
06-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
07-tutorial.lisp updates to use specifc element types 2021-01-29 01:16:05 -05:00
08-tutorial.lisp Touch events 2021-01-14 12:50:16 -05:00
09-tutorial.lisp Move span to use :content 2021-01-15 17:06:50 -05:00
10-tutorial.lisp Basic canvas 2021-01-15 00:49:52 -05:00
11-tutorial.lisp Tutorial 17 2021-01-26 17:07:48 -05:00
12-tutorial.lisp prep work on better post method support and future long-polling for better search engine ready files 2021-01-31 00:42:21 -05:00
13-tutorial.lisp More helpers for clog in quicklisp 2021-01-29 00:41:32 -05:00
14-tutorial.lisp Client side storage 2021-01-21 21:04:07 -05:00
15-tutorial.lisp Tutorial 15 - Multi-media 2021-01-24 20:16:18 -05:00
16-tutorial.lisp Tutorial 17 2021-01-26 17:07:48 -05:00
17-tutorial.lisp Better handling of get and post form methods 2021-01-31 03:26:11 -05:00
18-tutorial.lisp Add instructions to tutorial 18 2021-01-31 20:20:29 -05:00
19-tutorial.lisp Tutorial 20 2021-02-01 10:25:30 -05:00
20-tutorial.lisp Tutorial 20 2021-02-01 10:25:30 -05:00
README.md Tutorial 20 2021-02-01 10:29:34 -05:00

To run a tutorial load clog:

CL-USER> (ql:quickload :clog)
To load "clog":
  Load 1 ASDF system:
    clog
; Loading "clog"
...........................
(:CLOG)

Load the tutorial:

CL-USER> (load "/Users/dbotton/common-lisp/clog/tutorial/01-tutorial.lisp")
#P"/Users/dbotton/common-lisp/clog/tutorial/01-tutorial.lisp"

Start the tutorial:

CL-USER> (clog-user:start-tutorial)
Hunchentoot server is started.
Listening on 0.0.0.0:8080.
HTTP listening on : 0.0.0.0:8080
HTML Root         : static-files/
Boot file default : /boot.html

Most demos startup a browser, if not use http://127.0.0.1:8080

Tutorial Summary

  • 01-tutorial.lisp - Hello World
  • 02-tutorial.lisp - Closures in CLOG
  • 03-tutorial.lisp - Events fire in parallel
  • 05-tutorial.lisp - The event target, reusing event handlers
  • 05-tutorial.lisp - Using connection-data-item
  • 06-tutorial.lisp - Tasking and events
  • 07-tutorial.lisp - My first CLOG video game (and handling disconnects)
  • 08-tutorial.lisp - Mice Love Containers
  • 09-tutorial.lisp - Tabs, pannels and forms
  • 10-tutorial.lisp - Canvas
  • 11-tutorial.lisp - Attaching to existing HTML
  • 12-tutorial.lisp - Running a website in CLOG (routing)
  • 13-tutorial/ - Flying Solo - A minimalist CLOG project
  • 14-tutorial.lisp - Local (persistent) and Session client side storage
  • 15-tutorial.lisp - Multi-media
  • 16-tutorial.lisp - Bootstrap 4, Loading css files and javascript
  • 17-tutorial.lisp - W3.CSS layout example and Form submit methods
  • 18-tutorial.lisp - Drag and Drop
  • 19-tutorial.lisp - Using JavaScript components
  • 20-tutorial.lisp - New CLOG plugin from JavaScript component