Re: Special Interest Groups - HTTP/CGI and SMTP/MIME

"Eric S. Johansson" <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Chris Babcock wrote:
> What I'm really panting for is a socket interface. When netcat is in
> listening mode, it doesn't close stdout until the client closes the
> socket. That makes the keep flag useless for running a server on just
> about any protocol. I want to set up something co-routine-like that
> blocks execution of the crm script while waiting for a network
> connection then spawns a handler thread to deal with the connection
> while the main program goes back to waiting for a new connection.

for me, I suspect there is a minor difference between a demon and forking a
process.  Reason being that I'm switching css and configuration files for every
user.  It would be interesting to see if caching helps at different ratios
between size of cache and number of users.

> 
> Of course one of the reasons that I like CRM as a scripting language is
> that it loads faster than perl:

well, since I consider Perl only slightly more understandable than crm, I'm not
sure this comparison has a high value.  :-) never forget that I'm the person
that coined the phrase "crm is teco on acid".  I'm sure Bill won't.  :-)
although, that saying might make an interesting T-shirt if you had the right
background (still life of sugar cubes and blotter paper?).

Seriously, I do think that Lib CRM biggest value will come from including it in
different languages such as Python, Lua, Ruby etc.  I've tried a bunch of
analysis tools like CRM 114 and quite frankly  it's the best.

...
> Some flavor of scoping or notion of name spaces will have to happen
> before it's feasible to develop library code... and candidly, that's
> what I spend most of my time doing. I've got a dirt simple SMTP client,
> some basic CGI stuff and an HTML template driver. It's surprisingly few
> LOCs, but it's enough that I've put off upgrading to BlameBarack. 

I can understand why you want to implement these protocols in crm.  It's great
if it does something  (intellectually, spiritually, etc.) for you.  I'm using
pre-existing libraries in what I consider to be more comprehensible languages.
That's what floats my boat.  :-)


---eric



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.