随笔分类 - web
前端总结- 浏览器
摘要:总结一下前端学习笔记,好记性不如何烂笔头。1. 前端的运行环境。 1.1 浏览器如何渲染出页面。 a. 现代浏览器的组成部分 User interface : 就是你看到的浏览器的样子,地址栏,状态栏。 Brower engine:在用户界面和呈现引擎之间传送指令 Re...
阅读全文
转发: jQuery的deferred对象详解
摘要:来自 Ruanyifeng ,简单易懂.http://www.ruanyifeng.com/blog/2011/08/a_detailed_explanation_of_jquery_deferred_object.html?20130219111528#comment-last两位一篇是介绍 Deferred 实现.http://www.cnblogs.com/nothingbrother/archive/2011/11/30/2269702.html来自官方文档:http://api.jquery.com/category/deferred-object/
阅读全文
Http request Post pk Put
摘要:Http protocol (RFC2616) defines the two verbs: get / put. It seems a little confusion that both of them send data to server. What's the different?The RFC itself explains the difference:The fundamental difference between the POST and PUT requests is reflected in the different meaning of the Reque
阅读全文
HTTP权威指南-Content Publishing and Distribution
摘要:Content1. Discusses the ways people deploy servers in modern web hosting environments, HTTPsupport for virtual web hosting, and how to replicating content across geographically distant servers。 1.1The collective duties of storing, brokering, and administering content resources is called web hosting.
阅读全文
HTTP权威指南 Identification, Authorization, and Security
摘要:Identification, Authorization, and Security1. Basic Authorization: Simple but potential risk. 1.1 protocol itself 1.2 Sample: NOTE: realm: different realm may use differetn password 46BaseCode: Basic Authertification can be used with ssl to make sure the user/name not easy to be ...
阅读全文
HTTP权威指南 读书笔记-server
摘要:web server responsiblity:manager resource, handle with tcp connection,itself administration1. The request / response workflow:An screenshot from firebug which measure the detail performance.2. Proxy Adding more than lay between client and server, it can do more things: filter, secuty, performance, .
阅读全文
HTTP权威指南 读书笔记-- http based on tcp/ip
摘要:Http connection management1.Web browsers talk to web servers over TCP connections2. Socket communication model3.TCP Performance Considerations 3.1 performance from client perspective 3.2 performance error a. DNS lookup b. Setup socket connection: TCP Connection Handshake Delays: the las...
阅读全文
HTTP权威指南 读书笔记-client
摘要:PartI :1. URI---> URL + URN2. URISyntax <scheme>://<user>:<password>@<host>:<port>/<path>;<params>?<query>#<frag>schema: http/https/ftp/smip/telnet/...frag: used to tag the position of resource content if the content is very large3. Escape cha
阅读全文