The dependencies tag has no wiki summary.
0
votes
2answers
59 views
Looking for a freeform dependency graphing tool [closed]
In programming for an existing code base that is trying to migrate over time from the "status quo" to the "final solution" I often find that there are dozens of hurdles that need to be overcome... but ...
0
votes
0answers
10 views
Automake dependencies problem [migrated]
I am using automake on Debian Squeeze for compiling a very simple C project with 6 source files.
The issue comes when I try to compile the sources using the generated Makefile. One of the sources ...
4
votes
1answer
222 views
What is the name of this relationship between objects?
Different types of dependencies have particular names, such as linear dependency, circular dependency, self-referencing object, etc.
What is the name of the dependency where those rules are true?
A ...
2
votes
0answers
106 views
Using absolute paths for build dependencies
Currently we use Source Safe and start migration to Subversion.
All external SDK(> 500 MB) hold in Source Safe now, and I look for way to move them from VSS
to some repository.
We have C++ (mostly), ...
8
votes
4answers
369 views
What is the meaning of “inversion” in `Dependency Inversion Design Principle
I'm reading Design patterns. I know what this principle do. high-level and low-level classes are depend on abstractions. But why we say this inversion?
6
votes
3answers
252 views
Few big libraries or many small libraries?
Over the course of some months I've created a little framework for game development that I currently include in all of my projects.
The framework depends on SFML, LUA, JSONcpp, and other libraries. ...
19
votes
5answers
1k views
Should I use Dependency Injection or static factories?
When designing a system I am often faced with the problem of having a bunch of modules (logging, database acces, etc) being used by the other modules. The question is, how do I go about providing ...
1
vote
0answers
46 views
Is there a formal enumeration of the ways that components can be coupled / depend on eachother?
Say you have
class A {
}
class B {
}
One type dependency is "method parameter":
class A {
}
class B {
public void M(A a) {
}
}
Another is "method returns":
class A {
}
class B {
...
2
votes
1answer
122 views
Unit Testing Open Source projects that require keys for api calls
What's the recommended method for setting up tests on code that requires a private key to make calls to external web services?
Full on mock objects or is there a way of distributing open source unit ...
1
vote
0answers
22 views
Custom maven mojo and tools
I'm writing maven plugin which depends on several java tools. I'm quite happy with it and want to share it with the community. I'm interested in correct way to handle dependency to these tools:
Use ...
0
votes
1answer
74 views
Handling table name collisions in Django
Django creates a table name by joining the app label with the model name. A project can have many apps. If two have the same label, how can both be used in the same database?
I'm currently using very ...
7
votes
5answers
393 views
How to TDD test that objects are being added to a collection if the collection is private?
Assume that I planned to write a class that worked something like this:
public class GameCharacter {
private Collection<CharacterEffect> _collection;
public void Add(CharacterEffect e) ...
1
vote
4answers
431 views
How to solve cyclic dependencies in a visitor pattern
When programming at work we now and then face a problem with visitors and module/project dependencies.
Say you have a class A in a module X. And there are subclasses B and C in module Y. That means ...
2
votes
3answers
607 views
How to organise projects with dependencies on BitBucket?
Both Mercurial and BitBucket make one fundamental assumption: 1 repo = 1 project.
If I have a project that has a dependency (a library) which is shared by many projects, this assumption gets in the ...
3
votes
2answers
282 views
Is switch-case over enumeration bad practice?
I have an enumeration with the commands Play, Stop and Pause for a media player. In two classes I do a switch-case over the received commands. The player runs in a different thread and I deliver the ...
-3
votes
2answers
1k views
What is dependency of ASP.NET MVC on .NET Framework and how to use it with .NET 2.0?
When you download and install asp.net MVC, does it just add code to the .net framework class library? Or does it also modify the installed Visual Studio editions?
Another question: If it is just ...
1
vote
2answers
297 views
For nodejs what are best design practices for native modules which share dependencies?
Hypothetical situation, I have 3 node modules all native, A, B, and C.
A is a utilities module which exposes several functions to javascript through the node interface, in addition it ...
4
votes
2answers
615 views
.NET Dependency Management Systems
I have some .NET projects that are starting to get large enough to merit looking into Dependency Management solutions, so we don't have to copy binaries from one project to another. Here's what I've ...
5
votes
4answers
949 views
Subrepositories (submodules) as a dependency tracking solution - yes or no?
What do you think about SCM-based (subrepositories in mercurial, submodules in git) dependencies management?
Is it definitely a good way of managing dependencies? Or definitely bad way?
Should I ...
2
votes
3answers
136 views
Support multiple frameworks in a JavaScript library
I have a small JavaScript library that I've written that depends on prototype.js.
I'm considering creating a new version that would use jQuery instead.
The goal is to make it easier for users to ...
4
votes
7answers
647 views
Why don't software libraries solve all our problems? [closed]
Modular programming and reusable software routines have been around since the early 1960's, if not earlier. They exist in every programming language. Conceptually, a software library is a list of ...
25
votes
6answers
622 views
Separating a “wad of stuff” utility project into individual components with “optional” dependencies
Over the years of using C#/.NET for a bunch of in-house projects, we've had one library grow organically into one huge wad of stuff. It's called "Util", and I'm sure many of you have seen one of these ...
-2
votes
1answer
81 views
How do you solve large dependencies among files?
So basically I make several programs. Of course one program often used code from another. So I have my own personal "library"
Well, I do write jerk codes. Then When I open a project, the project will ...
0
votes
1answer
259 views
Unit testing external dependencies
When writing a program, should I write tests that ensure that the dependencies I use are working? Those might help to check my assumptions about them, and may also help when deciding to upgrade said ...
5
votes
3answers
193 views
Eliminating Dependencies vs Eliminating Redundancy
Upon my assignment to a project, I discovered that many message classes were received and then kept intact and passed around inside the receiving application. When these messages changed, code ...
2
votes
2answers
146 views
Are there standard strategies for defining job flow and dependencies?
I'm working on a project that involves the chaining of separate jobs into a single master job, though there may be parallel paths in the chain leading up to the final output. Job and chain details ...
8
votes
3answers
422 views
Unit testing methods that call suppliers webservices
I have a class with one public method Send() and a few private methods. It calls a couple of webservices and processes the reponse. The processing is done in private methods.
I want to unit test the ...
12
votes
5answers
640 views
How would one handle external dependencies in an open-source project?
When one writes an open-source project and uses Google Code or GitHub, and wants to use a library like Lua, how should one do this?
Should the dependency be included in the repository?
Should the ...
1
vote
1answer
198 views
Is there a design pattern for managing dependencies?
I'm building a component that manages available resources (JavaScript and CSS files) for a web page.
As controls are added to the page, they register and un-register their requirements with this ...
2
votes
2answers
103 views
Managing DLL files, deployment, and ease of use for the end user
I've been thinking recently about being an end-user who wishes to download one of my own projects and use it on a perfectly average machine. Having an equal background in Unix as well as Windows, I ...
3
votes
4answers
511 views
How do you handle project dependencies on your build system and local builds
What do people suggest is a good way to handle dependencies between projects whilst having it build on a local machine and on the (continuous integration) build system?
This is all using C# ...
8
votes
3answers
1k views
Git Project Dependencies on GitHub
I've written a PHP framework and a CMS on top of the framework. The CMS is dependent on the framework, but the framework exists as a self-contained folder within the CMS files. I'd like to maintain ...
2
votes
1answer
138 views
How to output library test/benchmark data in a web framework?
I am writing an MVC framework. I have a folder full of library classes, each are self contained, and could be ripped out of the framework and used by themselves. The only problem is that a few of ...
4
votes
4answers
257 views
Continuous integration never results in build errors
I'm working with a variety of Java EE websites which use internal libraries we've developed. For each website, we only upgrade to new versions of our internal libraries as needed, and before ...