Questions tagged [singlepage]

Single Page Applications are web applications that simulate the interaction behavior of desktop applications.

A single-page application (SPA), also known as single-page interface (SPI), is a web application or web site that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application.

More resources:

217 questions
0
votes
1 answer

Javascript string template slow vs knockoutjs templates

I'm trying to figure out why in my jsperf below, the javascript string templates are so much slower than the equivalent knockout.js templates. The goal of the test is to measure full page, and partial page changes, link in a Single Page…
Jason More
  • 6,983
  • 6
  • 43
  • 52
0
votes
2 answers

How to crawl jquery powered websites?

I am building a single page javascript powered website. I have all necessary data for all pages echoed using php as json objects on my home page. Then i initialize pages using custom plugins made for each page, which dynamically builds the dom using…
hjuster
  • 3,985
  • 9
  • 34
  • 51
0
votes
1 answer

Identify Binding

I am trying to add a new view to John Papa's Code Camper project. I am stuck on the simple hash nav binding. My question is how do I find the code that populates {href: favorites} ? It gets populated with the hash tag #/favorites but I cannot…
0
votes
1 answer

how to use AMD on a Single-page application to load only certain dependency

From what I understand, one benefit of using AMD managing dependencies that get loaded, But in single-page application using require.js all of the dependencies will be loaded. For example using backbone or something similar, lets say I have the…
null_radix
  • 692
  • 2
  • 6
  • 19
0
votes
0 answers

Form fields in single-page web applications with history support: Caching user input

A good single-page web application should in my opinion be as close as possible (and sensible) to a traditional web application, which does a full page (re-)load on every user action. In particular, a single-page web application should support the…
Marc
  • 4,327
  • 4
  • 30
  • 46
0
votes
1 answer

Building SPA application. Is calling RenderBody necessary?

I'm building SPA application using Backbone.js and as its back-end I want to use ASP.NET Web API. I need only one page and this fact brings me a lot of confusion. ApiController returns json response and as far as I understand there's no need in…
lexeme
  • 2,915
  • 10
  • 60
  • 125
0
votes
2 answers

Concrete5: Take the central part of my single page and have it displayed on the homepage

Within my Concrete5 there's a package that contains many single pages, which actually make the core functionality (community connections). There's one particular page that contains search functionality. Is there any way to take the central part of…
developer10
  • 1,450
  • 2
  • 15
  • 31
0
votes
1 answer

single page apps security issue

I'm developing a single page app with Backbone.js and I was asking myself some question. When I'm developing an app that relies on render pages on server I do know how to show some parts or not depending on the user is admin or not (just an…
Javier Manzano
  • 4,761
  • 16
  • 56
  • 86
0
votes
1 answer

single page website opening in wrong section

so I have created a single page website that uses a jQuery smooth scroll to navigate to sections of a website. For some reason, when ever I open the page in a browser (ive tested on multiple browsers and computers), the website opens up half way…
Tom
  • 119
  • 2
  • 3
  • 10
0
votes
1 answer

mod_rewrite: don't rewrite any subdomains

Is there a way to exempt any requests to a subdomain in mod_rewrite? Right now, I have a one-page app that's redirecting everything to index.html. Options +FollowSymlinks RewriteEngine On RewriteCond…
Thomas
  • 5,736
  • 8
  • 44
  • 67
0
votes
1 answer

Stuck with MVVM declaration using knockout & upshot

I have my service returinig data in this format Now I am trying to access data in html this way I am able to access the current period but not the Id of WebChartView. BTW I am using MVC4 chartResult is the view Model
Pavan Josyula
  • 1,355
  • 3
  • 13
  • 25
0
votes
2 answers

How to implement a isDirty flag onLeave for a single page application?

I have a single page application written in MVC4 that uses pjax() to push html into various s in my page. I have one sub-form that allows the user to edit the data and it if the user changes the data an isDirty flag gets set in javascript to…
PlTaylor
  • 7,345
  • 11
  • 52
  • 94
0
votes
3 answers

Single paged website, which i want to get at a certain point after refreshing page

I have a single paged website, in which i've got a div named sitecontent with the width of 4400, which holds 4 "pages". The pages start at 0px of sitecontent, 1100 px of sitecontent, 2200px of sitecontent, and 3300px. I use Jquery to set de div…
coderjoe
  • 137
  • 2
  • 16
0
votes
2 answers

How does a SPA work?

I am new to the concept of Single page applications and am trying to understand the server side and client side navigation pattern and request processing lifecycle with SPA. Please excuse me if these are very basic. If the web app is not cached…
0
votes
2 answers

SPA without backbone.js

I'm currently building an application framework that I can use with a variety of applications. The framework is written in PHP and has a RESTful API. I want the framework to enable single page applications using a combination of jQuery and my…
David Myers
  • 799
  • 1
  • 9
  • 18
1 2 3
14
15