Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.29 KB

TODO.org

File metadata and controls

40 lines (31 loc) · 1.29 KB

Roadmap

Create defroute macro to simplify adding of additional routes

Also, all functions like reblocks/request:get-parameters should work within defined route.

Make hooks system easier to use

  • State “DONE” from “TODO” [2017-09-11 Mon 09:59]

Get rid of distinction between :pre :post and :dynamic hooks

Code for adding a hook should look like:

(add-application-hook my-hook ()
  (some-code-of-implementation)
  (call-next-hook))

Instead of

(defun my-hook (hooks)
   (some-code-of-implementation)
   (eval-dynamic-hooks hooks))

(add-application-hook :pre-render
                      my-hook)

Process (declare …) forms in add-xxxx-hook macrose

Need to place these forms in the top of flet from

Make a package per file in all codebase

Remove all special widgets with html rendering code into separate reblocks-ui library

Use Websocket for actions and all communications between client and server

This way it will be possible also to push data from server to the client. This can be initiated by a timer or by some event or action from the developer. For example, server can push new css/js dependencies for all widgets shown on the page or for single widget, when developer hits C-c C-c in the Emacs.