[colug-432] protocols (Re: SSH)

Richard Troth rmt at casita.net
Tue Mar 8 18:07:04 EST 2011


Hmmm...
I suppose that depends on what methods you use for development.  To me,
plain text protocols are more effective in test driven development.  You can
write one or two "test" clients in the scripting language du jour.  Extend
the server, test, extend again, test, fix stuff, test again.  But try that
method with, say, NFS.  Ewww.

Sure, arbitrary length needs conscious handling.  HTTP did that already.  So
did SMTP.  Many ways to do it.

A really sweet one is XMPP.  It's one byte guzzling XML stream.  But it's
readable (sort of).

With plain text protocols, you can write your server as a shell then throw
it under 'xinetd' or 'inetd' and dispense with the TCP handling.  Ahhh...

This stuff is gorgeous.  I gotta make you a convert, Jeff.   :-)

-- R;   <><





On Tue, Mar 8, 2011 at 17:56, Jeff Frontz <jeff.frontz at gmail.com> wrote:

> Plain text protocols are (often) nice for debugging, but they're
> painful to write robust software around (just how to you make sure you
> can handle everything about a protocol that has a message that can be
> any arbitrary length and that gives no clue as to how long it might
> be?  SIP anyone?)
>
> Jeff
>
> On Tue, Mar 8, 2011 at 5:51 PM, Richard Troth <rmt at casita.net> wrote:
> >  I honestly love plain text protocols.  Wish we had more of
> > them, then cover with SSL when needed.
>
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20110308/1d4f57d8/attachment.html 


More information about the colug-432 mailing list