Software Archive
Read-only legacy content
17061 Discussions

SPA - Single Page Application ??

Dan_K_
Beginner
525 Views

Does the XDK lend itself to building single page applications (SPA)?

This tutorial talks about the benefits of a SPA architecture: http://coenraets.org/blog/phonegap-tutorial/

Just wondering how this would apply to apps built with Intel's XDK.

 

 

 

0 Kudos
3 Replies
Chris_P_Intel
Employee
525 Views

In a word: yes.

You can follow that tutorial and build that exact same single page app in the XDK.

Also, if you use the design view editor in the XDK, it builds Single Page Apps.  If you use its controls to add a second "page" or "subpage" those are just virtual pages inside the one file (index.html).

Hope this helps,

Chris

0 Kudos
Pablo_C_1
Beginner
525 Views
What would a SPA application for one game in XDK ?
0 Kudos
Pamela_H_Intel
Moderator
525 Views

@Pablo - I think you are asking if you can make a game as a single page application?

Yes, see:  https://cordova.apache.org/docs/en/5.1.1/guide_next_index.md.html#Next%20Steps

0 Kudos
Reply