diff --git a/README.md b/README.md index aa881ee..b38d658 100644 --- a/README.md +++ b/README.md @@ -11,26 +11,26 @@ remotely, ie as web applications. Many have asked me - - Why? or How is this different from X Y Z web framework? + Why? or How is this different from X Y Z web framework? The answer is - - Why? - Because more and more a browser "control" or window - is the only medium you can use to do anything cross - platform. You are limited to the languages and the - tools dictated. A GUI framework using the browser - to render the GUI is the perfect solution. - + Why? + Because more and more a browser "control" or window + is the only medium you can use to do anything cross + platform. You are limited to the languages and the + tools dictated. A GUI framework using the browser + to render the GUI is the perfect solution. + What's the difference from x or y web framework? - The best way to understand the difference is look - through the tutorials and demos, this is a GUI - framework that happens to use the browser for - rendering, the internet for remoting your apps etc. - At the same time your app is already a web app and - there is no reason not to deploy it (soon) as a - web "site" also. + The best way to understand the difference is look + through the tutorials and demos, this is a GUI + framework that happens to use the browser for + rendering, the internet for remoting your apps etc. + At the same time your app is already a web app and + there is no reason not to deploy it (soon) as a + web "site" also. View the HTML Documentation: @@ -63,24 +63,24 @@ Sample CLOG app with code base so far (See tutorial 7 for a video game :) : "On-new-window handler." ; Optional docstring to describe function (let ((hello-element ; hello-element is a local variable that - ; will be bound to our new CLOG-Element - - ;; This application simply creates a CLOG-Element as a child to the - ;; CLOG-body object in the browser window. + ; will be bound to our new CLOG-Element + + ;; This application simply creates a CLOG-Element as a child to the + ;; CLOG-body object in the browser window. - ;; A CLOG-Element represents a block of HTML (we will see later ways to - ;; directly create buttons and all sorts of HTML elements in more lisp - ;; like ways with no knowledge of HTML or javascript. - (create-child body "

Hello World! (click me!)

"))) + ;; A CLOG-Element represents a block of HTML (we will see later ways to + ;; directly create buttons and all sorts of HTML elements in more lisp + ;; like ways with no knowledge of HTML or javascript. + (create-child body "

Hello World! (click me!)

"))) (set-on-click hello-element ; Now we set a function to handle clicks - (lambda (obj) ; In this case we use an anonymous function - (setf (color hello-element) "green"))) + (lambda (obj) ; In this case we use an anonymous function + (setf (color hello-element) "green"))) (run body))) ; Keep our thread alive until connection closes - ; and prevent garbage collection of our CLOG-Objects + ; and prevent garbage collection of our CLOG-Objects ; until no longer needed. - + ;; To see all the events one can set and the many properties and styles that ;; exist, take a look through the CLOG manual or the file clog-element.lisp @@ -125,8 +125,8 @@ Status: - CLOG Devtools - to do - Generate application scaffolding - GUI Builder - - Grid style - - Page style + - Grid style + - Page style - Electron for native GUIs - Plugins - to do