当前位置: 首页 > news >正文

小型企业网站建设毕业论文网店如何营销推广

小型企业网站建设毕业论文,网店如何营销推广,山东省住房城乡建设厅网站,中文网站站内优化怎么做一、引入 访问 FB:代理服务器 二、代理模式 aka Surrogate 2.1 Intent 意图 Provide a surrogate (代理) or placeholder for another object to control access to it. 为另一个对象提供一个代理或占位符,以控制对它的访问。代理模式给某一个对象提…

一、引入

  • 访问 FB:代理服务器
    在这里插入图片描述

二、代理模式

aka Surrogate

2.1 Intent 意图

  • Provide a surrogate (代理) or placeholder for another object to control access to it. 为另一个对象提供一个代理或占位符,以控制对它的访问。
  • 代理模式给某一个对象提供一个代理对象,并由代理对象控制对原对象的引用

2.2 Motivation 动机

One reason for controlling access to an object is to defer the full cost of its creation and initialization until we actually need to use it.
控制对对象的访问的一个原因是要延迟其创建和初始化的全部成本,直到我们实际需要使用它为止。即只在必要时生成开销大的对象。
Example:
An image proxy creates the real image only when the document editor asks it to display itself. The proxy forwards subsequent requests directly to the image.
只有在文档编辑器要求其显示图像时,图像代理才会创建真实的图像,代理会将后续请求直接转发到图像。

在这里插入图片描述

2.2 Applicability 适用性

  • A remote proxy provides a local representative for an object in a different address space. 远程代理为一个不同地址空间中的对象提供了一个本地代表.

  • A virtual proxy creates expensive objects on demand. 虚拟代理在必要时创建开销大的对象.

  • A protection proxy controls access to the original object. 保护代理可控制对原始对象的访问.

  • A smart reference is a replacement for a bare pointer that performs additional actions when an object is accessed. 在访问对象时,可以执行其他操作的智能引用是裸指针的替代品。

    • counting the number of references to the real object so that it can be freed automatically when there are no more references (smart pointers).
    • loading a persistent object into memory when it’s first referenced.
    • checking that the real object is locked before it’s accessed to ensure that no other object can change it.

2.3 类图

在这里插入图片描述

2.4 Consequences 重要性

  • 远程代理:隐藏对象位于不同地址空间中的事实
  • 虚拟代理:优化,仅需要时才创建对象
  • 保护代理 & 智能引用:提供额外功能,如访问控制
  • Copy-on-write 写时复制:Copying a large and complicated object can be an expensive operation. If the copy is never modified, then there’s no need to incur this cost. By using a proxy to postpone the copying process, we ensure that we pay the price of copying the object only if it’s modified.

2.5 应用实例:糖果机

http://www.dt0577.cn/news/31815.html

相关文章:

  • 个人网站做百度推广推广策划方案模板
  • 房地产网站怎么做磁力猫最佳搜索引擎入口
  • 邢台免费发布推广信息的平台上海优化价格
  • 石家庄外贸公司网站设计公司成都网络营销推广
  • 第一次做网站怎么样下手cps广告联盟网站
  • 遵义市做网站设计公司网站推广排名教程
  • 做网站用什么语言和工具绍兴seo推广
  • wordpress 点击弹出层南昌seo搜索优化
  • 昆明网站快速优化排名济南网站制作平台
  • 海外网站优化手游推广平台代理
  • 重庆怎样网站推广怎么营销自己的产品
  • 哈尔滨建设银行网站长春网站制作企业
  • 加强政府网站建设管理工作站长seo查询工具
  • 商丘做网站用什么程序好竞价外包代运营公司
  • 如何做优秀的视频网站广告公司网站制作
  • 做亚马逊产品测评的网站百度推广后台登录入口
  • 国际市场营销案例100例seo排名培训
  • 汕头市企业网站建设哪家好seo薪酬水平
  • 小型网站运营网络营销是做什么的工作
  • 黄岛做网站百度手机版网页
  • 网站制作一般哪家好建设网站的网站首页
  • 网站怎么做才能得到更好的优化nba最新排行榜
  • 黔东南网站建设gzklyy培训心得体会300字
  • 企业级网站开发需求分析seo观察网
  • 网站分享模板网站维护需要学什么
  • 伊犁建设网站网页制作的软件有哪些
  • 东莞做微网站建设中国网站排名前100
  • 设计主题网站如何自己制作一个网站
  • jsp做的网站答辩问题市场调研分析报告范文
  • 专业商城网站建设价格低营销网站案例