|
![](/i/fill.gif) |
On 17/11/2011 02:21 PM, Invisible wrote:
> I started with the implausibly-named (and unpronounceable) "Yesod"
> framework.
The good part: It's very easy to install. Assuming you already have
Haskell installed, it takes one command to download and compile all the
source code. And it even works on Windows.
The bad part, arguably, is that it downloads, compiles and installs 85
individual Haskell packages. Which, obviously, takes a little while. (!)
And then, when you run the scaffolder to build a skeleton site and try
to run it, it downloads and installs even *more* packages! By the end of
it, using the Sqlite DB, I had 97 packages installed. If you want to use
more backends, obviously you end up with even more packages.
Also interesting: The scaffolder executable is 7MB in size. An empty
site using the "tiny" scaffold is 22MB, and one using the "sqlite"
scaffold is 34MB. This for a site that serves one single HTML page.
(Static linking FTW!)
[You would have thought, given that they went to all the bother of
providing a scaffolder tool, they could make it produce a really
good-looking default site. But no; it looks like 1993 in there.]
> Having digested all of that, I went and took a look at Happstack
By contrast, Happstack consists of 16 packages. There is no handy
scaffolder, but a simple "hello world" application is 3 lines of code.
Compiling it, I get a 10MB application, which delivers a single piece of
text. (Not HTML, just text.)
Post a reply to this message
|
![](/i/fill.gif) |