Ask HN: Interested in collaborating on a small site using this novel style?
I've been programming since 2002 but design and architecture has always been my thing. I'm not fussy who I work with as long as you are nice. Just want to do something with someone else for a change
What the website does doesn't matter much to me. I was going to do a Twitter clone because that's very simple and everyone gets what it is supposed to do/be. But it could be anything really
I really want to try using a layers-based architecture where data goes through a pipeline starting with the database and HTTP request, through various stages, until a response is formed and sent to the client; sort of analogous to the way a compiler works. It's a bit different from MVC and I think it could be pretty sick :)
Here's a rough rundown of the architecture: http://pastebin.com/he89yYHC I could explain it in more detail to anyone interested
I also have a flexible design process that would allow the design within each of these layers to emerge quite naturally so it's not big design up front
If interested please tweet at me @parallelist_ or respond to this thread here
Thanks!
8 comments
[ 3.8 ms ] story [ 30.5 ms ] threadI’m not completely against Clojure. I tried it for a couple of weeks many years ago and found it kind of difficult somehow. I’ve done a reasonable bit of Haskell since so it would probably be better now. My first choice for a lisp would be Racket. I’m not saying no, we’d have to discuss it more I think. Isn’t the big justification for Clojure the Java libraries?
I'm conflicted whether dropping the known patterns and established terms for this architecture is a good or bad idea, but it's interesting nonetheless. It's quite hard for a newcomer to grasp and implement MVC correctly, an architecture with clearer nomenclature and concepts might be helpful.
My action layer is definitely fatter than the usual model because it does all the real work (that which persists) associated with a particular request. You could argue it is equivalent to involving several of the traditional models. I think it might also be fair to state that this represent an absence of architecture in that particular area and I would agree but there is nothing to suggest that you couldn’t create models with the action layer if you felt it was useful. Strictly speaking I’m against that sort of thing until I see a good case in front of me why I should do it. Writing queries is not so bad that I want to put something in front of it to automate it