seven7 v1.0.1
Getting started
Seven7 does not need any webserver at all to load your pages, since they are on the same domain. So, to launch an application built with Seven7, one needs to configure the api base url (if the target app uses one) and then start the application by it's entry file.
See how cross domain issues can be annoying.
To use Seven7 js, you first need to understand how it works. What you need to know is Seven7 has been designed to be very easy and simple to use and implement. If you are familiar with jQuery, you won't have any difficulty to understand how Seven7 loads pages basically. Seven7 uses your browsers fetch method to load pages asynchronously and very rapidly. With jQuery, it's the equivalent of loading a page via ajax into a div, but Seven7 makes some optimisations to make this process more fluid and executes scripts on the target page, which is not obvious at all while use jQuery's ajax.
Seven7 also adds some fun animations to loaded pages. When you integration Seven7 to your app, it's very easy to manage the templating process, you just have to set the target for loaded pages, and to add some configurations.
So :
- You need a main entry file for your app (typically a index.html file), this file will the contain the changing section
- You need to insert Seven7 in the index.html file
- You can add Seven7 initialization between script tags after it insertion, or in an external file you will insert after the seven7.js file.
Browsers compatibility
Browsers | versions | Compatible |
---|---|---|
Internet explorer | 7 and below | no |
Internet explorer | 8+ | yes |
Microsoft Edge | * | yes |
Mozilla Firefox | 19+ | yes |
Google Chrome | 17+ | yes |