code-reuse
Python, Django, how to use getattr (or other method) to call object that has multiple attributes?
After trying to get this to work for a while and searching around I am truly stumped so am posting here... I want to make some functions in classes that I am writing for django as generic as possible[详细]
2023-01-16 02:38 分类:问答What am I doing wrong with reusable Django apps?
Almost always when I try to use a re-usable django app, I e开发者_运维百科nd up doing a lot of integration work and/or the end result is really messy.[详细]
2023-01-15 22:46 分类:问答Django / Python, Make database save function re-usable (so that it takes modelname and appname from strings), using contenttypes or some other method?
I want to make some functions that are re-usable by any model so that I can specify the appname开发者_JS百科 and model in string format and then use this to import that model and make calls to it such[详细]
2023-01-15 16:19 分类:问答Reusing tasks in SSIS
How can a task be reu开发者_运维百科sed in SSIS without copy/paste? For example, I\'d like to use the tasks I\'ve defined in an event handler for one executable in another executable, but not with al[详细]
2023-01-15 02:21 分类:问答Expression generated based on interface
I\'m geting the exception Unable to cast the type \'MySomeTypeThatImplementsISomeInterfaceAndIsPassedAs[T]ToTheClass\' to type \'ISomeInterface\'. LINQ to Entities only supports casting Entity Data M[详细]
2023-01-14 13:54 分类:问答Is there a way to remove magic numbers from a XML Schema?
I have a WSDL with some types defined. Some elements accept lists of elements and on the service return I also have elements with list of values (or other elements).[详细]
2023-01-13 07:43 分类:问答Mobile cross-platform classes
Does the fact that different mobile platforms can use similar languages implies that you can reuse classes between these platform ? For example c++ code on iOS, Android and Symbian devices. Or is ther[详细]
2023-01-12 23:02 分类:问答What is a good strategy for separating layers for an application that can be used online and offline?
I have a Java web application that has a \'disconnected\' Java Swing desktop app.Using the desktop app users connect to the internet and download data they need from a server. They can disconnect and[详细]
2023-01-11 07:52 分类:问答Organizing, Storing, and Keeping Track of code for reuse
Many moons ago I started storing my music as MP3’s.I downloaded like mad and just dumped them all into a folder.After collecting thousands of songs I had a big mess.After two years of organizing all[详细]
2023-01-09 03:24 分类:问答Reuse tips for Android
Android resources and their automatically generated references simplify the development of one app a great deal. But they also complicate the reuse of Android activities in multiple pr开发者_高级运维o[详细]
2023-01-07 02:11 分类:问答