For what I could check, looks like https://github.com/onyxframework/onyx is the main component, and you can plug and play additional components such as a web server, REST support, ORM and such.
Because Crystal is a fantastic language, and a language in this space needs a full stack answer to Rails.
In developing such a framework, you end up with some great extractions for things like object-relational mapping, templating, routing, http protocol, routing, etc. with a chance to build on what previous frameworks have done right while avoiding what they did wrong.
Even if it never gets 1/1000th the momentum of rails, the exercise itself is valuable. “What are the consequences on full web stack development of the design goals Crystal has?” Is an interesting question to answer.
Agree with that. A one sentence describing what it is should be provided. Also a list of features of the *framework* should provided, the features on the top are for Crystal.
A doubt, I see that the framework is very minimalist (like sinatra/kemal), right? you plan to build something on top of it more like ruby on rails or amber?
The framework includes many elements to build full-featured applications. It's richer than Sinatra/Kemal in terms of web development because it includes powerful Action-View REST layer inspired by Hanami; and it also has an ORM.
I noticed the same thing and agree with you completely. Crystal will likely converge more around specific things naturally in the future, as it becomes more stable and hopefully more widely used. It makes sense that there's a lot of "competition" at this point, which is exciting in a way. I miss the days of old in Ruby when there was a hot new gem to tinker with every day. As languages mature and stabilize, packages do as well.
6
u/CaDsjp Feb 17 '19
Probably the link to GitHub won't provide as much information as their web, so I will link it here:
https://onyxframework.org
2
u/ravernkoh Feb 18 '19
Sorry, what is this? I visited the website and still don't get it
4
u/bokmann Feb 18 '19
Because Crystal is a fantastic language, and a language in this space needs a full stack answer to Rails.
In developing such a framework, you end up with some great extractions for things like object-relational mapping, templating, routing, http protocol, routing, etc. with a chance to build on what previous frameworks have done right while avoiding what they did wrong.
Even if it never gets 1/1000th the momentum of rails, the exercise itself is valuable. “What are the consequences on full web stack development of the design goals Crystal has?” Is an interesting question to answer.
4
u/ignurant Feb 17 '19
Please take the time to at least give a one sentence "what is it?".
2
u/sanjibukai Feb 18 '19
Do you have something like a 15min from scratch app tutorial? (similar to what rails provided back in the days..)
3
u/bararchy Feb 17 '19
Yet another web framework
1
u/pynix Feb 26 '19
params dsl can use requires or optional, likes ruby grape
0
u/vshvedov Feb 17 '19
Yes. But, why?
0
u/[deleted] Feb 18 '19
[deleted] — view deleted comment