2 new projects that use Happstack

hledger

Simon Michael announced recently that his double-entry accounting tool hledger is now using Happstack. A demo is running at http://hledger.org.

Happstack Auth Module

MightyByte has released an experimental authorization module for Happstack. The git repository is located at http://github.com/mightybyte/happstack-auth/tree/master. It is based on the principles outlined in Thomas Ptacek’s excellent article on secure password schemes.

Comments Off

Filed under News

Happstack-powered Website launched by Gregory David Collins

Gregory David Collins, bootstrapped partially by Happstack-Tutorial, has launched his new personal website which is completely (well mostly) powered by Happstack. The site has some builtin blog functionality — is this the beginning of a Happstack-powered blog? The sky is the limit!

View his maiden blogpost at: http://gregorycollins.net/posts/2009/03/28/building-a-website-part-1

If your interested in the code, see his public git repository: http://github.com/gregorycollins/homepage/tree/v0.1

Comments Off

Filed under Development, News

Jeremy Shaw creates first Facebook App with Happstack

Math IQ is a simple quiz you can torture all your math-challenged friends with. Hooray for progress on the Haskell web front! It is a small but landmark victory.

 

Check it out at: http://apps.facebook.com/mathiqquiz

8 Comments

Filed under News

Happstack 0.2 Released

It has been one whole month in the making and Happstack 0.2 is finally here — a  lot of love has gone into this release!

Get up and running easily with cabal install

A lot of thought has gone into making Happstack more approachable for the newbie. Assuming you have cabal-install up and running and either ghc 6.8.3 or 6.10.1, you can just:

cabal update && cabal install happstack
happstack new project myproject
cd myproject
# linux
sh bin/run.sh
# windows
bin\run.bat

Open up your browser to http://127.0.0.1:8000 and enjoy a neat guestbook example application you can play with! (Much thanks to Jeremy Shaw for help with this)

What else is new?

  • Generalization of the SimpleHTTP library to ease the pain of wrapping and unwrapping WebPartT’s and ServerPartT’s (Thanks to Daniel Rogers)
  • New experimental gzip filter in happstack-server (similar to apache mod_deflate)
  • Cookie fix from happstack-helpers was integrated
  • HSP & HStringTemplate integration (see the examples in the guestbook app)
  • New combined logging format for Happstack.Server.SimpleHTTP

See the CHANGELOG for details

Documentation

The documentation for toplevel functions has been expanded greatly, much of this work being done by none other than Creighton Hogg. A fresh new version of happstack-tutorial will also be released soon which has details on Multimaster Replication.

Detailed Happstack 0.2 Release Notes have been created which explain how you can port your existing HAppS 0.9 or Happstack 0.1 application. Beyond that there is alot of other very useful information inside. Take a look!

Andrea Vezzosi (Saizan) has created Haddocks for Happstack 0.2.

23 Comments

Filed under Development, Events, News

Happstack now outputs Apache Combined Logs

SimpleHTTP now outputs apache combined logs by default. The idea behind this is that you can now use a tool like AWstats without much fuss. To take advantage of this, you simply need to turn on NOTICE level logging for Happstack.Server using hslogger.

Here is an example of the output.

1 Comment

Filed under Development

Momentum builds as we approach Happstack 0.2

The project contributors (yours truly included) have been busily hacking away at the Happstack codebase. These are some of the features you can look forward too:

  • Much more complete Haddock docs (will be posted on website)
  • By taking advantage of typeclasses, manipulating ServerPartT’s and WebT’s has become much easier inside a do-block
  • A code generation tool and example application to get you started quickly (inspired by the rails command)

Happstack 0.2 will be released on Wednesday, March 4th 2009.

Thats all for now!

Comments Off

Filed under News, Releases

SOCALFP Presentation Slides: “Happstack is better than X”

The SOCALFP presentation was a fun! Thank you to all who participated. The rough outline of the talk goes something like:

  • History of HAppS & happstutorial
  • Happstack announcement
  • Patch-Tag partnership announcement
  • Crash course in HAppS/Happstack
  • Comparative analysis of Happstack vs Rails
  • Job outlook of Haskell community in general

The slides are here. The videos are here. There are also pictures here.

2 Comments

Filed under Events, News

Announcing the launch of the Patch-Tag blog

Patch-Tag  now has a blog for product news and updates. Patch-taggers are encouraged to visit often as we would like to solicit as much feedback as possible from our user community!

Comments Off

Filed under News

Happstack 0.1 Released (one day early!)

After a couple weeks of grueling effort on the communities part, we have finally made it to Happstack 0.1! Happstack is a complete framework designed for building scalable and composable web applications. Happstack 0.1 is mostly compatible with HAppS 0.9.x. Lot’s of thankless maintenance, cleanup, and just all around love has gone into 0.1.

What is new?

  • Compiler warnings cleanup (50-60% less than before)
  • Removal of dead/unused code and modules
  • Test suite framework
  • Bugfixes (including a fix for the getNameInfo crash)
  • Facebook module moved into separate happstack-contrib
  • All lowercase cabal package names!

As 0.1 hits the world, I would like to extend the invitation to anyone to test and abuse this framework and squeeze out any bugs you can! Should you run into a bug, please report it on the issue tracker. As always, anyone who wants to jump in and assist the project should post a thread on the mailing list or speak up in irc (#happs on irc.freenode.net).

How to get it

Happstack 0.1 tarballs are on Hackage for your fetching pleasure. For more information please see the newly minted Happstack download page.

4 Comments

Filed under News, Releases

SOCALFP presentation: patch-tag as a startup using Happstack

Thomas Hartman and I will be giving a presentation on using Happstack as a platform for our startup, patch-tag.com. The presentation is for the Southern California Functional Programmers.

When?

7pm, February 10th.

Where?

4760 Boelter Hall, UCLA campus

Comments Off

Filed under Events, News