Web Development
This is where PicoLisp really shines!Elevator Pitch goes here...
This article gives a high level overview of the technology and philosophy that drives PicoLisp web development. Otherwise, skip straight to the examples and tutorials below.
Consult the 'Form Library Ref.' in The Common Index while working through these tutorials.
Examples
- GUI component interaction A short script that presents a form with three fields to the user: a numeric input field ("Value") and two buttons ("Increment" and "Random").
- GUI enabling/disabling of controls Similar to the above example, but the buttons are dynamically enabled/disabled depending on the value of the '+NumField'.
Tutorials
- PicoLisp Application Development Creating apps with the builtin HTML/CSS GUI-framework.
- A Minimal DB/GUI Application A step by step walkthrough of the GUI-framework in action.
- Simple Canvas Drawing Using the HTML5 <canvas> Element.
- Using the +OnClick Button Direct Javascript calls from/to PicoLisp.
- OpenStreetMap Geo-Data Putting it all together to build a simple geographic database and GUI.
Articles
- The Equivalence of Code and Data And why it's awesome for web development.
- CSS and the GUI framework Styling your PicoLisp applications.
- GUI Scripting Script-driven GUI interaction and automation
Libraries
The builtin GUI/DB functionality is admittedly opinionated. Maybe you need something a bit more general. These libraries should help you spin up any sort of application architecture.- picolisp-nanomsg Nanomsg FFI bindings for PicoLisp.
- picolisp-json JSON encoder/decoder FFI bindings for PicoLisp.
- picolisp-https HTTP(S) client for PicoLisp.
- picolisp-bcrypt bcrypt hashing for PicoLisp.
Alternatives
- Macropis A CMS / Web Dev Framework. Check out this article for a discussion of the differences between Macropis and the standard GUI-framework.
- pl-web A small http application server with websockets and routing. See this article for details.
https://picolisp.com/wiki/?web
04apr21 | abu |