·源代码搜索引擎-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:
相关推荐
Eclipse工程/ch2:原书第二章Eclipse工程文件 对文档预处理的源代码 对文档建立索引的源代码 对文档检索的源代码 使用Lucene检索和使用java.lang.String内置方法进行检索的效率比较 安装:直接在Eclipse中选取“import->Existing Project” Eclipse工程/ch7:原书第七章和第九章的Eclipse工程文件 使用PDFBox解析PDF文件 使用xpdf解析中文PDF文件 使用POI解析WORD和Excel文件 使用Jacob解析WORD文件 Google的Search API的使用 安装:直接在Eclipse中选取“import->Existing Project” Eclipse工程/ch9:原书第十二章的工程文件 使用正则表达式解析网页文件 使用HTMLParser解析网页文件 安装:直接在Eclipse中选取“import->Existing Project” Eclipse工程/heritrixProject:原书第十章的工程文件 在Eclipse配置完成的Heritrix源代码 自行开发的Heritrix的Extractor类:pconline 自行开发的Heritrix的FrontierScheduler类:pconline 自行开发的Heritrix的Extractor类:163mobile 自行开发的Heritrix的FrontierScheduler类:163mobile 安装:直接在Eclipse中选取“import->Existing Project” Eclipse工程/testDWR:原书第十三章的工程文件 完整的DWR开发环境 DWR在页面调用后台Bean类的实例 DWR操纵页面对象的实例 安装:直接在Eclipse中选取“import->Existing Project”,该工程由于是Web工程,因此需要TomcatPlugin插件。 Eclipse工程/z_mysearch:原书中的搜索引擎完整实例 数据库脚本 网页索引格式 构建词库的源代码 从网页中解析并构建产品信息文件的源代码 从产品信息文件构建索引的源代码 数据库操作类的源代码 基于Spring的业务层管理 检索的业务类源代码 检索的DAO源代码 检索的分页实现源代码 检索的AJAX实现源代码 安装:直接在Eclipse中选取“import->Existing Project”,该工程由于是Web工程,因此需要TomcatPlugin插件。
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页