Closed elpbatista closed 2 years ago
Using issue #7 as rationale:
... having said that, let's comment something about the theme.
"Single vs Multi-Page Application": this is an architecture decision for "smarthphone application" development, but the AddressForAll website is not an application in that sense, is more like a "classic website" (e.g. old Wordpress websites). So this is a requirement restriction: the AddressForAll webpages can be optimized, grouping correlated pages in one, using SPA strategy, but not all (v2.2.0) website.
Other requirement restriction: our target audience, it is not "all the Web", we have very low pageviews per day, and it is not for entertainment or selling... Is important to include into /docs/generalSpec a target audience definition.
Let's check pros and cons about "grouping correlated pages" in SPA... The PROS:
But our webpages are lightweight, our multipage solution is lightweight, so we are using less bandwidth, and we have also quick loading time with our multipage solution.
... The CONS of SPA use:
Doesn’t Perform Well With SEO:
Uses a Lot of Browser Resources: so if the homepage need to redirect "find my address" for common people (a new target audience) to some good application, it is not a good strategy to use SPA at homepage.
About SEO and Semantic Web (add semantic layer into webpages), our multipage solution, perhaps website version 2.2.0 or 2.4.0, will add Schema.org semantic in a transparent way, like this Lexml-DOU/demo.
ok, Multi-Page Application
Single Page Application SPA
The purpose of this approach is to display corporate information in the same place and provide external links to related topics through "calls to action" that act as an entry point to the parts/features of the project that you want to highlight.
Navigation
Single depth menu (navigation bar) that provides jumps to named sections
section id="section_id"
through local linkshref="#section_id"
It also incudes some unlinked messages (blue box in the proposal) to provide some visual balance as well as call to actions
Nested Pages
It is the traditional approach. Navigation can be solved using nested menus and submenus, and is usually supported by a breadcrumbs element to provide context and provide information about the current depth level
Navigation