Live data from Hacker News

List of minimalist frameworks

github.com

41–50 of 95 posts

Re: List of minimalist frameworks

#41

I know this issue has been brought up many times before, but to some extent the existence of a framework suggests a lack of composability in the language being discussed. This gets discussed a lot in the context of Clojure, where people new to Clojure often ask, "Where are the frameworks?" The more meta-programming that a language allows, the more its functions will tend to be composable. The more composable it is, t…

There is no trend towards lighter frameworks.

Frameworks were originally being developed by people with high-end needs. They are then also adopted by people with low-end needs, who conclude that the framework is too big and complicated for them, and start developing/adopting more light weight frameworks.

This market is still young, so there are no dominant players like Rails, Django or Symfony yet.

It's more a matter of chronological than a trend. Big frameworks are still being used on a massive scale where appropriate, it's just a more stable market where the only news is the next release.

Re: List of minimalist frameworks

#42
post #3

I hadn't heard of Cuba before. Grape[1] would also be worth listing in the Ruby section. It's an actively maintained microframework for REST APIs. [1] https://github.com/intridea/grape

Found this nice Sinatra micro-clone thanks to the page:

https://github.com/guilleiguaran/nancy

Re: List of minimalist frameworks

#43
post #36

I know this issue has been brought up many times before, but to some extent the existence of a framework suggests a lack of composability in the language being discussed. This gets discussed a lot in the context of Clojure, where people new to Clojure often ask, "Where are the frameworks?" The more meta-programming that a language allows, the more its functions will tend to be composable. The more composable it is, t…

A fantastic example of this (in javascript) is trending right now on hackernews – myth. https://news.ycombinator.com/item?id=6923141 Look at this implementation: it's just a composition of a bunch of other libraries. no logic at all. This is how it should be: https://github.com/segmentio/myth/blob/master/index.js#L37-L...

Wow. that's brilliant. As we would say on tumblr " This is why we can have nice things".

I'm actually experimenting with `scotty` for haskell now. Though a tad limited (getting sessions to work is a bit whiney) I had a decently working URL-shortener up and running in an hour of composing haskell modules and writing a max of 20 lines of code.

This whole micro-framework thing is getting close to my view of the ideal way of programming. Use as much reusable components at any time. There is always someone who did what you were trying and probably already did it better. I prefer investing time in finding the right micro-frameworks then investing time to learn to program things in new ways (is this a bad thing?). Anyhow, I see a lot of classmates implementing their new login systems for their little websites in pure PHP and i'm just staring at them like 'what the hell'. Especially in things involving security, composable 'micro-modules' are a blessing. I just combine a few libraries and whoop I got an https server that securly talks to a database that securly stores credentials and sessions. I think it's just beautiful.

Okay of course I do implement things myself. that that is more out of curiosity. I'm like 'hey how does this security stuff work? how do I break things?' and I read up about it and prototype a little. but I would _never_ use such code in production just because I know someone already did better.

So yeah. to sum it up. programming microframeworks give us this:

* small, modularized code * where each module on its own is at its best * where the composition of these modules is clear. * and the result is highly maintainable code.

I would even want to take it a step further. Where certain kind of frameworks stick to the same standard. Think Promises/A+ or WAI. Now at any time in the future, I can give my whole codebase a speed boost by just changing a single line. Isn't this great?

Re: List of minimalist frameworks

#44
post #15

@neiesc please make this a wiki instead of a readme. Edit wiki much more conducive to contribution than fork + PR + wait + hope

A-Z sorting is pretty much useless for something like this. Sorting by quality of documentation would be nice.

Re: List of minimalist frameworks

#45

I know this issue has been brought up many times before, but to some extent the existence of a framework suggests a lack of composability in the language being discussed. This gets discussed a lot in the context of Clojure, where people new to Clojure often ask, "Where are the frameworks?" The more meta-programming that a language allows, the more its functions will tend to be composable. The more composable it is, t…

I couldn't agree more.

Re: List of minimalist frameworks

#49
post #42
post #3

I hadn't heard of Cuba before. Grape[1] would also be worth listing in the Ruby section. It's an actively maintained microframework for REST APIs. [1] https://github.com/intridea/grape

Found this nice Sinatra micro-clone thanks to the page: https://github.com/guilleiguaran/nancy

There's also the Nancy lightweight web framework for .NET https://github.com/NancyFx/Nancy http://nancyfx.org/

Re: List of minimalist frameworks

#50
post #23

It appears that the focus of this was web frameworks.. but I think that Java microframeworks should be added here. I created a pull request for that.

I have to agree with RyanZAG, log4j seems a strange inclusion in this list.
Post reply on HN