• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

RESTful Controller Method Names

Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is it true that the naming convention for RESTFul controller methods should not be verb based like i wanted my controller methods to be named as

showDocumentType, editDocumentType and listDocumentType, searchDocumentType, addDocumentType

is it true all RESTFul controller method names should be based on HTTP methods as in

getDocumentType, setDocumentType, putDocumentType

How would a new developer make out for what functions are performed by this controller. I wanted my Controller methods to map to functional specification Use-Cases

Please let me know what are best practices and what should be done in my case?
    Bookmark Topic Watch Topic
  • New Topic