随笔分类 -  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... 阅读全文
posted @ 2015-07-18 21:35 苍术厚朴 阅读(356) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2012-08-15 22:28 苍术厚朴 阅读(363) 评论(0) 推荐(0)
摘要: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)。在大部分语言... 阅读全文
posted @ 2012-08-15 22:02 苍术厚朴 阅读(52661) 评论(6) 推荐(11)
摘要: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 阅读全文
posted @ 2012-08-15 21:54 苍术厚朴 阅读(1420) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2012-08-15 21:37 苍术厚朴 阅读(1622) 评论(0) 推荐(0)