Groups | Search | Server Info | Login | Register


Groups > comp.lang.functional > #157

Re: Is FP suitable for complex business logic?

From torbenm@diku.dk (Torben Ægidius Mogensen)
Newsgroups comp.lang.functional
Subject Re: Is FP suitable for complex business logic?
References <d4549d3e-39c9-464f-b05c-0d45a500acbf@glegroupsg2000goo.googlegroups.com>
Date 2011-08-08 16:15 +0200
Message-ID <7zaabkt2ev.fsf@ask.diku.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


Simon Shi <simonshi@gmail.com> writes:

> Let me describe the current application:
> 1. maintaining hierarchical resources (e.g. companies has dozens of departments, one department has hundreds of workshops, one workshop has thousands of workers), data organised like a tree.
> 2. Create/Modify/Delete these resources will do various calculations, e.g. decrease total quota in upper-level resource based on its properties and upper-level's properties; configuring several workshops as a group, thus need to involve them all in some calculations. 
> 3. each resource will setup(Cre/Mod/Del) corresponding Hardware resource, so the resource node contains not only properties but also HW related data, the data in the tree grows continuously in development. (it's now very big one)
> 4. calculations changes: add new one, involve/discard some parameters, etc.
>
> After several years change, many functions created/modified based on the big data tree, looks like a big ball of mud, it's a maintain nightmare.
>
> So, do you have suggestion on how to organize the desgin? is there any opensource project solved a similar problem?

See http://www.3gerp.org/, which does much of what you want (and a good
deal more).  And it is mostly imlemented in Haskell.

	Torben

Back to comp.lang.functional | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Is FP suitable for complex business logic? Simon Shi <simonshi@gmail.com> - 2011-08-02 23:32 -0700
  Re: Is FP suitable for complex business logic? torbenm@diku.dk (Torben Ægidius Mogensen) - 2011-08-08 16:15 +0200
  Re: Is FP suitable for complex business logic? Rock Brentwood <federation2005@netzero.com> - 2011-09-30 21:00 -0700

csiph-web