Skip to content
  • Stuff
  • Travel
  • Beverages
  • Support Antipaucity
  • Projects
  • About

antipaucity

fighting the lack of good ideas

restful webservices

Posted on 15 August 201215 November 2012 By antipaucity 1 Comment on restful webservices

My friend Steven recently wrote about linguistics in webservices.

In it he postulates that since all “good code” should resemble speech, webservices should use linguistically-tied approaches to their APIs. In short, it’s an article on RESTful websites being used in a linguistically-understandable way.

For example:

http://searchengine.com/search/keyword1/keyword2/not:keyword3

should run your query against the search engine, so you can always tell what it is doing, and how it works.

Personally, I think this is a great idea – it goes with the concept that all URIs should be truly “permanent”, and that the web should be understandable by mere mortals.

I am perennially surprised that companies use horrid URL formats when simple ones can be done. For example, WordPress uses a .htaccess file and Apache’s mod_rewrite to make URLs look nice.

Why can’t Newegg do the same? Surely “http://www.newegg.com/Product/ProductList.aspx?Submit=ENE&N=100019151%2050001707&IsNodeId=1&name=Activision&SpeTabStoreType=8” is not friendly to remember, or to query outside of the site itself. And that’s only a small example – the more filters added, the worse the URL becomes.

Then consider the URLs that get created when a site uses something like FeedBurner to handle its RSS feeds – heaven help you those URLs can look ugly!

Creating a RESTful approach is not all that difficult, and every web developer should be required to do it.

technical Tags:linguistics, restful, webservices

Post navigation

Previous Post: rebooting the bglug
Next Post: next bglug meeting: topic ‘raspberry pi’; speaker jordan keyes; 1900 (7p) 20 september @collexion hackerspace

More Related Articles

a perfect hash function? insights
programming your home by mike riley books
above the cloud storage cool
soup to nuts mirroring of centos technical
this is not the year of the linux desktop insights
storage strategies – part 4 technical
August 2012
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Jul   Sep »
RSS Error: WP HTTP Error: cURL error 60: SSL: no alternative certificate subject name matches target hostname 'paragraph.cf'

Books

  • Debugging and Supporting Software Systems
  • Storage Series

External

  • Backblaze
  • Cirkul
  • Fundrise
  • Great Big Purple Sign
  • Password Generator
  • PayPal
  • Tech News Channel on Telegram
  • Vultr
  • Wish List

Other Blogs

  • Abiding in Hesed
  • Chris Agocs
  • Eric Hydrick
  • Jay Loden
  • Paragraph
  • skh:tec
  • Tech News Channel on Telegram
  • Veritas Equitas

Profiles

  • LinkedIn
  • Server Fault
  • Stack Overflow
  • Super User
  • Telegram
  • Twitter

Resume

  • LinkedIn
  • Resume (PDF)

Services

  • Datente
  • IP check
  • Password Generator
  • Tech News Channel on Telegram

Support

  • Backblaze
  • Built Bar
  • Cirkul
  • Donations
  • Fundrise
  • PayPal
  • Robinhood
  • Vultr
  • Wish List

35-questions 48laws adoption automation blog blogging books business career centos cloud community documentation email encryption facebook google history how-to hpsa ifttt linux money networking politics prediction proxy review scifi security social social-media splunk ssl startup storage sun-tzu tutorial twitter virtualization vmware wordpress work writing zombie

Copyright © 2025 antipaucity.

Powered by PressBook Green WordPress theme