• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ideas for my project please

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have developed a message board based rest web services. Now, i want to develop another web service charged of collecting users' actions in this forum. Can you give me some ideas for the developement of this service.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Have you considered classifying the different actions?
For instance, categories related to message topics may be create, reply and read.
Then if you have a message topic with the id 12345, you could retrieve the creator of the topic using, for instance, http://mymessageboard.com/topics/12345/creator and the people that have replied to the topic using, for instance, http://mymessageboard.com/topics/12345/replies.
To retrieve the topics read by the user with id 45678, you could use http://mymessageboard.com/users/45678/readmessages and to retrieve unread messages http://mymessageboard.com/users/45678/unreadmessages.
Hope this will give you some new ideas.
Best wishes!
 
reply
    Bookmark Topic Watch Topic
  • New Topic