• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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!
 
Straws are for suckers. Now suck on this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic