To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10392
10391  |  10393
Subject: 
Re: Massive LDraw file repository
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 11 Jan 2006 17:15:54 GMT
Viewed: 
2801 times
  
Using email for the transport here is just adding comlication - why
not just have a web API that the remote repos use to notify of
updates?  Could be a fancy SOAP/REST interface, or a simple POST
form.

I find it easier to make a script dump an e-mail with some text in a
mailbox than to hack a HTTP POST form.

I think HTTP is more reliable in unknown environments...  From the
server side, the HTTP method might be more complex, but keeping the
complexity on the server side is better than making complex clients.

I use HTTP POST to have my work computers talk to databases and it
seems very unreliable because if there is a network problem, the
request dies then and there.  But if I use email, the server will
keep retrying.

But I agree, HTTP POST is easy if you use curl or wget.

However, why not support both?



Message has 1 Reply:
  Re: Massive LDraw file repository
 
(...) You can, of course, support both. The reason I say SMTP is less reliable on the client side is because you can't know if they even have an mail program, much less what it is or how it works. In an environment you're controlling (like work) (...) (18 years ago, 11-Jan-06, to lugnet.cad.dev)

Message is in Reply To:
  Re: Massive LDraw file repository
 
(...) I think HTTP is more reliable in unknown environments... From the server side, the HTTP method might be more complex, but keeping the complexity on the server side is better than making complex clients. (...) Right - the clients pushing data (...) (18 years ago, 10-Jan-06, to lugnet.cad.dev)

26 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR