hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-httpclient Wiki] Update of "ForAbsoluteBeginners" by RolandWeber
Date Sun, 07 May 2006 06:47:33 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-httpclient Wiki" for change
notification.

The following page has been changed by RolandWeber:
http://wiki.apache.org/jakarta-httpclient/ForAbsoluteBeginners

The comment on the change is:
added "bad practice" warning as suggested by Odi

------------------------------------------------------------------------------
  At this time, we don't have a specific example which could be developed
  into a sample application. So this document is all bla-bla, and you will
  have to work out the details - all the details - yourself. Such is life.
+ 
+ 
+ === Caveat ===
+ 
+ This scenario describes a hobbyist usage of HTTP, in other words:
+ '''a bad practice'''. Web sites are designed for user interaction, not
+ as an application programming interface (API). The interface of a
+ web site is the user interface displayed by a browser. The HTTP
+ communication between the browser and the server is an internal API,
+ subject to change without notice.
+ [[BR]]
+ A web site can be redesigned at any point in time. The server then
+ sends different documents and a browser will display the new content.
+ The user easily adjusts to click the appropriate links, and the browser
+ communicates via HTTP as specified by the new documents from the server.
+ Your application that only mimicks a browser will simply break.
+ [[BR]]
+ Nevertheless, implementing this scenario will help you to get
+ familiar with HTTP communication. It is also "good enough" for
+ hobbyists applications, for example if you want to download the
+ latest installment of your favorite daily webcomic to install
+ it as the screen background. There is no big damage if such an
+ application breaks.
+ 
+ If you want to implement a solid application, you should use only
+ published APIs. For example, to check for new mail on your webmail
+ account, you should ask the webmail provider for POP or IMAP access.
+ These are standardized protocols supported my most EMail client applications.
+ If you want to have a newsticker, look for RSS feeds from the provider and
+ applications that display them.
+ [[BR]]
+ As another example, if you want to perform a web search, there are
+ search companies that provide an API for using their search engines.
+ Unlike the examples before, such APIs are proprietary. You will still
+ have to implement an application, but then you are using a published API
+ that the provider will not change without notice.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message