From 5de7cad2494cca63009d34e972fc77e815c68826 Mon Sep 17 00:00:00 2001 From: David Botton Date: Thu, 21 Apr 2022 14:36:59 -0400 Subject: [PATCH] Add clog-web-dbi --- FUTURE.md | 2 + README.md | 8 +- clog.asd | 1 + doc/clog-manual.html | 253 +++++++++++++++++++++++++++--------- source/clog-web-dbi.lisp | 142 ++++++++++++++++++++ source/clog-web-themes.lisp | 7 +- source/clog-web.lisp | 36 +++-- source/clog.lisp | 1 + 8 files changed, 376 insertions(+), 74 deletions(-) create mode 100644 source/clog-web-dbi.lisp diff --git a/FUTURE.md b/FUTURE.md index 51ab9c8..417468d 100644 --- a/FUTURE.md +++ b/FUTURE.md @@ -7,6 +7,8 @@ When to use page vs panel Plug-in panels for use on other sites Demo between different models - stateless, webpage, windows +- Expand clog-db-admin to use other available dbi database types + - Multi control select and alignments in Builder - Right click menus CLOG-GUI diff --git a/README.md b/README.md index f95d84a..52d9010 100644 --- a/README.md +++ b/README.md @@ -279,8 +279,12 @@ High Order Extensions to CLOG - Compositor containers - Menus - Alerts - - Forms - - Instant Web Sites - clog-web-site + - Forms - clog-web-forms + - Web Sites - clog-web-site + +- clog-web-themes - basic themes for clog based websites + +- clog-web-dbi - components for database driven websites - clog-panels - Quick application layouts diff --git a/clog.asd b/clog.asd index 58ed08d..c7b100b 100644 --- a/clog.asd +++ b/clog.asd @@ -38,6 +38,7 @@ (:file "clog-auth") (:file "clog-gui") (:file "clog-web") + (:file "clog-web-dbi") (:file "clog-web-themes") (:file "clog-helpers"))) diff --git a/doc/clog-manual.html b/doc/clog-manual.html index f8a9669..0105d3d 100644 --- a/doc/clog-manual.html +++ b/doc/clog-manual.html @@ -51,16 +51,19 @@
  • 14 CLOG Form Objects
  • 15 CLOG Canvas Objects
  • 16 CLOG Multimedia Objects
  • -
  • 17 CLOG GUI Objects
  • -
  • 18 CLOG Web Objects
  • -
  • 19 CLOG Body Objects
  • -
  • 20 CLOG Window Objects
  • -
  • 21 CLOG Document Objects
  • -
  • 22 CLOG Location Objects
  • -
  • 23 CLOG Navigator Objects
  • -
  • 24 CLOG jQuery Objects
  • -
  • 25 CLOG Helper Functions
  • -
  • 26 CLOG Framework internals and extensions
  • +
  • 17 CLOG Auth Objects
  • +
  • 18 CLOG GUI Objects
  • +
  • 19 CLOG Web Objects
  • +
  • 20 CLOG Web DBI - dbi based website
  • +
  • 21 CLOG Web Site Themes
  • +
  • 22 CLOG Body Objects
  • +
  • 23 CLOG Window Objects
  • +
  • 24 CLOG Document Objects
  • +
  • 25 CLOG Location Objects
  • +
  • 26 CLOG Navigator Objects
  • +
  • 27 CLOG jQuery Objects
  • +
  • 28 CLOG Helper Functions
  • +
  • 29 CLOG Framework internals and extensions
  • [in package CLOG]
    @@ -4049,7 +4052,8 @@ by doubling) unless is the single character '?'.

    Create a new CLOG-Database element, for use in CLOG-Builder. If not using builder use to connect: - (dbi:connect (database-connection clog-obj) ...)

    + (dbi:connect (database-connection clog-obj) ...) or if a +connection exists assign it to the database-connecton.

    @@ -5673,7 +5677,7 @@ https://developer.mozilla.org/en-US/docs/Web/CSS/font

    -

    +

    16 CLOG Multimedia Objects

    @@ -6116,12 +6120,53 @@ is nil unbind the event.

    Create a CLOG video control

    +

    +

    + +

    + +

    17 CLOG Auth Objects

    + +
    [in package CLOG-AUTH]
    + +

    CLOG-AUTH - authorization abstraction for CLOG

    + +

    +

    + + + +

    +

    + + + +

    +

    + + + +

    +

    + + +

    -

    +

    -

    17 CLOG GUI Objects

    +

    18 CLOG GUI Objects

    [in package CLOG-GUI]
    @@ -6622,9 +6667,9 @@ machine, upon close ON-FILE-NAME called with filename or nil if fai

    -

    +

    -

    18 CLOG Web Objects

    +

    19 CLOG Web Objects

    [in package CLOG-WEB]
    @@ -7182,7 +7227,7 @@ is placed in DOM at top of OBJ instead of bottom of OBJ

    +

    +

    + + +

    CLOG-WEB - Websites

    @@ -7235,24 +7289,32 @@ element.

    -

    -

    +

    +

    +

    +

    + + + +

    CLOG-WEB-SITE - Accessors

    +

    @@ -7267,6 +7329,13 @@ Page properties:
  • [generic-function] SETTINGS OBJECT
  • +

    +

    + + +

    @@ -7299,26 +7368,6 @@ Page properties:
  • [generic-function] LOGO OBJECT
  • -

    -

    - - - -

    -

    - - -

    CLOG-WEB - Utilities

    @@ -7348,12 +7397,98 @@ clog-body.

    Split path by / adjusting for base-url

    +

    +

    + +

    + +

    20 CLOG Web DBI - dbi based website

    + +
    [in package CLOG-WEB-DBI]
    + +

    Authentication

    + +

    +

    + + + +

    +

    + + + +

    +

    + + + +

    +

    + + + +

    +

    + + + +

    +

    + + + +

    +

    + +

    + +

    21 CLOG Web Site Themes

    + +
    [in package CLOG-WEB]
    + +

    Built in themes

    + +

    +

    + + +

    -

    +

    -

    19 CLOG Body Objects

    +

    22 CLOG Body Objects

    CLOG-Body - CLOG Body Objects

    @@ -7429,7 +7564,7 @@ with HTML.

    -

    20 CLOG Window Objects

    +

    23 CLOG Window Objects

    CLOG-Window - CLOG Window Objects

    @@ -7834,7 +7969,7 @@ on-storage event is fired for changes to :local storage keys.

    -

    21 CLOG Document Objects

    +

    24 CLOG Document Objects

    CLOG-Document - CLOG Document Objects

    @@ -8006,7 +8141,7 @@ If ON-FULL-SCREEN-CHANGE-HANDLER is nil unbind the event.

    -

    22 CLOG Location Objects

    +

    25 CLOG Location Objects

    Clog-Location - CLOG Location Objects

    @@ -8117,7 +8252,7 @@ If ON-FULL-SCREEN-CHANGE-HANDLER is nil unbind the event.