Hi Tim,
Could you please share your valueable inputs on following questions?
1. Why and when Object and Object Methods are required?
2. What benefits they provide to the applications?
I know how to create Object Type and their methonds but exactly at what time and purpose I don't know.
I also googled at lot but unable to locate any scenario where Object and Object Methods are required.
P.S: I am asking this because few days back "Code Review Team" of my company has reject my code from performance standpoint ,
saying that Object Type and Methods will be more suitable.The following was my requirement.
**As per our application functionlity , our database require certain parameters(we call them global parameters) to be set through GUI.
My design was,
------------------
1. I had created "GParmeters" table to store the GUI Parameters settings.
2. Also created some functions which can be applied over the GUI parameters values. For example: function to extract comma separated values.
Suggested design by the code review team was:-
---------------------------------------------------------
1. "GParameters" table is fine.
2. In place of standalone function , they suggested me to create "Object" and "Object Methods"(for comma separation).
Their goal was to cache the values of "GParameters" table through the use of Object Constructor funtion
so that the "Object Methods" can be applied on these cached values(for comman separation purpose).
This they think will improve the system performance.
Please suggest what benefits object will produce here:-
Thanks & Regards,
Anand Kumar Ojha