joy
view_component
joy | view_component | |
---|---|---|
8 | 74 | |
518 | 3,150 | |
0.0% | 0.7% | |
4.3 | 8.9 | |
6 months ago | 11 days ago | |
Clojure | Ruby | |
MIT License | 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.
joy
-
Joy: A maximalist web framework for Lisp aficionados
Hmm I see, that link may be a bit unfortunate, as it only shows the introduction to the docs.
More pages are here: https://github.com/joy-framework/joy/tree/master/docs
PS: I did a very minor contribution to Joy once, so minor that I actually forgot about it :) I don't use Joy myself at the moment as I'm using my own framework, but the Joy docs + source code helped me out a lot in figuring out how to do authentication, csrf, etc!
-
Coast on Clojure
He made a similar framework for Janet lang in Joy Framework[1] and it's unironically a joy to work with. Joy is one of those tools that is almost enough to make you use a different language imo. Got it where it counts, but still minimal and low mental overhead.
[1]: https://joy.swlkr.com/
-
Where is Ruby Headed in 2021?
>Node.js comes so close but anemic standard library
The nodejs API is rather big really. If you're using Ruby as your standard of normal sized almost everything would look small in comparison, but "anemic" is a stretch. You'd really hate Lua.
If you're taking suggestions, you might enjoy Janet[1]. It has a pretty large user API, lots of bells and whistles included in the standard libs like you'd find in Ruby, and lots of different ways to achieve the same result like Ruby. It's been a while since I checked out the ecosystem, but I was _very_ happy with the Joy Framework[2]. It definitely doesn't come close to the scope of Rails, but I think it _does_ near Rails in it's easy of use for the developer with it's scaffolding, controller generation etc.
[1]: https://janet-lang.org/
[2]: https://github.com/joy-framework/joy
- Janet – a Lisp-like functional, imperative programming language
view_component
- Things I wish I knew before moving 50K lines of code to React Server Components
-
Supercharged table component built with ViewComponent
When searching for examples of table components built with the ViewComponent gem, I was surprised to find none. After some inquiries, I came across examples that worked like this:
-
More expressive APIs for View Components
View components offer two primary ways to interact with the component: passing arguments to the initializer and using slots:
- Have you been using ViewComponent. What advantages do you see in it?
-
How can I integrate VueJS into a rails 7 application? What is the workflow?
For example, splitting out views into partials? Or the new ViewComponent feature that's becoming quite popular - https://viewcomponent.org/
- Helpers vs Components
-
Vanilla Rails view components with partials | Stanko K.R.
I used to do "pure ruby" approach to that -- but basically wound up realizing I was re-inventing github's view_component. Their design goals were similar enough to what I was trying to do, that it made more sense just to use that, rather than try to re-invent it myself.
-
Gnarly Learnings from March 2023
ViewComponent
- Os benefícios de componentizar as views do Rails
-
Does anyone kind of miss simpler webpages?
The linked one is my Rails implementation, written for ViewComponent. The official version uses Nunjucks.
What are some alternatives?
janet-pobox - Clojure like atoms/spinlocking in Janet
Stimulus - A modest JavaScript framework for the HTML you already have
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
turbo-rails - Use Turbo in your Ruby on Rails app
janetdocs - A community documentation site for the janet programming language
Tailwind CSS - A utility-first CSS framework for rapid UI development.
solargraph - A Ruby language server.
cypress-rails - Helps you write Cypress tests of your Rails app
net_skeleton - Async non-blocking multi-protocol networking library for C/C++
hotwire-rails - Use Hotwire in your Ruby on Rails app
Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
i18n-tasks - Manage translation and localization with static analysis, for Ruby i18n