Search code examples
javascriptmodel-view-controllerframeworkssinglepage

Javascript framework for very simple single-page prototype


I am looking for a javascript framework to do a very simple single-page prototype. I just need to show a page when I click on a button, and show another one when I click on another button.

In one word, a MVC without the model and the controller, I just need to show and hide some views (this is the reason why the question https://stackoverflow.com/questions/2810086/recommended-javascript-framework-for-single-page-applications does not apply here).

I could do it by myself, but maybe there's no need to reinvent the wheel… I saw such a tool some time ago, but I can't get it again.


Solution

  • I just need to show a page when I click on a button, and show another one when I click on another button.

    I believe that can easily be accomplished by only using jquery. No need for more than that(maybe one of those thousand template libraries). Just use click() to bind click event to button and load() to load page when button has been presed.