• 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

URLYBird Search Requirement

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

In the URLy Bird specs, it says '...It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values speficied by the user'

search all records - Does this mean when both fields are empty, clicking the search will display all results?Or when loading the page it should already display all the results and that's it?Which of the two is better to implement?

name and/or location fields - Does this mean there should be a flag for 'name AND location search' and a flag for 'name OR location search?


thanks in advance,
tim
 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,
I am also planning to give the SCJD Test. Please could you give me the specs so that i can get a understanding of how the questions are.
Thanks in advance
Sameer
 
Sam Codean
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops i am sorry i did not read the rules where it said we should not exchange the questions!!
I am sorry!!
I think i will wait till i get the Question for me ;-)
-Sameer
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,

When this issue has been discussed in the past, we have come to the conclusion that it is badly worded English (possibly deliberatly ). With that in mind, how you handle this can come down to your interpretation of that sentence.

My personal interpretation is:
  • It must allow the user to search the data for all records, or
  • It must allow the user to search the data for all records where the name field exactly match values speficied by the user, or
  • It must allow the user to search the data for all records where the name and location fields exactly match values speficied by the user, or
  • It must allow the user to search the data for all records where the location fields exactly match values speficied by the user

  • I believe this meets the requirements (and I didn't loose points in my GUI or Data classes for doing this), and makes my life much easier than trying to allow an "and/or" option on the client side (with it's associated re-evaluating of search results on the client side).

    Regards, Andrew
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic