Forums Register Login

Urlybird 1.1.1

+Pie Number of slices to send: Send
Just got my assingment downloaded. Any one here working on same project?
Any information on how to implement the datafile?

Thanks

SCJD(urlybird un the way)

[ August 12, 2008: Message edited by: Alenkhe David ]

[ August 12, 2008: Message edited by: Alenkhe David ]
[ August 12, 2008: Message edited by: Alenkhe David ]
+Pie Number of slices to send: Send
Below are the UI requirements for my assingment

It must be composed exclusively with components from the Java Foundation Classes (Swing components).
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 specified by the user.
It must present search results in a JTable.
It must allow the user to book a selected record, updating the database file accordingly.

My question is :
Do i provide the UI with create and delete functions; because this methods are in the DB interface.
+Pie Number of slices to send: Send
Hi David,

You should follow the must condition in your requirement. According to your requirement, you should provide the functionality in your UI for booking the record. After booking, the corresponding record should be updated in db. You can implement other functionalities in UI but they are not mandatory and also you will not get extra points

I have used RAF for reading the db schema. Btb, my assignment is B&S.

all the best
sat
+Pie Number of slices to send: Send
 

Do i provide the UI with create and delete functions; because this methods are in the DB interface.



No, partner.
+Pie Number of slices to send: Send
Hey guys,

Thanks for the reply, since my UI doesn't need a create and delete functionality. I am thinking of throwing an UnsupportedOperationException i.e in my Data class that implements the DB interface

example code
+Pie Number of slices to send: Send
What if other GUIs (other than yours) do support these operations and use your implementation of the Data class?
+Pie Number of slices to send: Send
this is the customer id specification:
Note that for this application, you should assume that customers and CSRs know their customer ids. The system you are writing does not interact with these numbers, rather it simply records them. If this field is all blanks, the record is available for sale.


All the fields in my db file all have thier customer id blank which means its available for sale(booking).

UI specs says :
It must allow the user to book a selected record, updating the database file accordingly.

question is:
do i allow the UI to update the customer id field? because there is no way to book a record with out a customer id.
[ August 14, 2008: Message edited by: Alenkhe David ]
+Pie Number of slices to send: Send
 

do i allow the UI to update the customer id field? because there is no way to book a record with out a customer id.



Yes, partner. You have to provide a way for the user to update the record's customer id field, but this is the only field that needs to be updated in the record.
+Pie Number of slices to send: Send
Okay thanks partner.

My spec says something; they take bookings only within 48 hours of the start of room occupancy.

I am going to implement this; below is a test for comparing dates.


did you implement the 48hour rule in your code? i am thinking of roling out my own exception i.e dateoccupancy exception .

Send me your thoughts Thanks.

[ August 14, 2008: Message edited by: Alenkhe David ]
[ August 14, 2008: Message edited by: Alenkhe David ]
+Pie Number of slices to send: Send
There are many who did not implement the 48-hour.
I implemented in my case, but it was a really simple implementation.
I suggest you document carefully this choice, whatever it is.
+Pie Number of slices to send: Send
Alenkhe

Please use one thread per question

Thanks

Andrew
+Pie Number of slices to send: Send
Okay thanks for the info; i would use one thread per question
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2245 times.
Similar Threads
URLyBird create method
URLybird
interaction with customer id?
Doubt about recNo in URLyBird 1.1.2
URLyBird: Read data file
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 07:02:04.