Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Examples of functional programming in very large web applications?
9 points by whichdan on Jan 12, 2012 | hide | past | favorite | 4 comments
I've been writing object oriented PHP for years, and I'm having trouble wrapping my head around how the equivalent of a large Rails or Symfony project would be structured using functional programming. (To be clear, I've only really played with Racket tutorials so far.) I've seen a few examples of functionally programmed apps, but they're usually not much larger than a small blog. Could anyone recommend large open source project, or point me in the right direction?


Lift is a powerful web framework which makes use of many of Scala's functional and object-oriented features, so it'd be worth looking at the Getting Started guide: http://simply.liftweb.net/index-Chapter-2.html#toc-Chapter-2


Paul Graham's Viaweb was written in Lisp. http://www.paulgraham.com/vwfaq.html

Reddit was too before switching to Python. http://blog.reddit.com/2005/12/on-lisp.html


If you are interested in erlang ChicagoBoss is a rails like framework for erlang. http://www.chicagoboss.org/


Haskell has the Yesod web framework: http://www.yesodweb.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: