mirror of
https://github.com/rabbibotton/clog.git
synced 2026-01-30 12:23:00 -08:00
expose internals for extension and plug-in use
This commit is contained in:
parent
4922a69e9e
commit
e9772838aa
4 changed files with 18 additions and 17 deletions
12
FUTURE.md
12
FUTURE.md
|
|
@ -5,8 +5,8 @@ Creating a native application
|
|||
Mobile development
|
||||
Creating a Bootstrap 5 based app
|
||||
When to use page vs panel
|
||||
Running JavaScript
|
||||
Plug-in panels for use on other sites
|
||||
Demo between different models - stateless, webpage, windows
|
||||
|
||||
- Multi control select and alignments in Builder
|
||||
|
||||
|
|
@ -14,9 +14,9 @@ Plug-in panels for use on other sites
|
|||
|
||||
- Handle windows beyond browser edge CLOG-GUI
|
||||
|
||||
- Project scaffolding generator
|
||||
1) Basic builder project
|
||||
2) CLOG-GUI builder project
|
||||
- Project scaffolding generator - done the template system in Builder
|
||||
1) Basic builder project - done
|
||||
2) CLOG-GUI builder project - done
|
||||
3) Builder website
|
||||
4) Database oriented projects
|
||||
|
||||
|
|
@ -28,8 +28,6 @@ Plug-in panels for use on other sites
|
|||
|
||||
- Training and documentation tool
|
||||
|
||||
- Event queuing option to easily avoid event race conditions when desired in CLOG builder
|
||||
|
||||
- Implement using long polling to optimize CLOG sites for use with
|
||||
search engines. If not long polling at least initial output sent by
|
||||
initial html request until first query.
|
||||
|
|
@ -46,7 +44,7 @@ Some notes on this
|
|||
|
||||
3) Way to receive data from the page - This is one way but not ideal - https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebContext.html#webkit-web-context-register-uri-scheme and seems most all here https://blogs.igalia.com/carlosgc/2013/09/10/webkit2gtk-web-process-extensions/
|
||||
|
||||
- clog-data
|
||||
- clog-data (partial - clog-presentations allows linking list objects and clog objects)
|
||||
- binding html controls directly to fields for database use
|
||||
|
||||
- clog-auth
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ dicarded, return CLOG-OBJ. (Internal)"))
|
|||
|
||||
(defgeneric execute (clog-obj method)
|
||||
(:documentation "Execute the JavaScript METHOD on OBJ. Result is
|
||||
dicarded. (Private)"))
|
||||
dicarded. see JQUERY-EXECUTE (Internal)"))
|
||||
|
||||
(defmethod execute ((obj clog-obj) method)
|
||||
(js-execute obj (format nil "~A.~A" (script-id obj) method)))
|
||||
|
|
@ -114,7 +114,7 @@ dicarded. (Private)"))
|
|||
|
||||
(defgeneric query (clog-obj method &key default-answer)
|
||||
(:documentation "Execute the JavaScript query METHOD on OBJ and return
|
||||
result or if time out DEFAULT-ANSWER (Private)"))
|
||||
result or if time out DEFAULT-ANSWER. see JQUERY-QUERY (Internal)"))
|
||||
|
||||
(defmethod query ((obj clog-obj) method &key (default-answer nil))
|
||||
(js-query obj (format nil "~A.~A" (script-id obj) method)
|
||||
|
|
@ -493,7 +493,7 @@ an application share per connection the same queue of serialized events."
|
|||
|
||||
(defgeneric set-on-event (clog-obj event-name handler)
|
||||
(:documentation "Set a HANDLER for EVENT-NAME on CLOG-OBJ. If handler is
|
||||
nil unbind all event handlers. (Private)"))
|
||||
nil unbind all event handlers. (Internal)"))
|
||||
|
||||
(defmethod set-on-event ((obj clog-obj) event-name handler)
|
||||
(set-event obj event-name
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ Some sample jquery selectors:
|
|||
;;;;;;;;;;;;
|
||||
|
||||
(defgeneric jquery (clog-obj)
|
||||
(:documentation "Return the jQuery accessor for OBJ."))
|
||||
(:documentation "Return the jQuery accessor for and CLOG-OBJ."))
|
||||
|
||||
(defmethod jquery ((obj clog-obj))
|
||||
(format nil "$(~A)" (script-id obj)))
|
||||
|
|
@ -55,7 +55,7 @@ Some sample jquery selectors:
|
|||
;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric jquery-execute (clog-obj method)
|
||||
(:documentation "Execute the jQuery METHOD on OBJ. Result is
|
||||
(:documentation "Execute the jQuery METHOD on and CLOG-OBJ. Result is
|
||||
dicarded, return CLOG-OBJ."))
|
||||
|
||||
(defmethod jquery-execute ((obj clog-obj) method)
|
||||
|
|
@ -66,7 +66,7 @@ dicarded, return CLOG-OBJ."))
|
|||
;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defgeneric jquery-query (clog-obj method &key default-answer)
|
||||
(:documentation "Execute the jQuery METHOD on OBJ and return
|
||||
(:documentation "Execute the jQuery METHOD on ANY CLOG-OBJ and return
|
||||
result or DEFAULT-ANSWER on time out."))
|
||||
|
||||
(defmethod jquery-query ((obj clog-obj) method &key (default-answer nil))
|
||||
|
|
|
|||
|
|
@ -112,10 +112,13 @@ embedded in a native template application.)"
|
|||
(remove-connection-data-item generic-function)
|
||||
(validp generic-function)
|
||||
|
||||
"CLOG-Obj - Internals for Extension Plugins"
|
||||
(html-id generic-function)
|
||||
(js-execute generic-function)
|
||||
(js-query generic-function)
|
||||
"CLOG-Obj - Internals for Extensions and Plugins"
|
||||
(html-id generic-function)
|
||||
(execute generic-function)
|
||||
(query generic-function)
|
||||
(js-execute generic-function)
|
||||
(js-query generic-function)
|
||||
(set-on-event generic-function)
|
||||
|
||||
"CLOG-Obj - Event Handling"
|
||||
(set-on-resize generic-function)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue