框架、库、IDE、API、SDK、工具包之间的区别? [英] Difference between framework vs Library vs IDE vs API vs SDK vs Toolkits?

查看:105
本文介绍了框架、库、IDE、API、SDK、工具包之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一些例子.我总是很困惑,所以通过一些例子我可能会更好地理解它.

I want some examples. I always get confused, so with some examples I might be able to figure it out better.

另外:Eclipse 是 API 还是 IDE?

Also: Is Eclipse an API or IDE?

推荐答案

IDE 是一个集成的开发环境 - 一个改进的文本编辑器,具有额外的开发支持(例如表单设计器、资源编辑器等),编译和调试应用程序.例如 Eclipse、Visual Studio.

An IDE is an integrated development environment - a suped-up text editor with additional support for developing (such as forms designers, resource editors, etc), compiling and debugging applications. e.g Eclipse, Visual Studio.

是您可以从自己的代码中调用的一段代码,可帮助您更快/更轻松地完成工作.例如,位图处理库将提供用于加载和操作位图图像的工具,从而使您不必自己编写所有代码.通常,一个库只会提供一个功能领域(处理图像或对 zip 文件进行操作)

A Library is a chunk of code that you can call from your own code, to help you do things more quickly/easily. For example, a Bitmap Processing library will provide facilities for loading and manipulating bitmap images, saving you having to write all that code for yourself. Typically a library will only offer one area of functionality (processing images or operating on zip files)

API(应用程序编程接口)是一个术语,意思是库中的函数/方法,您可以调用它来要求它为您做事 - 库的接口.

An API (application programming interface) is a term meaning the functions/methods in a library that you can call to ask it to do things for you - the interface to the library.

SDK(软件开发工具包)是一个库或库组(通常带有额外的工具应用程序、数据文件和示例代码),可帮助您开发使用特定系统的代码(例如用于使用操作系统功能的扩展代码 (Windows SDK)、通过特定系统绘制 3D 图形 (DirectX SDK)、编写插件以扩展其他应用程序 (Office SDK),或编写代码以制作像 Arduino 或一部手机做你想做的事).SDK 通常仍然只有一个焦点.

An SDK (software development kit) is a library or group of libraries (often with extra tool applications, data files and sample code) that aid you in developing code that uses a particular system (e.g. extension code for using features of an operating system (Windows SDK), drawing 3D graphics via a particular system (DirectX SDK), writing add-ins to extend other applications (Office SDK), or writing code to make a device like an Arduino or a mobile phone do what you want). An SDK will still usually have a single focus.

工具包就像一个 SDK - 它是一组工具(通常是代码库),您可以使用它们来更轻松地访问设备或系统...虽然可能更专注提供工具和应用程序,而不仅仅是代码库.

A toolkit is like an SDK - it's a group of tools (and often code libraries) that you can use to make it easier to access a device or system... Though perhaps with more focus on providing tools and applications than on just code libraries.

框架是一个大型库或一组库,可提供许多服务(而不是像大多数库/SDK 那样只提供一个集中的功能).例如,.NET 提供了一个应用程序框架 - 它可以更轻松地使用您需要的大多数(如果不是全部)不同的服务(例如 Windows、图形、打印、通信等)来编写大量应用程序 - 所以一个库"为您需要做的几乎所有事情提供支持.通常,框架提供了一个完整的基础,您可以在此基础上构建自己的代码,而不是构建一个使用库代码来完成其部分工作的应用程序.

A framework is a big library or group of libraries that provides many services (rather than perhaps only one focussed ability as most libraries/SDKs do). For example, .NET provides an application framework - it makes it easier to use most (if not all) of the disparate services you need (e.g. Windows, graphics, printing, communications, etc) to write a vast range of applications - so one "library" provides support for pretty much everything you need to do. Often a framework supplies a complete base on which you build your own code, rather than you building an application that consumes library code to do parts of its work.

当然,在野外有很多例子与这些描述不完全匹配.

There are of course many examples in the wild that won't exactly match these descriptions though.

这篇关于框架、库、IDE、API、SDK、工具包之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆