随笔分类 - Web
摘要:1.返回结果的HTTP状态码a. 2xx 成功: 200 ok 204 No Content 206 Partial Contentb. 3XX重定向:301 Moved Permanently 302 Found 303 See other 304 Not Modified 307 Tempor...
阅读全文
摘要:Answer to QuestionsWhy do we need XML parser?We need XML parser because we do not want to do everything in our application from scratch, and we need some "helper" programs or libraries to do something very low-level but very necessary to us. These low-level but necessary things include che
阅读全文
摘要:JSON格式:http://www.json.org/python和JSON的关系请参考:http://docs.python.org/library/json.html JSON建构有两种结构: 1.“名称/值”对的集合(Acollectionofname/valuepairs)。不同的语言中,它被理解为对象(object),记录(record),结构(struct),字典(dictionary),哈希表(hashtable),有键列表(keyedlist),或者关联数组(associativearray)。 2.值的有序列表(Anorderedlistofvalues)。在大部分语言...
阅读全文
摘要:Ajax的jquery的api和例子参考:http://api.jquery.com/jQuery.ajax/15.1. Scripting LanguagesSo far, pretty much everything we have done has been server-based. However, client-based code - client-side scripting is an alternative that can be used instead of, or (more commonly) as well as server side code.There ar
阅读全文
摘要:jQuery API Documentation详细的API和例子说明,请参考文档:http://docs.jquery.com/Main_Page百度百科的解析:http://baike.baidu.com/view/1020297.htmCore$( expr , context )This function accepts a string containing a CSS or basic XPath selector which is then used to match a set of elements.The core functionality of jQuery cente
阅读全文

浙公网安备 33010602011771号