First  |  Prev |  Next  |  Last
Pages: 53 54 55 56 57 58 59 60 61 62 63 64 65 66
When not to use interfaces?
Hi all, Programming to interfaces rather than objects do benefit a lot, but it is not always a good idea to have everything implements from interfaces, sometime we just need classes without obeying any interfaces, such as entity (DTO, whatever), some other things. I wonder in what siutations, we would like to use ... 4 Nov 2006 13:18
MSI WindowsInstaller.Installer List of products
rony wrote: Hi, I am using the following code : WindowsInstaller.Installer i = null; Type oType = Type.GetTypeFromProgID("WindowsInstaller.Installer"); if (oType != null) { i = (WindowsInstaller.Installer)Activator.CreateInstance(oType); } WindowsInstaller.StringList s = i.... 2 Nov 2006 08:37
Relational database & OO
My question relates to good design when it comes to creating an OO application that uses a relational database to store most of its data, how do people go about designing and storing the data once it has been retrieved from the database? Do you keep it as records, or when you get the data, do you create collections... 16 Nov 2006 11:22
object databases
I posted this to comp.databases, but then it came to me that you guys might provide some suggestions, sorry if this is an OT: So after years of using strictly relational databases, I've begun to consider an alternative. Object databases seem compelling, especially since the data in the project I'm mostly invol... 12 Nov 2006 10:38
Advantages of object-oriented programming
Stefan Ram wrote: I was trying to write about the "advantages of object-oriented programming". Some other texts about this topic write sentences like - methods are kept with related data as one object - inheritance helps to reuse code But I did not wish to follow these lines,... 5 Nov 2006 16:02
Same object passed as multiple function parameters in static-typedlanguages
Responding to Squeamizh... In C++, I need to pass a single object in the form of several references to a function. Something like this: class Child : public InterfaceA, public InterfaceB, public InterfaceC { }; void do_something(InterfaceA& same_object_a, InterfaceB& same_object_b, Interfac... 22 Oct 2006 11:01
HOM: Higher Order Messaging
Hi Can someone explain me on Higher Order Messaging and how it is used in Java? thanks Srinivas Ivaturi, ... 7 Nov 2006 18:02
Relational database notation question
Might be a silly question, but having been out of the relational database field for a few years (doing OO stuff instead) - whats with this silly new notation thats on Wikipedia (If I type in ERD I get taken to a page with Entry Relationship Model) as its title.. I'm familiar with the old crows feet symbol notatio... 15 Oct 2006 22:42
Factory pattern
Just going through object oriented spaghetti of patterns, factories, managers, controllers, listeners and the other junk in medium size project. I see that GOF made a great disservice to programming community by publishing their "masterpiece". How could a normal person understand all of these. Take a look at htt... 26 Oct 2006 23:38
design problem
Hi everyone, Consider following design: Employee -> IPaymentStrategy With following characteristics: - payment strategies are Salaried and HourlyPayed - each concrete strategy holds strategy relevant data (Salary or Hours and Wage respectively) - the Employee has CalculatePay() method which delegates to t... 10 Oct 2006 03:36
First  |  Prev |  Next  |  Last
Pages: 53 54 55 56 57 58 59 60 61 62 63 64 65 66