Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

SPA - Single Page Application ??

Dan_K_
Beginner
776 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
776 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
776 Views
What would a SPA application for one game in XDK ?
0 Kudos
Pamela_H_Intel
Moderator
776 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