cl-docker VS cl-djula-tailwind

Compare cl-docker vs cl-djula-tailwind and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
cl-docker cl-djula-tailwind
2 1
5 9
- -
10.0 10.0
over 1 year ago over 1 year ago
Common Lisp Common Lisp
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

cl-docker

Posts with mentions or reviews of cl-docker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-27.

cl-djula-tailwind

Posts with mentions or reviews of cl-djula-tailwind. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-18.
  • Using TailwindCSS in Common Lisp web apps without Node.js tooling
    4 projects | dev.to | 18 Aug 2022
    Let's see how this thing works. Whenever you request a page in your web application, Djula will try to read your route template and compile it and then send the HTML response to the browser. This is how normally things work in a Caveman application. On top of this what the cl-djula-tailwind package does is, it also parse the Tailwind class names used in your templates, layout templates and partials used in your markup and then construct a minified CSS class definitions list and put them in a placeholder in the default layout template through a tag so that it will be automatically picked up by the browser and your HTML content is properly formatted according to the CSS classes you have used.

    So whenever every route is rendered, you will get a generated custom CSS on the fly injected via internal stylesheets. The beauty of this approach is that you will only get the minimal and required CSS for a particular route instead of getting all the CSS at once for your whole application. From a performance standpoint this is a huge gain from the traditional approach of delivering all your CSS beforehand. Because the critical rendering path can be optimized to a large extent by delivering only the required CSS for a web page.

    Using the CSS Overview extension in Chrome browser, I have collected some stats of the unused CSS. Below is the data of the TailwindCSS website

    Image description

    You can still see some unused CSS with the conventional approach. And using cl-djula-tailwind in our demo app, this is the result

    Image description

    With our new approach of sending only the required CSS, there are no unused CSS at all.

    Source code

    The source code for the package cl-djula-tailwind is hosted in Github here.

    Demo

    There is also a demo app making use the cl-djula-tailwind package to test and improve the package. It is hosted in Github here

    What's next?

    The cl-djula-tailwind package is still in beta stage and not yet ready for production. But you can play around with it. Most of the util classes used in Tailwind are covered, but still there is some work needs to be done to get it production ready.

    Below are some of the things that need to be taken care of:

    • Provide a capability for Tailwind CSS like config
    • Cover all the utilities in Tailwind
    • Handle deeply nested partials in Djula templates (at present it can handle only top-level partials in your route templates)

    If you find anything that is missing from Tailwind, that can be made part of cl-djula-tailwind, please raise an issue at the repository.

    Hope you enjoyed this Common Lisp tooling and the ability to generate CSS util classes on the fly for your web pages. Please let me know for any queries or feedback in the comments section.

What are some alternatives?

When comparing cl-docker and cl-djula-tailwind you can also consider the following projects:

drakma - HTTP client written in Common Lisp

cl-tw-demo - Tailwind Djula demo

dexador - A fast HTTP client for Common Lisp

Tailwind CSS - A utility-first CSS framework for rapid UI development.

ccl - Clozure Common Lisp

issues

flexi-streams - Flexible bivalent streams for Common Lisp

cl-virtualbox - Control VirtualBox from Common Lisp