code-reuse
Advice on filtering data and code reuse with Onion Architecture
Here are my questions and then I\'ll give you the background for them: I would prefer to use Method 2 as my application design, so is there a way to provide filtering like Method 1 without introduci[详细]
2023-03-18 18:52 分类:问答Logic code reuse between apps for Android and other platforms: To ContentProvider or not to ContentProvider?
I\'m developing an app which I want to make available both for Android and Blackberry (possibly to JavaME in the future). The business logic will be common to all the platforms - and hence, so will th[详细]
2023-03-18 06:43 分类:问答How to reuse list items for asp:DropDownList controls?
I have an .aspx page which contains two <asp:DropDownList> controls which are filled with static items like so:[详细]
2023-03-18 05:33 分类:问答Xcode & iPhone - Best way for reusing code within multiple projects?
What is the best way to reuse code within projects? Let\'s say I im开发者_StackOverflow社区plemented a UI Element and I want it to be used in both my iphone and ipad application without having to cop[详细]
2023-03-17 05:54 分类:问答How do you make a control reusable in different projects?
Is there a way to not put the project name in the Inherits attribute? I am working with vb and I have multiple projects, that have multiple web pages.[详细]
2023-03-14 14:10 分类:问答Automate Finding Pertinent Methods in Large Project
I have tried to be disciplined about decomposing into small reusa开发者_Python百科ble methods when possible. As the project growing, I am re-implementing the exact same method.[详细]
2023-03-10 04:37 分类:问答Reusing codes between in two similar subclasses Objective C
I have a bit of code that I use to draw a border around a NSTextField when mousing over it, and while editing it, as well as to have it resize vertically when the user is typing. I want to use this co[详细]
2023-03-09 04:08 分类:问答How to share entity C# class, with DataContract attribute, between Silverlight and.Net 4 projects
I want to build a WCF REST service, consumed by a Silverlight app, and want to check if there is a good way to share the entity class between the w开发者_如何学JAVAeb wcf project and the Silverlight p[详细]
2023-03-07 05:59 分类:问答How to avoid repeated code?
I\'m still quite new to programming and I noticed that I\'m repeating code: protected void FillTradeSetups()[详细]
2023-03-06 22:07 分类:问答Demonstrate first-class functions in this simple example [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-03-06 07:20 分类:问答