Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
sketch of an approach
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kurt  
View profile  
 More options Oct 23 2007, 5:29 am
From: Kurt <kwil...@gmail.com>
Date: Tue, 23 Oct 2007 22:29:03 +1300
Local: Tues, Oct 23 2007 5:29 am
Subject: sketch of an approach
Hi all,

an attempt at breaking down the current theory into
a few practical steps, my thought is that we could
follow a *very* simple path like :

1. Simple TCP (echo?) Server

2. Simple TCP Server launching Erlstomp sessions

3a. Simple TCP Server with Subscriptions
3b. Replace Simple TCP Server with gen_server

Not sure whether 3a or 3b should come first, but that gets us to :

4. gen_server + subscriptions
    = Erlstomp Session + Erlstomp Subscription + Erlstomp Server
    = start of /actual/ erlstomp project

Its a pretty slow start, and presumably some people who've read Joe's
book, or are otherwise sufficiently advanced, would be starting at 4.
I haven't (hurry up, Amazon!), so I'm biased towards beginner-ness,
and if I'm being overly cautious jump up and down and wave or
something:)

Cheers, Kurt.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kurt  
View profile  
 More options Oct 30 2007, 12:02 am
From: Kurt <kwil...@gmail.com>
Date: Tue, 30 Oct 2007 17:02:59 +1300
Local: Tues, Oct 30 2007 12:02 am
Subject: Re: sketch of an approach

Kurt wrote:
> Its a pretty slow start, and presumably some people who've read Joe's
> book, or are otherwise sufficiently advanced, would be starting at 4.
> I haven't (hurry up, Amazon!), so I'm biased towards beginner-ness,
> and if I'm being overly cautious jump up and down and wave or
> something:)

So, my PE arrived (yay, Amazon!).
But.
It completely blows the above approach out of the water.
If you've not read the book and are interested in Erlang you
really should read it.

The big things from the book that affect erlstomp are :
  - *very* simple approach to gen_server
  - example irc server
  - example shoutcast server
  - intro to ets/dets and Mnesia

(Shoutcast shows how to do sockets, haven't read IRC chapter yet,
but pretty sure its gen_server and its doing very similar things
to Stomp (clients-messages-servers, and irc channels are reasonably
similar to Stomp subscriptions).

I'm going to read a bit more, but with other things won't be coding
for a while yet.
 From reading a few chapters, it looks as if it should be possible
to do the basics of an erlstomp server in a few hours or less.
Anyone keen? If not, I'll see if I can do something in week or so.

Cheers, Kurt.
ps : list is pretty quiet (think everyone has gotten busy, no?)
But I'm keen to do an erlstomp for myself anyway, so will keep
muddling along with it (and sending messages to the list) until
either someone writes it for me or Tomasz unsubscribes me :)
Under the assumption that anyone will jump in and push things
in a particular direction at the stage it gets interesting to them
or they're frustrated about moving too slowly.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »