Abstract
In this study, we provide a method and develop a library for the automatic development of single-page web applications or SPA–based websites. The SPA–based websites run AJAX calls and client-side scripts while search engines do not run scripts within pages. Thus, SPA–based websites are not completely indexed by search engine crawlers. It is necessary that all AJAX requests in web applications can also be requested by static links. We propose a method that suggests all ajax fine-grained calls are also indicated in links URLs. This method allows us to design a SEO-friendly SPA-based website without any client-side programming. Moreover, a new feature is provided that helps to load several pages, as subpages, inside a page in both server-side and client-side. This nested loading can be repeated without any limitation. Each page’s (or subpage’s) URL, as a client-side application state presentation, has a specific query string parameter which specifies its subpages’ addresses. Besides, all links inside the page have a specific query string parameter which indicates the application state of the client-side.
References
Garrett, J.J.: Ajax: a new approach to web applications (2005)
Work, S.: How loading time affects your bottom line. KISSmetrics (2011)
Fink, G., Flatow, I.: SPA concepts and architecture. In: Pro Single Page Application Development, pp. 49–66. Apress (2014)
Raghavan, S., Garcia-Molina, H.: Crawling the hidden web. Stanford (2000)
Daniela, F., Alon, L., Alberto, M.: Database techniques for the world wide web. Sigmod Rec. 32(3), 59–74 (2005)
BrightPlanet, L.L.C.: The Deep Web: Surfacing Hidden Value (2000). http://www.completeplanet.com/Tutorials/DeepWeb/
Frey, G.: Indexing Ajax web applications. Doctoral dissertation, ETH Department of Computer Science, Institute of Computational Sciences (2007)
Mesbah, A., Bozdag, E., Van Deursen, A.: Crawling Ajax by inferring user interface state changes. In: 2008 Eighth International Conference on Web Engineering, ICWE 2008, pp. 122–134. IEEE, July 2008
Mesbah, A., Van Deursen, A., Lenselink, S.: Crawling Ajax-based web applications through dynamic analysis of user interface state changes. ACM Trans. Web (TWEB) 6(1), 3 (2012)
Petersson, J.: Designing and implementing an architecture for single-page applications in Javascript and HTML5 (2012)
Dan Webb, Twitter, Twitter engineering blog, 29 May 2012. http://engineering.twitter.com/2012/05/improving-performance-on-twittercom.html. 11 June 2012
Duda, C., Frey, G., Kossmann, D., Zhou, C.: Ajaxsearch: crawling, indexing and searching web 2.0 applications. Proc. VLDB Endow. 1(2), 1440–1443 (2008)
Duda, C., Frey, G., Kossmann, D., Matter, R., Zhou, C.: Ajax crawl: making Ajax applications searchable. In: 2009 IEEE 25th International Conference on Data Engineering, ICDE 2009, pp. 78–89. IEEE, March 2009
Le Hégaret, P., Whitmer, R., Wood, L.: Document object model (dom) (2002). W3C recommendation, January 2005. http://www.w3.org/DOM
Cui, L.J., He, H., Xuan, H.W.: Analysis and implementation of an Ajax-enabled web crawler. Int. J. Future Generat. Commun. Network. 6(2), 139–146 (2013)
Mesbah, A., Van Deursen, A. Migrating multi-page web applications to single-page Ajax interfaces. In: 2007 11th European Conference on Software Maintenance and Reengineering, CSMR 2007, pp. 181–190. IEEE, March 2007
Sadjadee, S.: Meteor framework, a new approach to webdevelopment: an experimental analysis (2014)
Keith, J.: Hijax: progressive enhancement with Ajax. Proceedings of X Tech (2006)
Fink, G., Flatow, I.: Search engine optimization for SPAs. In: Pro Single Page Application Development, pp. 267–276. Apress (2014)
Lawrence, S., Giles, C.L.: Searching the world wide web. Science 280(5360), 98–100 (1998)
Zakas, N.C., Yahoo.: How many users have JavaScript disabled. YDN Blog, 13 October 2010 (2010). http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-havejavascript-disabled. 15 August 2012
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Hatami, S. (2017). The Automatic Development of SEO-Friendly Single Page Applications Based on HIJAX Approach. In: Bouguettaya, A., et al. Web Information Systems Engineering – WISE 2017. WISE 2017. Lecture Notes in Computer Science(), vol 10570. Springer, Cham. https://doi.org/10.1007/978-3-319-68786-5_15
Download citation
DOI: https://doi.org/10.1007/978-3-319-68786-5_15
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-68785-8
Online ISBN: 978-3-319-68786-5
eBook Packages: Computer ScienceComputer Science (R0)