clog/tutorial
2025-11-18 00:19:49 -05:00
..
13-tutorial update documentation, remove tabs 2022-07-18 22:26:37 -04:00
28-tutorial adds font-css and correct tutorial 28 2022-12-07 12:49:20 -05:00
01-tutorial.lisp fix: misspelling of "tutorial" in various files 2025-07-06 22:15:19 +07:00
02-tutorial.lisp fix: misspelling of "tutorial" in various files 2025-07-06 22:15:19 +07:00
03-tutorial.lisp fix: misspelling of "tutorial" in various files 2025-07-06 22:15:19 +07:00
04-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
05-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
06-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
07-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
08-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
09-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
10-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
11-tutorial.lisp Made sure every single tutorial page had page title set to "Tutorial xx" as appropriate. The purpose of the updates is to make it easy for anyone to open up a tutorial and see which one was loaded up by looking at the page title. 2023-08-18 23:22:00 -07:00
12-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
13-tutorial.lisp update documentation, remove tabs 2022-07-18 22:26:37 -04:00
14-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
15-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
16-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
17-tutorial.lisp Updates to tutorial 9 2024-05-10 13:53:31 -04:00
18-tutorial.lisp Add comment not available on mobile 2024-01-22 16:03:38 -05:00
19-tutorial.lisp Made sure every single tutorial page had page title set to "Tutorial xx" as appropriate. The purpose of the updates is to make it easy for anyone to open up a tutorial and see which one was loaded up by looking at the page title. 2023-08-18 23:22:00 -07:00
20-tutorial.lisp Made sure every single tutorial page had page title set to "Tutorial xx" as appropriate. The purpose of the updates is to make it easy for anyone to open up a tutorial and see which one was loaded up by looking at the page title. 2023-08-18 23:22:00 -07:00
21-tutorial.lisp Made sure every single tutorial page had page title set to "Tutorial xx" as appropriate. The purpose of the updates is to make it easy for anyone to open up a tutorial and see which one was loaded up by looking at the page title. 2023-08-18 23:22:00 -07:00
22-tutorial.lisp update copyright 2025-11-18 00:19:49 -05:00
23-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
24-tutorial.lisp fix: misspelling of "tutorial" in various files 2025-07-06 22:15:19 +07:00
25-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
26-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
27-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
28-tutorial.lisp update documentation, remove tabs 2022-07-18 22:26:37 -04:00
29-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
30-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
31-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
32-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
33-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
34-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
35-tutorial.lisp fixed 'turtorial' type 2024-12-04 18:33:17 -06:00
README.md only remove clog data attributes 2024-07-22 02:38:36 -04:00

To run a tutorial load clog:

If using the builder open a CLOG Builder REPL and type:

> (clog:run-tutorial 1)

If using another REPL load CLOG:

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

Run the tutorial:

CL-USER> (clog:run-tutorial 1)
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
  • 04-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
  • 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, and popups
  • 23-tutorial.lisp - Using semaphores to wait for input
  • 24-tutorial.lisp - CLOG WEB containers
  • 25-tutorial.lisp - A "local" web app using CLOG WEB
  • 26-tutorial.lisp - A web page and form with CLOG WEB
  • 27-tutorial.lisp - Panel Box Layouts
  • 28-tutorial.lisp - CLOG Builder Hello - A minimalist CLOG Builder project
  • 29-tutorial.lisp - Presentations (and jQuery) - linking lisp objects to clog objects
  • 30-tutorial.lisp - Instant websites - clog-web-site
  • 31-tutorial.lisp - Database and Authority based websites - clog-web-dbi and clog-auth
  • 32-tutorial.lisp - Database Managed Content websites - clog-web-content
  • 33-tutorial.lisp - with-clog-create - Using a declarative syntax for GUIs
  • 34-tutorial.lisp - 2D WebGL example
  • 35-tutorial.lisp - 3D WebGL example