URL Parser
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/url_parser
软件介绍
Parses URLs and provides easy access to information within them, such as the protocol, host, port, the segments that make up the path and the various query string values. The parser is based on the Regex URI parser by Stephen Levithian - http://blog.stevenlevithan.com/archives/parseuri.
// Get the domain name (host) from the current page URI
jQuery.uri.attr("host");
// Get the query string value for 'item' for the current page
jQuery.uri.param("item");
// Get the second segment of the URI of the current page
jQuery.uri.segment(2);
// Get the protocol of a manually passed in URL
jQuery.uri.setUri("http://allmarkedup.com/").attr("protocol") // returns 'http'Ruby on Rails实践之路
沃哈 / 科学 / 2010-5 / 48.00元
《Ruby on Rails实践之路:写给PHP和Java开发者的书》内容简介:Ruby on Rails是基于MVC模式的Web框架,用于开发基于数据库的Web应用。Ruby on Rails中内含了所需的Web服务器WEBrick。该框架配置的数据库除了缺省的MySQL外,还可以是Oracle、SQL Server等其他数据库。《Ruby on Rails实践之路:写给PHP和Java开发者的......一起来看看 《Ruby on Rails实践之路》 这本书的介绍吧!
