• Post Reply Bookmark Topic Watch Topic
  • New Topic

Do I need to parse the record?  RSS feed

Henry Zheng
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am doing the URLyBird assignment and having some troubles with the records in the db file.

My question is: Since the only field matters in the logic of the application is the date field (thanks to the 48 hour rule) and all other fields are never evaluated or modified, I am not about to parse the record and leave the fields all as Strings. In this way, all I need to do is to parse the Date field once and decide whether to display it or not.

Is it OK? I need your opinions.

Another question is regarding to data validation. I'm not doing any validation at server side, but will check the user input at client side(the owner field). Do I need to take extra attention at server side, and is it necessary to validate the data read from the db file?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!