1. <tfoot id='0q964'></tfoot>

      1. <i id='0q964'><tr id='0q964'><dt id='0q964'><q id='0q964'><span id='0q964'><b id='0q964'><form id='0q964'><ins id='0q964'></ins><ul id='0q964'></ul><sub id='0q964'></sub></form><legend id='0q964'></legend><bdo id='0q964'><pre id='0q964'><center id='0q964'></center></pre></bdo></b><th id='0q964'></th></span></q></dt></tr></i><div id='0q964'><tfoot id='0q964'></tfoot><dl id='0q964'><fieldset id='0q964'></fieldset></dl></div>

          <bdo id='0q964'></bdo><ul id='0q964'></ul>
      2. <legend id='0q964'><style id='0q964'><dir id='0q964'><q id='0q964'></q></dir></style></legend>

        <small id='0q964'></small><noframes id='0q964'>

      3. 框架和工具包之间的主要区别是什么?

        时间:2023-06-14
        <tfoot id='wPv02'></tfoot>

            <tbody id='wPv02'></tbody>
          • <legend id='wPv02'><style id='wPv02'><dir id='wPv02'><q id='wPv02'></q></dir></style></legend>
              <bdo id='wPv02'></bdo><ul id='wPv02'></ul>
              1. <i id='wPv02'><tr id='wPv02'><dt id='wPv02'><q id='wPv02'><span id='wPv02'><b id='wPv02'><form id='wPv02'><ins id='wPv02'></ins><ul id='wPv02'></ul><sub id='wPv02'></sub></form><legend id='wPv02'></legend><bdo id='wPv02'><pre id='wPv02'><center id='wPv02'></center></pre></bdo></b><th id='wPv02'></th></span></q></dt></tr></i><div id='wPv02'><tfoot id='wPv02'></tfoot><dl id='wPv02'><fieldset id='wPv02'></fieldset></dl></div>

                  <small id='wPv02'></small><noframes id='wPv02'>

                • 本文介绍了框架和工具包之间的主要区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  框架是否允许您抽象通用代码 - 但不是以完整的方式(例如:抽象网络连接 - 但不是您对数据的实际操作),并且不能解决任何特定的常见需求,而工具包有一般问题的解决方案(例如:对话框小部件)?

                  Does a framework allow you to abstract generic code - but not in a complete way (Ex: Abstract a network connection - but not what you actually do with the data), and does not solve any particular common requirement whereas a toolkit has solutions to generic problems(Ex: Dialog box widget)?

                  真实世界示例:Prototype 是一个框架",但 Dojo 是一个工具包".

                  Real world Example: Prototype is a "framework", but Dojo is a "toolkit".

                  所以我的问题是,将某物称为框架与将其称为工具包的标准是什么?

                  So my question is, what is the criteria to call something a framework vs calling it a toolkit?

                  推荐答案

                  Framework 对开发人员强制执行一些设计模式,并提供一些代码生成工具.这与我的第一句话很吻合,因为它以某种样式/模式生成代码.
                  库为您提供了您希望使用的功能.像 C 的 stdio 函数一样,C# 控制台、PHP 等内置"函数
                  您可以将库视为一种 API

                  Framework enforces some design pattern on the developer and give some tools for code generation. This sits well with my first sentence, as it generates code in a certain style/pattern.
                  Library gives you functionality for you to use as you wish. Like the stdio functions of C, Console of C#, The "built in" functions of PHP etc
                  You can regard a library as a kind of API

                  这篇关于框架和工具包之间的主要区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:jquery 是 javascript 库还是框架? 下一篇:我什么时候应该使用 javascript 框架库?

                  相关文章

                  1. <tfoot id='vMtoW'></tfoot>

                    <small id='vMtoW'></small><noframes id='vMtoW'>

                  2. <i id='vMtoW'><tr id='vMtoW'><dt id='vMtoW'><q id='vMtoW'><span id='vMtoW'><b id='vMtoW'><form id='vMtoW'><ins id='vMtoW'></ins><ul id='vMtoW'></ul><sub id='vMtoW'></sub></form><legend id='vMtoW'></legend><bdo id='vMtoW'><pre id='vMtoW'><center id='vMtoW'></center></pre></bdo></b><th id='vMtoW'></th></span></q></dt></tr></i><div id='vMtoW'><tfoot id='vMtoW'></tfoot><dl id='vMtoW'><fieldset id='vMtoW'></fieldset></dl></div>
                      <bdo id='vMtoW'></bdo><ul id='vMtoW'></ul>
                      <legend id='vMtoW'><style id='vMtoW'><dir id='vMtoW'><q id='vMtoW'></q></dir></style></legend>