Feb 25, 2010 11:31 PM|singhm|LINK
Thanks to all who replied. Sorry for getting back to this after nearly 3 weeks... some health issues did not allow me to concentrate on this. Anyway, all back to normal now.
Regarding the application, here is some more information...
The addresses that I will encounter, will be in the format <floornum> <bldnum>
street num suburb state postcode. The floor number and building number are optional and rest of the fields in the address need to be filled. Now, if people were entering the data with some separator like a comma etc. it would be easy for
me to make out what the user wanted to input, but due to some constraints, I don't have to force the users to input a separator after every field. So basically, the address will be a one liner like google maps and I will need to search for it in the database.
Of course, I will need to use fuzzy logic to cater for spelling mistakes etc.
My question is how do I design the application in an object oriented way? I can think of some class called SuburbMatcher which matches the suburbs or StreetMatcher which matches the streets.
Can anyone please guide me as to how the application should be designed? I am not after the actual address matching logic as I think I can deal with that. Just need some ideas about the design.