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
3
votes
2 answers

Put minified javascript into script tag in HTML directly

I want to put a minified java script contents in tags directly in HTML page. i have html page like:
user3515080
  • 545
  • 2
  • 6
  • 17
3
votes
4 answers

Google analytics and jQuery fullpage.js

i've got a fullpage.js jquery single-page website. And I want google analytics to track when someone enteres another "page" of my single-page website by scrolling. The page is not loaded but the domain changes like .../#section1,…
3
votes
2 answers

How to get parameter value from url durandal

In Durandal, I have map router router.map([ { route: 'tickets/:id', moduleId: 'tickets/thread', nav: true } ]).buildNavigationModel(); I have link in address bar http://localhost:8083/#tickets/ticket001 In my viewModel, how can i get…
Stiger
  • 1,189
  • 2
  • 14
  • 29
3
votes
1 answer

Is there any JavaScript framework that supports offline scenario in MVC 4 SPA?

Steve Sanderson presented MVC 4 SPA "Delivery Trucker" for mobile devices with offline support using upshot.js JavaScript framework. http://channel9.msdn.com/Events/TechDays/TechDays-2012-Belgium/199 It seems that the MVC team dropped support for…
mitaka
  • 2,159
  • 1
  • 30
  • 30
3
votes
1 answer

AngularJS, ng-repeat with ng-include not rendering

Hi I am starting to learn angular and I'm running into a problem when I use a combination of ng-repeat with ng-include. No matter what I do I cannot get the templates to render. I have a simple controller that creates a list of workspaces and each…
CompareTheMooCat
  • 1,047
  • 2
  • 10
  • 14
3
votes
2 answers

"Invalid Date" error on retrieving DateTime value from SQL Server Compact

I encountered the following problem in a simple project with Breeze + Knockout + WebAPI + SQL Server Compact: when I add a Breeze entity (with a DateTime ko.observable) and do Manager.SaveChanges() the row is correctly saved into SQL Server Compact,…
3
votes
1 answer

Best way to handle Javascript rendering vs. Server side template

Possible Duplicate: Reusing backbone views/routes on the server when using Backbone.js pushstate for seo/bookmarking I am using Backbone.js and bunch of other modules to handle Single Page App method. My goals: The site must be…
HP.
  • 19,226
  • 53
  • 154
  • 253
3
votes
2 answers

handle urls with hash # with google analytics

I'm developing a js single-page web application using a javascript client side mvc (angular.js in this case) I added google analytic to the site, but from what I could see so far (at least in realtime) google doesn't take into account the part of…
opensas
  • 60,462
  • 79
  • 252
  • 386
3
votes
1 answer

Win8 Metro (JS/HTML5) - Video not visible after page navigation

I'm working on a media playback app that has two navigatable pages. I would like to store the video object so that if the user navigates away from the video page and then returns, the same object is loaded into the div and the user can simply pick…
3
votes
1 answer

How to use business validations in DbDataController ?

There is a crud operations in default Single Page Application template of ASP.NET MVC 4 as below. upshot.js is interacted with response from DbDataController's actions and if operation fails then upshot.js takes validation errors and it is able to…
2
votes
1 answer

MVC 4 Models with many-to-many produces an error Object graph for type contains cycles and cannot be serialized

I'm using the single page application template in MVC 4. The template created the following: public partial class SSOController : DbDataController { public IQueryable GetUsers() { …
cResults
  • 733
  • 1
  • 5
  • 17
2
votes
2 answers

MVC: "no model classes are available" even after Build/Clean/Rebuild

I'm working on a little project and after a while, my model and data context classes disappeared from the Add Controller window. I have generated one controller with views normally before. Of course, I have built, rebuilt, cleaned and rebuilt,…
2
votes
2 answers

Single page application with login and search robots

In my work with a Javascript single page application, i have recently run into a problem. The whole idea behind this project, is to avoid page reload. When the user comes to my application they won't need to make any reloads. This is done with…
Jafu
  • 470
  • 2
  • 6
  • 19
2
votes
2 answers

Can I call single page application an web 3.0 application?

Time is passing and we started to have more and more single page applications or frameworks like new twitter and Sammy. It seams like it is the next big step, where we eliminate generating code on server side, servers start to be only data…
mpapis
  • 52,729
  • 14
  • 121
  • 158
2
votes
1 answer

Single-page web application with multiple frameworks has duplicate class names

I'm writing a single-page web application, but I'm struggling with some frameworks. It seems almost every modern framework, like Bootstrap or Framework7 uses very basic classnames like row or navbar. Because of this I can't use both frameworks on a…
Dylan
  • 9,129
  • 20
  • 96
  • 153