Hi everyone,
I'm having a bit of trouble wrapping my head around creating an OOP application. I've done the tutorials, bought the books and done numerous examples. However, I am not building anything that involves a customer, a user, a car and/or bike and certainly not an "ideal chair". What I am building is a lot of conversion tools (ie txt - InDesign, inDesgin - html, html - xml, etc.). So far I've been doing it successfully but the code would make you all cringe. Things are seperated by size rather than classes, etc. So here's the question, if one of you we're going to write a conversion tool from tagged text to html, what would your classes look like? The code isn't my problem, but if you could give me a couple of examples of the properties and methods that would send me in the right direction I'd be very thankfull.
Thank u all very much.
I'm having a bit of trouble wrapping my head around creating an OOP application. I've done the tutorials, bought the books and done numerous examples. However, I am not building anything that involves a customer, a user, a car and/or bike and certainly not an "ideal chair". What I am building is a lot of conversion tools (ie txt - InDesign, inDesgin - html, html - xml, etc.). So far I've been doing it successfully but the code would make you all cringe. Things are seperated by size rather than classes, etc. So here's the question, if one of you we're going to write a conversion tool from tagged text to html, what would your classes look like? The code isn't my problem, but if you could give me a couple of examples of the properties and methods that would send me in the right direction I'd be very thankfull.
Thank u all very much.