Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • PeoplePods 0.9
  • Brackets Sprint 8
  • elFinder 2.0 RC1
  • BBClone 0.6.1
  • Twitter Follow Box...
  • Multilingual Press...
  • SimplePie 1.2.1
  • TinyTips 1.2
  • SWFUpload 2.2.0.1 ...
  • Head Cleaner 1.4.2.9
  • Home > Scripts > Development Tools > Other Libraries

    Davis.js v0.9.0

    Download button


    Downloads: 138  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Oliver Nightingale | More scripts
    davisjs.com
    MIT License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    JavaScript
    April 29th, 2012, 08:57 GMT [view history]
    C: \ Development Tools \ Other Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Davis.js description

    This is a JavaScript routing library modeled after Sinatra

    Davis.js allow the developer to define actions to be taken when a user follows links, submits forms, or navigates with the back and forward buttons.

    To route code execution, the library utilizes HTML5 history.pushState.

    HTML5 pushState allows the routes to stay in place, even if JavaScript is turned off.

    In modern browsers (FireFox 4+, Safari 5+, Chrome, iOS Safari 4+, Android Browser 2.2+) Davies.js works as advertised.

    In older browser versions, Davis.js will not load, allowing links to behave like they would normally do.

    Requirements:

    · JavaScript enabled on client side
    · jQuery 1.4.2 or higher

    What's New in This Release: [ read full changelog ]

    · Add support for scoped definition of routes using scope.
    · Add support for route level middleware.
    · Add support for splat params in route definition.
    · Davis.location now accepts an options param, allowing to assign/replace routes silently.
    · Changed the signature for creating Davis.Routes, can now just pass a string as the path.
    · Closer adherence to the same origin policy when binding to links and forms.
    · Fix bug where params in the request object were still URI encoded.



    TAGS:

    routing library | code execution | take action | route | condition | action



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM