• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help defining shopping website functionalities.  RSS feed

 
Sammy Bill
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I m working on implementing the business logic layer for a shopping website.
I have defined the following functions:

getCustomer(String)
getOrderForCustomer(String)
getOrderStatus(long)
GetProductDetails(String)
getProducts()
login(String)
register(Customer)
searchForProducts(String)
updateCustomer(String, Customer)
forgetPassword(Customer)


Can you suggest some more functions ( expect shoppingCart functions as i will implement it in the presentation layer) ?

Thanks
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those sound somewhat like methods. If so, then I think you're going about it the wrong way. Before you define methods, there should be use cases and an object model. Once you have those it should become much easier to create useful methods.
 
Sammy Bill
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Ulf Dittmer wrote:Those sound somewhat like methods. If so, then I think you're going about it the wrong way. Before you define methods, there should be use cases and an object model. Once you have those it should become much easier to create useful methods.


Thanks for the replay

those methods are coming from use cases.

I think it is better to ask for other use cases instead other functions?
any other helpful use cases?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!