Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Contractors Exam general design question

 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like most of the exams a requirement of mine is to allow searching and
booking of some sort. It does not mention anything about allowing for
deletion or the adding of records via the GUI. However, the interface
they say I MUST implement has deleting and adding methods!!!?? This
confuses me. Has anyone had similar issues?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. I'd say, do implement the interface as described, making sure each method actually does what the API says it should. However, that's just the data access interface. Your GUI does not need to support all these operations - just support the ones that they specifically ask for in the instructions as things that users need to actually do. Many of the data interface methods will be unused - but that's OK.
Look at it this way - what if someone wanted to enhance the program later? Perhaps management wants someone to create an editor which allows users to create/update/delete records from the DB. Obviously this would require an entirely new GUI. (Well, maybe some components are reusable, but not many.) However if the data access methods are implemented as requested, and if your networking code also supports them (not difficult once the networking is set up; you just forward calls to the DB) then everything but the GUI code is reusable, needing no further change. This seems like it might be what management has in mind - they have specified an interface with create and delete methods, even though the GUI doesn't use them. So I think they plan to have these methods used in some later project.
 
Bill Robertson
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a ton
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic