Questions tagged [single-page-application]

A single-page application (SPA) is a web application that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application.

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.

In an SPA, either all necessary code – HTML, JavaScript, and CSS – is retrieved with a single page load, or partial changes are performed loading new code on demand from the web server, usually driven by user actions. The page does not automatically reload during user interaction with the application, nor does control transfer to another page. Updates to the displayed page may or may not involve interaction with a server.

Resources

5306 questions
2
votes
1 answer

Backbone model Clone creating a reference to the original model

I have a view DialogView which is actually a popup as follows : var DialogView = Backbone.View.extend({ events : { 'click a._save' : '_save', 'change input._adjust' : '_calculateAdjustedPrice' }, …
2
votes
1 answer

Page-Refresh in a SPA with HTML5 Browser History API?

Instead of using hash URLs for my SinglePageApplication I would like to use the HTML5 Browser History API. This works fine so far (I'm using emberjs). The pro of the hash URL is, I can refresh the page without worrying about the result. When I try…
boop
  • 7,413
  • 13
  • 50
  • 94
2
votes
1 answer

Single Page App: Force Users to Log Out or Refresh

I have created a single page app using AngularJS and ASP.NET MVC 3. When deploying a new version of the application, it's possible for users to be already logged in as the application is being updated. If these users don't either refresh their…
Andy
  • 2,709
  • 5
  • 37
  • 64
2
votes
0 answers

Using Ratchet push.js in single page mobile app

I'm developing a cordova based mobile app using Backbone and Ratchet. The app is based on single based architecture where the page are created and changed dynamically. From my knowledge, push.js works well with pages loaded from server through AJAX.…
VJAI
  • 32,167
  • 23
  • 102
  • 164
2
votes
3 answers

Cookies and Sessions Expiration in .NET

I have an MVC4 single application page. In the log-in page there are 3 fields: user, password and "remember me" checkbox. The C# login code is this: if (WebSecurity.Login(model.UserName, model.Password, persistCookie: model.RememberMe)) { …
TamarG
  • 3,522
  • 12
  • 44
  • 74
2
votes
1 answer

Google API service account in Angular app

This sounds like a popular scenario, but I can't find direct answer nowhere... I want to plot Analytics data in my app's admin area. This area is used by multiple users of the company, and they have to authenticate to access this area. I plan to use…
sonia
  • 317
  • 2
  • 15
2
votes
1 answer

What is a javascript/jquery map?

I'm currently reading a book about building single page web applications. The application is currently in its very early stages, but the author incorporated two functions into the shell code, stateMap and jqueryMap. stateMap is for placing dynamic…
la1ch3
  • 497
  • 6
  • 16
2
votes
0 answers

How to add-as-link common typescript files in another project?

I'm working on a large single page application developed using TypeScript, KnockoutJS & RequireJS. I've two projects Project 1 : Core application, which has all the modules and its files. Project 2 : Module project, which is spitted from Project…
Rahmathullah M
  • 2,676
  • 2
  • 27
  • 44
2
votes
2 answers

Can AngularJS be used only in context Of SPA(Single Page Application)?

i have just started learning AngularJS and build a project using AngularJS ,Spring and Hibernate ,this project was an SPA(Single Page Application) and i have used REST interaction with server.Now i have another project to work on and using AngularJS…
Alok Mishra
  • 926
  • 13
  • 39
2
votes
1 answer

Dynamic content Single Page Application SEO

I am new to SEO and just want to get the idea about how it works for Single Page Application with dynamic content. In my case, I have a single page application (powered by AngularJS, using router to show different state) that provides some…
Allan Jiang
  • 11,063
  • 27
  • 104
  • 165
2
votes
0 answers

Memory leak when switching between views in knockout single page application

My app consists of a shell view which loads sub views within it using knockout's templating engine. All the views are built on knockout. When navigating between views, the value of an observable changes indicating that a new view needs to be bound…
2
votes
2 answers

Anyone know how can I read configurations from web.config file in my angularjs

I'm writing an MVC 4 application using with AngularJS and Razor views. I want to pass the Web.config values to my AngularJS controller. How can I do that? Any idea?
Ajay Srikanth
  • 1,095
  • 4
  • 22
  • 43
2
votes
0 answers

Alternative to using position absolute for page transitions in a SPA

I am building a Single Page Application and I am using position absolute on my views (pages) in order to achieve page transitions while I navigate to different pages. I am using css animations and the effect I am after is one page to slide out to…
Roumelis George
  • 6,602
  • 2
  • 16
  • 31
2
votes
0 answers

Missing scrollbar when opening another page from a bootstrap popup modal

I am using bootsrap-3 and angular to build SPA. I have many modal popups and those popup has links which lead to other pages and those pages need scrolling (length in nature). But when I open any of those page from a modal popup (bootstap modal) the…
2
votes
1 answer

Back button handling in Single Page Apps?

A similar question here has been noted! I've got an SPA based exclusively on the DHTMLX toolkit (fabulous stuff incidentally). One serious UX problem is with back button handling: there is none. Their forum recommended 'any js routing library to…
J Evans
  • 1,090
  • 2
  • 16
  • 36
1 2 3
99
100