[erlang-questions] Design methodology going from Object oriented to functional programming?
Mon Oct 22 16:19:00 CEST 2007
I had obviously totally overlooked the processes aspect!
So, for example in a session-full web application, the initial
logical step would be to define one process per connected user and
see if in addition to that some other services could be made
concurrent by adding processes. The supervision tree is less clear
for me, especially in a web application. I suppose if you distribute
processes on several nodes, you want to make sure the connected user
process is notified in case of a problem and the faulty process gets
Related to this, I will also have some questions about fault
tolerance, but this will be the subject of another mail.
Le 22 oct. 07 à 16:07, Vance Shipley a écrit :
> As a Concurrency Oriented Programming Language (COPL) the first
> thing I believe you want to do is to decide what processes you
> will use. After modeling the concurrency aspects the next thing
> I do is to model the supervision heirarchy. Only after this is
> done do I reason about what a user API will look like.
> On Mon, Oct 22, 2007 at 02:47:44PM +0200, Alexander Lamb wrote:
> } Indeed, in the object oriented world, I would start by finding
> what my
> } classes might be and the relationship between them. Gradually I
> would add
> } functions (class or instance methods) to the classes in order
> to provide
> } solid foundations on top of which I can write an application.
4 ch. de la Tour de Champel
Tel: 022 347 77 37
Fax: 022 347 77 38
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions