Can Your 300 Page Web Site Be Represented on One Page?
I am a firm believer that SPI is the future of web sites, maybe Web 3.0. In fact there are some big movements like Twitter or FaceBook that are mainly SPI web sites. Of course we do not need to be too purist, there may be two, three pages per web site :)
The problem of SPI applied to web sites is to avoid web site duplication, SPI and page based for SEO. Google is aware of this serious problem and is trying to provide solutions. The hardest part is how to crawl AJAX content, and proposed approaches by Google are too "hand made", costly or problematic in my opinion.
The SPI Manifesto
Trying to push forward web development evolution to SPI, The Single Page Interface Manifesto was published to show how SPI can become real in web sites. To lead by example, my company's web site innowhere.com was converted to SPI with the same aesthetic and of course with SEO, bookmarking and visit counters.
The SPI Tutorial
The next step was a SPI tutorial showing how to build a simple SPI web site with ItsNat pursuing the objectives of the Manifesto. This tutorial showed how a web site can be in the same time SPI and page based, where "states" (in SPI "state" concept replaces "page") can be designed with plain HTML markup and therefore very similar to the traditional page based approach, the main difference is you only design the fragments being to be inserted avoiding the typical repetition of headers, footers of every page (the "include" hell) and in the case of ItsNat, no server logic is included into the HTML markup of templates (because view logic is Java calling Java W3C DOM API). Of course alongside this tutorial is the expected online demo. In the last version of this tutorial/demo Back/Forward buttons are simulated updating the page without reloading, that is, even more SPI (the first version reloaded the page to the expected state).
The next step seems obvious...
Why not convert to SPI a real world big site?
This web site resulting from this has:
- Navigation with no reload.
- Bookmarking of states the same as pages
- Back/Forward support (browser's history navigation in general) with NO reload.
- Layout" exactly the same as the original site.
- Remote view/control of other users using the web site (typical "free" bonus of ItsNat).
Can your web site be SPI?
Is SPI the future of web?
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)