tesla
classless-css
tesla | classless-css | |
---|---|---|
4 | 23 | |
1,955 | 1,794 | |
1.0% | - | |
7.9 | 7.3 | |
3 days ago | 29 days ago | |
Elixir | HTML | |
MIT License | - |
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.
tesla
-
Elixir for Cynical Curmudgeons
I haven’t used commanded, exmachina, or ash:
- Tesla has a mode which can be used completely without macros, and I am increasingly encouraging that it be the only way that it is used. So does the author (as of 2020): https://github.com/elixir-tesla/tesla/issues/367#issuecommen...
There is also `req` mentioned in a recent post as an alternative (it looks good, but I am still playing with it to see if it is a suitable replacement for Tesla in all cases).
- Absinthe is something of a compiler itself, because it has to strictly define things the way that is specified in the GraphQL spec. You can now import an SDL file, but you still need to hook resolvers and middleware into it. Honestly, I don’t think that the schema definitions in JS/TS are much better for GraphQL in terms of readability.
Being heavily macro-based means that there are sharp edges that are harder to work around when you want to add your own macros for code reuse purposes. That said, aside from the schema definition, Absinthe is entirely usable without macros. Within the schema definition, Absinthe isn’t making anything up, it’s using the same basic definitions that the GraphQL spec do, adapted for Elixir syntax.
Exmachina didn’t interest me because I don’t think much of factory_bot (which used to be called factory_girl), as I saw it abused far more than used well (IMO, it’s impossible to use correctly). Ash…looks like an interesting experiment, but I don’t know that there’s a lot of pick-up with it compared to Phoenix. And I have yet to find a use for CQRS/ES, so there’s no reason for me to play with commanded. I certainly wouldn’t consider any of these three to be "major" players in Elixir. Tesla and Absinthe? Yes.
-
ElixirのHTTPクライアントでお天気情報を取得したい(2022年)
tesla
- Elixir: Consumindo dados de uma API externa
-
Learn how to deploy Elixir apps on Heroku
To integrate the API via Elixir let's use the HTTP wrapper Tesla. There are many good options out there, such as the good old Httpoison. However, Tesla has some added benefits. I won't go into details as it's not the purpose of this article, but it's worth checking out.
classless-css
-
Pico CSS v2 comes with 380 manually crafted colors
I dug through a ton of these for several days before finally deciding to just make my own...
All the lesser known ones tend to not be very extensible or themable beyond basic color changes, and they're a little too extreme about pure semantic HTML.
This guy has a really good roundup with last commit and GitHub stars info:
https://github.com/dbohdan/classless-css
Currently working on getting some issues with their test case ironed out to get mine (https://eternityforest.github.io/barrel.css/) included.
- A list of classless CSS themes/frameworks with screenshots
-
Elixir for Cynical Curmudgeons
No style attributes. You just use HTML markup and use a classless CSS framework to take care of making it look nice. My favorite is Marx, but there are others you can find here: https://github.com/dbohdan/classless-css
Water.css, MVP.css, sakura, and Tacit are among the most popular.
-
I wish people would stop insisting that Git branches are nothing but refs
Literally as easy as:
https://github.com/dbohdan/classless-css
And before you say I should do that myself, again, if you want your work to be comfortable to read for the world, the bare minimum involves legibility.
-
The Future (and the Past) of the Web Is Server Side Rendering
Not op but classless CSS frameworks are awesome. The idea is to keep it simple and use the appropriate HTML tags where there were generally meant to go, and the framework will theme the page to improve usability and add flair. I've developed some great little sites with no classes at all!
Obviously this approach has its limits, but it works well for proof-of-concept sites or sites that don't need to be very complex or dynamic. Just a sensible font size, nicer looking form elements, etc.
Here is a list of classless CSS frameworks: https://github.com/dbohdan/classless-css
- Show HN: Bolt.css – Another classless CSS library
- Looking for template of a bare-minimum responsive template.
-
How to Build a Personal Webpage from Scratch (In 2022)
Skip the CSS bit and use classless CSS framework: https://github.com/dbohdan/classless-css
I have used water.css, simple.css and Tufte.css and all of them are great.
-
Using Nanoc, a Static Site Generator
Create a folder inside /output called assets. Move the stylesheet.css inside. You can also use an external css like bootstrap, or use a single file css. There is even a css based on Nier!
- MVP.css – Minimalist stylesheet for HTML elements
What are some alternatives?
httpoison - Yet Another HTTP client for Elixir powered by hackney
Heimdall - An Application dashboard and launcher
hackney - simple HTTP client in Erlang
Tailwind CSS - A utility-first CSS framework for rapid UI development.
httpotion - [Deprecated because ibrowse is not maintained] HTTP client for Elixir (use Tesla please)
Water.css - A drop-in collection of CSS styles to make simple websites just a little nicer
Ralitobu.Plug - Elixir Plug for Ralitobu, the Rate Limiter with Token Bucket algorithm
sakura - :cherry_blossom: a minimal css framework/theme.
webdriver - WebDriver client for Elixir.
pico - Minimal CSS Framework for semantic HTML
Maxwell - Maxwell is an HTTP client which support for middleware and multiple adapters.
awesome-css-frameworks - List of awesome CSS frameworks in 2024