·源代码搜索引擎-Koders.com

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:

  1. 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.

  2. 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:
  3. 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:
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值