Posted By:
anand_narang
Posted On:
Monday, February 25, 2002 05:36 AM
Ok components and objects...
When does one create objects? Lets see everyone is familar with oop right.
Objects are always made with a context in mind whereas a component works independent of context.
An eg. When u create an Inventory application the objects created like customer salesman etc would be incontext with that specific inventory application. Wheras a component would be much more general like a date component or a calendar component etc which could be used across many application and thus needs to have strict contracts and need to abide by it.
Regards
Anand Narang
Posted By:
Bozidar_Dangubic
Posted On:
Sunday, February 17, 2002 04:49 AM
I am sure that there is a million definitions of what the component is out there but your basic thinking about this is that a component is usually something that provides some application functionality is composed of one or many objects. I underlined many to denote that a component can be a set of objects (it usually is a set of objects) which is where your basic difference between component and an object lies.