Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: do you provide create/add/update/delete GUI ?

 
Bigwood Liu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The instruction dosen't tell us to provide the create database/add record/update record/delete record GUI, but there is such methods in Data class, how do you deal with these methods, leave it alone there? Need your opinion.
Regards, Damu
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Damu,
Yes, create() and delete() won't be used, but you need to implement them.
Best,
Phil.
 
Bigwood Liu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Phil.
 
Light Wan
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Philippe,
I implemented create() and delete() in the client side, but not in the client viewer, just in the DataAccessFacade class. Shoud i implement thse methods in the client viewer but not export to user?
Best Regards.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Light,
I would suggest leave it as it is.
Regards, Andrew
 
Bigwood Liu
Ranch Hand
Posts: 240
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Light,
I implemented these two methods in the Data class. And I don't think you must provide such function in server viewer(if you provide).
Regards,
Damu
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Light,
Sorry, but I missed your post.
I agree with Andrew. It'd been OK if you didn't (because the client doesn't need those methods to work), but if/as you did, it's OK too.
Best,
Phil.
 
Light Wan
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andrew, Philippe, damu
Thanks for your advice. I follow the principle now. Thank you very much!

Regards,
Light
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic