Re: Architecture for a Clojure project

2011-05-27 Thread László Török
IMHO, CQRS and CEP are identical at conceptual level, but they have been established by people having different backgrounds, thus cooking up different vocabulary for these practices. Practitioners tend stress different aspects of the system but essentially they're rather trying to solve same class

Re: Architecture for a Clojure project

2011-05-27 Thread Paul deGrandis
The architecture of a large system should designed independent of the language in which you're working You should strive to identify the architecture styles you need for your problem domain, and then intelligently compose them with connectors that help fulfill your nonfunctional requirements/guara

Architecture for a Clojure project

2011-05-26 Thread Max Weber
Hi, imaging you could do a software project from scratch and Clojure is the main programming language. What architecture would you choose? Of course it depends, so here are some requirements and basic conditions: - Let's assume that we are building a web application for some social media st

Re: Architecture for a clojure project

2009-05-26 Thread Meikel Brandmeyer
Hi, Am 26.05.2009 um 14:15 schrieb Rich Hickey: Yes - keep your functions out of your data. If you are used to engine.getMove(position) it becomes: (get-move engine position) If you want polymorphism you can make get-move a multimethod. If the 'engine' concept is only about code (e.g. has no

Re: Architecture for a clojure project

2009-05-26 Thread Rich Hickey
On May 25, 9:17 pm, Andrew Wagner wrote: > I'm trying to wrap my head around how to architect this project. I've got > some functional programming experience (with Haskell), but am pretty new to > Lisps, and feel a bit lost without the type system. > > So. The project is a chess AI. Now the nic

Re: Architecture for a clojure project

2009-05-26 Thread max3000
I really like the above class solution (but maybe its my OO background! ;). Howerver, I thought gen-class wasn't doing anything when not AOT-ing. In other words, unless you are doing AOT compilation, gen-class shoudn't be used. Did I miss something? Thanks, Max On May 26, 1:23 am, Daniel Lyo

Re: Architecture for a clojure project

2009-05-25 Thread Daniel Lyons
On May 25, 2009, at 7:17 PM, Andrew Wagner wrote: > Seems straightforward enough. My difficulty though comes in trying > to figure out how to write the winboard bit. I know how to do the IO > stuff, that's pretty trivial. But, let's say I'm ready to ask the > engine what move to make in a p

Re: Architecture for a clojure project

2009-05-25 Thread Konrad Hinsen
On 26.05.2009, at 03:17, Andrew Wagner wrote: > Seems straightforward enough. My difficulty though comes in trying > to figure out how to write the winboard bit. I know how to do the > IO stuff, that's pretty trivial. But, let's say I'm ready to ask > the engine what move to make in a parti

Architecture for a clojure project

2009-05-25 Thread Andrew Wagner
I'm trying to wrap my head around how to architect this project. I've got some functional programming experience (with Haskell), but am pretty new to Lisps, and feel a bit lost without the type system. So. The project is a chess AI. Now the nice thing is, there's a protocol for interacting with a