views:

200

answers:

3

I am looking for reusable open source components. The level of depth, breadth and hopefully quality that I'm looking for is similar to this.

Although I need them in programming languages C#, Java and Flex (which I often use in my projects), other languages such as PHP, Perl, Python, Ruby etc. are welcome. I see this as a big help for other programmers who have similar needs such as mine.

I plan to eliminate code duplication when building a large scale (in terms of code size) project by using this components and focus more on the business logic of it.

Is there an open source (Java) or Codeplex (Microsoft) component implementation that does this that I'm not aware of?

EDIT:

The main point that I want to address for this question is to avoid interdeveloper duplication. Interesting case found in Pragmatic Programmer: An audit for government computer systems have been made showed 10,000 different programs having their own version for Social Security number validation.

A: 

Not quite sure of the context of the question, if you want UI components for web-based Java applications, maybe the JSF framework with a component library like Apache MyFaces which has several component libraries, or ICEfaces.

Brabster
+1  A: 

If I understand your question, that is what Apache Commons is all about.

I would point out that although such things are good, they aren't all upside. If all of those 10,000 programmers had to coordinate getting a SSN validation going, it would have been quite a bureaucracy to get anything done.

Similarly in general, one of the issues with apache commons is you might be integrating your code into something that uses an older (or newer) version of the same component.

Also, any code changes would have to be validated over a huge code base, and some times ugly workarounds made in the name of reuse.

Reuse and DRY are wonderful things, but like everything else, as you scale larger, there are tradeoffs.

Yishai
+1  A: 

Well if you're after some flex components you could try some of the following, sorry I can't post hyperlinks I'm a new user so just copy paste text (this sucks - give me some reputition so that I can at least answer a question!)

link - code.google.com/p/flexlib/

link - www.adobe.com/devnet/flex/tourdeflex/ (this has examples and source code for components other than adobe products)

link - flexbox.mrinalwadhwa.com/

link - www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=15 (this has free and paid for components)

There are loads more open source flex components out there. Just check google.

Someone else