class-design
Core Data entity inheritance --> limitations?
I thought I\'ll post this to the community.I am using coredata, and hav开发者_Go百科e two entities.Both entities have a hierarchical relationship. I am noticing quite a lot of duplicated functionality[详细]
2023-03-09 01:05 分类:问答Package stability metrics, but for specific classes?
I\'m wondering if there\'s a metric similar to the Package Stability Metric defined by Robert Martin that can be used to know when a package should or shouldn\'t depend on another, by its Instability[详细]
2023-03-08 05:56 分类:问答Implementing bidirectional relations between objects of the same class
I have to implement a class whose instances have a bidirectional relation to each other. For example I have the class FooBar which should offer the metho开发者_如何学God sameAs(FooBar x) and maintain[详细]
2023-03-07 03:05 分类:问答check for end of execution of class in java
I have written a small program t开发者_如何学Co validate 3 data files and convert them into a csv file.[详细]
2023-03-06 16:49 分类:问答business layer with multiple objects with all properties filled from DB or one object with only a subset filled
I am building a middle size system and I am facing a problem that probably some of you have faced before. In my business layer I return business objects with a subset of properties that are important[详细]
2023-03-06 15:51 分类:问答PHP Constant Conventions
Greetings StackOverflow I\'m doing some house cleaning and thought I would ask for some suggested practices in PHP as I re-factor my classes.In particular, I have some class constants which fall into[详细]
2023-03-06 03:13 分类:问答To implement a property or to implement a subclass
I\'ve got a class called List_Field that, as the name suggests, builds list input fields. These list input fields allow users to select a single item per list.[详细]
2023-03-05 20:04 分类:问答BinaryFormatter object graph upgrade
In my object graph, I have something like [Serializable] 开发者_如何学Gopublic class Dog { string _name;[详细]
2023-03-05 07:18 分类:问答A better name for INeedSomething...?
I was trying pick a name for an interfa开发者_高级运维ce through which I can pass something into an object like:[详细]
2023-03-04 18:13 分类:问答Why can't you have require* statements in a class definition?
Possibly Related: Why don't PHP attributes allow functions? Pardon me if this has been asked before, but why can you not have something like the following:[详细]
2023-03-04 09:28 分类:问答