clog/tutorial
2021-02-10 19:57:43 -05:00
..
13-tutorial style 2021-02-01 13:43:47 -05:00
01-tutorial.lisp style changes 2021-02-01 12:05:57 -05:00
02-tutorial.lisp fix typo in comment in 02-tutorial.lisp (apears -> appears) 2021-02-04 15:12:22 +00:00
03-tutorial.lisp Mention the :one-time key for events 2021-02-06 22:26:03 -05:00
04-tutorial.lisp style changes 2021-02-01 12:05:57 -05:00
05-tutorial.lisp style changes 2021-02-01 12:05:57 -05:00
06-tutorial.lisp style changes 2021-02-01 12:05:57 -05:00
07-tutorial.lisp function to add units 2021-02-10 19:57:43 -05:00
08-tutorial.lisp function to add units 2021-02-10 19:57:43 -05:00
09-tutorial.lisp notes about local storage vs session storage 2021-02-05 12:55:27 -05:00
10-tutorial.lisp notes about local storage vs session storage 2021-02-05 12:55:27 -05:00
11-tutorial.lisp typos in comments and docstrings for tutorial 11 2021-02-04 16:26:16 +00:00
12-tutorial.lisp fixes typos for tutorial 12 in comments 2021-02-04 16:29:31 +00:00
13-tutorial.lisp Edit the instructions in tutorial-13 for accuracy 2021-02-05 11:23:25 +00:00
14-tutorial.lisp notes about local storage vs session storage 2021-02-05 13:11:55 -05:00
15-tutorial.lisp style 2021-02-01 13:43:47 -05:00
16-tutorial.lisp fix typos in comments of tutorial 16 2021-02-05 11:55:14 +00:00
17-tutorial.lisp typo fixes for tutorial 17 2021-02-05 11:59:29 +00:00
18-tutorial.lisp fixes typos in tutorial 18 2021-02-05 12:01:04 +00:00
19-tutorial.lisp fixes for typos in tutorial 19 2021-02-05 12:03:34 +00:00
20-tutorial.lisp fixes typos in tutorial 20 2021-02-05 12:06:05 +00:00
21-tutorial.lisp fixes for typos in tutorial 21 2021-02-05 12:08:11 +00:00
22-tutorial.lisp Drop the custom boot file and use the new clog-gui 2021-02-10 00:48:30 -05:00
README.md New tutorial 22 2021-02-10 00:52:42 -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
  • 21-tutorial.lisp - New CLOG plugin in Common-Lisp
  • 22-tutorial.lisp - CLOG GUI Menus and Desktop Look and Feel