Getting Started
A significant portion of application development involves a process of find, copy, paste, and integrate. This process can be greatly accelerated when you can find existing source code that provides a solution to the task at hand.
Koders makes it easy for software developers to find existing source code that solves many common development problems with our vast index of working source code from a variety of open source projects. In many cases you may find code that solves the exact problem you are working on, and in other cases, you can find an 80% solution - where existing code can be suited to your needs with minor modifications.
Search Syntax
Multiple terms are ANDed together
The results will include files containing all of the terms you specify in the search box. This is known as a logical AND. For example:
Searching for 'smtp server' will find files containing 'smtp' AND 'server'
Terms can be stemmed with the * operator
The results will include all terms that start with the terms specified. For example:
Searching for 'xml*' will find files containing all words starting with 'xml' such as XmlReader, XmlWriter, XmlNode, etc.
Note: If you specify a term that has too many matching words, and would return many thousands of results, your search results will be truncated.
You can exclude terms with the - operator.
The results will include all files containing terms you specify and not the terms you have excluded. For example:
Searching for 'Xml* -XmlReader' will return files containing any term starting with xml, excluding files that contain XmlReader.
You can search for phrases such as "public event" by enclosing the search term in double quotes.
Searches as case-insensitive. Searching for 'Xml' is the same as searching for 'XML' is the same as search for 'xML' etc.
To include special search characters, such as '*' as verbatim in your search term, precede the character with a '\', e.g. '\*xml*'. Special characters include: + - && || ! ( ) { } [ ] ^ " ~ * ? : \
Scenarios
There are many ways that developers and managers can use the Koders Open Source Search system. Here are just some of them:
Find out how to use API method X
Type the name of the API method you would like to see and Koders will return a variety of production code that calls the particular method. The best way to learn to use a new API is to see how other developers are using it.
Quantify the 'build or integrate' decision
'One of my designers thinks we should build component X ourselves, another thinks we should integrate with the Y project to achieve the same functionality. How much time/money might we save by integrating the Y project?'
Koders provides a development cost calculation for each project in our index. You can use this calculator to quickly see how much time and money you could save by integrating this component instead of building it yourself.
Check out the how much it would cost you to develop some popular open source projects yourself:
Hibernate
Apache HTTP Server
Integrate standard datesets quickly
Most applications need to use standard datasets to ensure they are easy-to-use and interoperable with other systems. You can easily find pre-built datasets for your application language. Try these searches:
ISO Country Codes in Java (ISO 3166 +Java)
ISO Country Codes in SQL (ISO 3166 +Sql)
本文地址:http://com.8s8s.com/it/it12177.htm