Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jquery.urianchor

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery.urianchor - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

5

jquery.uriAnchor.js
/*
* Jquery plugin for state managment through the URI anchor (hash fragment)
* jQuery plugin to manage the URI anchor component ("hash fragmant")
*
* Copyright (c) 2013 Michael S. Mikowski
* Copyright (c) 2013-2015 Michael S. Mikowski
* (mike[dot]mikowski[at]gmail[dotcom])

@@ -13,2 +13,3 @@ *

* 1.2.1 - Updated documentaiton, minor bug fixes
* 1.2.2 - npm version bump
*

@@ -15,0 +16,0 @@ */

4

package.json
{
"name": "jquery.urianchor",
"version": "1.2.1",
"description": "uriAnchor jQuery plugin - SPA URI management made simple. Use this plugin to manage dependent and independent parameters in the hash fragment of the URI. It has been designed and updated over five commercial SPA projects and is featured in the book [Single page web applications - JavaScript end-to-end](http://manning.com/mikowski). It provides the capability to make the URI fragment your application state API. Bookmarks, browser history, the back button, and the forward button can all be made to act as the user expects.",
"version": "1.2.2",
"description": "uriAnchor jQuery plugin - SPA URI routing made simple. Use this plugin to provide sophisticated routing to your SPA. Used in many commercial SPAs and featured in a best-selling book on SPAs.",
"main": "jquery.uriAnchor.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -5,32 +5,24 @@ # uriAnchor #

A jQuery plugin for management of the URI hash component.
A jQuery plugin for management of the URI hash fragment (all text in the URL after the first '#' character).
Use this plugin to manage dependent and independent variables in the hash
fragment of the URI. It has been designed and updated over five commercial
SPA projects and is featured in the book
[Single page web applications - JavaScript end-to-end](http://manning.com/mikowski).
It provides the capability to make the URI fragment your application state API.
Bookmarks, browser history, the back button, and the forward button can all be made
to act as the user expects while enabling you to update only the part of the page
that has changed.
Use this plugin to manage dependent and independent variables in the hash fragment of the URI. It has been designed and updated over five commercial SPA projects and is featured in the book [Single page web applications - JavaScript end-to-end](http://manning.com/mikowski). It provides the capability to make the URI fragment your application state API. Bookmarks, browser history, the back button, and the forward button can all be made to act as the user expects while enabling you to update only the part of the page that has changed.
## Replace Backbone with something much more robust ##
The plugin, used with a few other well-chosen tools, form a fantastic basis for a lean, easy to use SPA architecture as detailed in the [the book](http://manning.com/mikowski)(http://manning.com/mikowski). Here are the recommended tools:
The plugin, used with a few other well-chosen tools, form a fantastic basis for a lean, easy to use SPA architecture as detailed in the [the book](http://manning.com/mikowski)(http://manning.com/mikowski). Here are the recommended tools:
- Model Events: This plugin uses the jQuery event mechanism, which eliminates having to manage two different event types.
- Routing: Use [uriAnchor](https://github.com/mmikowski/urianchor/) for much more robust routing, including support to independent and dependent query arguments.
- Data Model: Use [taffyDB](https://github.com/typicaljoe/taffydb/) for
superior and more flexible client side data management.
- Templating: Use [Dust](http://linkedin.github.io/dustjs/) for much more useful templates that don't tempt you to intermingle display methods with application logic.
- Touch interface: Use [Unified events](https://github.com/mmikowski/jquery.event.ue) to handle touch and mouse events.
- AJAX: Use jQuery native AJAX methods.
- Promises: Use jQuery native promise methods.
- AJAX: Use **native jQuery** AJAX methods.
- Promises: Use **native jQuery** promise methods.
- Model Events: Use the **jQuery plugin** [jquery.event.gevent](https://www.npmjs.com/package/jquery.event.gevent) as a unified event mechanism. This eliminates having to manage multiple event types in your SPA.
- Routing: Use the **jQuery plugin** [jquery.urianchor](https://www.npmjs.com/package/jquery.urianchor) for much more robust routing, including support to independent and dependent parameters.
- Touch interface: Use the **jQuery plugin** [jquery.event.ue](https://www.npmjs.com/package/jquery.event.ue) to handle touch and mouse events.
- Data Model: Use the **focused library** [taffyDB](https://github.com/typicaljoe/taffydb/) for superior and more flexible client side data management.
- Templating: Use **focused library** [Dust](http://linkedin.github.io/dustjs/) for much more useful templates that don't tempt you to intermingle display methods with application logic.
This suite of tools has all the capabilities of modern framework libraries but, when used correctly, can vastly improve flexibility and testability. It leverages jQuery's excellent built-in tools instead of ignoring them!
This suite of tools has all the capabilities of modern framework libraries but, when used correctly, can vastly improve flexibility and testability. It takes advantage jQuery's excellent built-in tools instead of competing with them.
## Release Notes ##
### Copyright (c)###
2013 Michael S. Mikowski (mike[dot]mikowski[at]gmail[dotcom])
### Copyright (c) ###
2013-2015 Michael S. Mikowski (mike[dot]mikowski[at]gmail[dotcom])

@@ -44,5 +36,6 @@ ### License ###

### Version 1.2.1 ###
### Versions 1.2.1, 1.2.2 ###
Documentation updates, minor bug fixes.
## Methods ##

@@ -49,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc