Live data from Hacker News

List of minimalist frameworks

github.com

91–95 of 95 posts

Re: List of minimalist frameworks

#91

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'm maintaining a micro-framework for Clojure called Luminus (http://www.luminusweb.net/). The approach I'm taking with it is to provide a standardized template that generates all the common boilerplate.

Even when you don't rely on a traditional framework approach you still have to address the problem of finding libraries that are actively maintained and work well together. It's also helpful to have a standard for how an application is organized.

While somebody who's already experienced with the ecosystem might not get a lot of value out of this, it makes it provides a much better experience for newcomers.

Re: List of minimalist frameworks

#92
post #91

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'm maintaining a micro-framework for Clojure called Luminus ( http://www.luminusweb.net/ ). The approach I'm taking with it is to provide a standardized template that generates all the common boilerplate. Even when you don't rely on a traditional framework approach you still have to address the problem of finding libraries that are actively maintained and work well together. It's also helpful to have a standard for…

I haven't done any programming in Clojure for years but that looks really useful. It almost makes me want to start up Emacs and install Leiningen.

Re: List of minimalist frameworks

#93
post #64
post #36

Earlier quoted context omitted.

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...

Errm... then I fail to see how 'myth' isn't just a wrapper around 'rework'?

That's exactly what it is, and that's the beauty of it.

Re: List of minimalist frameworks

#94
post #86

Earlier quoted context omitted.

I have a django project that swapped out the django templates for mako. Mako templates are awesome to use. The problem is it becomes extremely difficult to use packages that have bundled templates of their own. I would think it'd be the same with flask, no? Making assumptions about the available ORM and templating package allows 3rd party modules to do more of the work for you.

I have been tempted to switch the Django ORM for SQL alchemy, but I would loose the Django Amdin interface.

..and every 3rd party module that contains their own models, which would be a very large number.

If you want to use SQL Alchemy, you're better off using a different framework. I'm currently trying to decide if this is the angle I should follow for my next project, which requires fairly sophisticated SQL (comparable to the django ORM anyway).

Re: List of minimalist frameworks

#95
post #84

Earlier quoted context omitted.

That's the best reason anyone has given so far, but say you only need the URL router, nothing is forcing you to use the views layer. Admittedly when you strip out that much stuff then a micro-framework probably is a better choice. For me however I know Django well, and don't see much to be gained by learning a micro-framework.

I don't know what to say about someone wanting to not learn, other than the old metaphorical: "when all you have is a hammer, everything looks like a nail" I suggest trying out some screwdrivers for a while.

Its not that I don't want to learn, its that I see more benefit in learning different things, rather than what appears to be a repeat of something I know fairly well (with parts subtracted).

The analogy is closer to choosing between a pair of pliers and a leatherman. Maybe a drill would be more useful.

Post reply on HN