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
5
votes
1 answer

Upgrading from .live() to .on() for single page applications

As we all know, since jQuery 1.7: $('someSelector').live('click', fn()); has become, essentially: $(document).on('click', 'someSelector', fn()); All live events aren't directly bound to the elements in the selector, but delegate bound to the…
StuperUser
  • 10,555
  • 13
  • 78
  • 137
4
votes
1 answer

Binding upshot to a Web API in a different project

I am trying to create a SPA application, to take advantage of upshot and its capabilities. However, the services exposing the data (i.e. the Web API) is in a completely separate project, already hosted on IIS. I would like to bind upshot to that…
Szilard Muzsi
  • 1,881
  • 2
  • 16
  • 20
4
votes
4 answers

What are the best practices to create a single page app?

What are the most important things not to forget or consider when creating a single page app(completely ajax depended) in general? Or any specific consideration on MVC?
Iternity
  • 872
  • 3
  • 12
  • 27
4
votes
1 answer

What's the best approach to develop a SPA?

When developing single page applications I always question myself which is the best way to design my project. Should I de-couple client and backend? Should my client application be in the same server as my backend code? Should I invest in multiple…
4
votes
1 answer

Hack Alexa to support AngularJS

In order to make Alexa work on an Angular based application I downloaded the Alexa code snippet and analyzed it. it seems that Alexa is relying on this function : fire: function (e) { this.user_cookie_v = this.muc(); this.map(e, function (e,…
Anas Youbi
  • 65
  • 6
4
votes
2 answers

Knockout subscription insight: detecting if disposed

I have a subscription management in my ko model, which saves any subscription by intercepting them and saving reference to them. I then dispose() them, but I need to understand sometimes if a sub is already disposed. Is the member Gb, a boolean of…
Nillus
  • 1,131
  • 1
  • 14
  • 32
4
votes
1 answer

How to manage a singlepage Chrome App with multiple views (or sections)

I´m starting to develop a Chrome App just to test it. It seems that this kind of applications (desktop app at the end) must be developped with the single-page concept in mind. But my application consists of three pages or "sections": One to control…
MorgoZ
  • 2,012
  • 5
  • 27
  • 54
4
votes
1 answer

Durandal / Require.JS - signalr/hubs reference not found

I'm using the "HotTowel" Single Page App Template, but I'm not being able to get SignalR working. I'm getting the following error: Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8184/signalr/hubs I…
Tiago Reis
  • 1,461
  • 1
  • 10
  • 8
4
votes
2 answers

Using breeze js not to interact directly with DBContext

I'm very new with breezejs and having a few questions. I think that breezejs has very nice features so I can replace my own datacontext. However, I don't want breezejs to interact directly with the dbcontext layer. In fact, in my application, the…
mashix
  • 300
  • 3
  • 13
4
votes
1 answer

Packaging and deployment of Single Page Application with java backend

I'm doing an app that has jee6 backend (json-based api only) and a lot of client side code. It looks like Single Page Application (this cool buzzword these days). I'm not sure how to structure my codebase. There are ways I consider have separate…
grafthez
  • 3,921
  • 4
  • 28
  • 42
4
votes
1 answer

Extreme slow down using jquery-ui methods after page has been open for some time

So my webpage uses a lot of jquery everywhere, It is a single page javascript application and I pretty much create all the HTML by hand using jquery. I have a lot of divs in which I use draggable and resizable I also use jquery-ui-effects .hide and…
Hoffmann
  • 14,369
  • 16
  • 76
  • 91
4
votes
1 answer

Comments framework for single-page JavaScript MVC application, like Disqus for AngularJS

I am working on single-page AngularJS application that doesn't have any backend but use mongolab for storing data. It also makes all the calls (like CRUD and filtering) by using the same URL, changing only the part after hashbang (#). So the URL…
Yuriy Silvestrov
  • 422
  • 4
  • 10
4
votes
1 answer

How to filter Backbone.js Collection and Rerender App View?

Is is a total Backbone.js noob question. I am working off of the ToDo Backbone.js example trying to build out a fairly simple single app interface. While the todo project is more about user input, this app is more about filtering the data based on…
Jeremy H.
  • 523
  • 1
  • 5
  • 18
4
votes
3 answers

Use Node.js and ExtJS to build an enterprise-grade grid-based single page application?

While the title suggests I wanted to cram as many buzzwords into the question as possible, I am actually serious ;) I am exploring my options for building an enterprise application that will have plenty of grids and needs to be as snappy as a…
Joseph Tura
  • 6,290
  • 8
  • 47
  • 73
3
votes
2 answers

How to build GWT standalone offline application?

I need to design SPA with GWT technology, but I do not understand clearly how to make (compile) only one page with all JavaScript code in it. So, for example my task is to make simple page with button and div. You click on button and div appears on…
Agmata
  • 31
  • 1
  • 3
1 2
3
14 15