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

How do you synchronize in an SPA client-side row deletes in a grid with the server's persistent storage

I'm looking for a general approach for implementing synchronizing client-side row deletes in a grid in a single page app with the server back end. I'm currently exploring the Knockout/breeze/durandal/Wep API eco system, and I like it a lot but no…
0
votes
1 answer

How to select any specific item from Database and show it in a different page

I am creating a program in which I have a list of products. I want a user to click on any specific product and see its details. I have written the following code. I am grabbing the current 'product_id' into $_SESSION variable and displaying its…
Taha Kirmani
  • 1,274
  • 6
  • 26
  • 55
0
votes
1 answer

Reusing/sharing views & models in different projects with Durandal JS

I'm building multiple applications using Durandal JS. All those applications are located on the same server under the same document root and share some common code. For example they all use the same model & view for login. How can i reuse/share the…
suamikim
  • 5,350
  • 9
  • 40
  • 75
0
votes
1 answer

patterns for building Web/Mobile apps that processes a lot of data on the client side

I'm trying to build a single page web app using Backbone. the app looks and behaves like a mobile app running on a tablet. The web app is built to help event organizers manage their lists of people attending their events, and this includes the…
Shreef
  • 198
  • 1
  • 8
0
votes
1 answer

single page application with MVC 4

I just saw this video here: http://www.youtube.com/watch?v=vs8-l2Uo1cQ And i got cuple of questions. I am about to develop quite a complex web site with alot of reporting data(like diagrams) and more, before i saw this video i was certanly sure that…
Timsen
  • 4,066
  • 10
  • 59
  • 117
0
votes
2 answers

one php page with different contents and urls

I have an xml database where are stocked several blog posts. xml example:
freaky
  • 990
  • 3
  • 17
  • 44
0
votes
1 answer

Single page with menu over the content

I'm building a single page website and would like to put the fixed menu over the scroller content: http://jsfiddle.net/VFQF8/ But using the fixed position, I can't keep the menu over the content. Any idea? #nav { left: 20px; list-style:…
user1633525
0
votes
4 answers

Magento Redirect https to http home page

Google has indexed the home page of my website with https. But I need to redirect https to http only this page. I'm using Magento and today I have a rule that removes the htaccess www of my domain. Every rule I created to redirect the main page of…
Roberto Viana
  • 15
  • 1
  • 3
0
votes
1 answer

Persist form data values in single page application

I have 2 views in my SPA built up using durandal. I have a form (consider basic employee information form) in the first view. Also, I am having a button in the view called "upload" which routes to a different view to upload some documents. Once user…
Deepak Agarwal
  • 458
  • 1
  • 4
  • 18
0
votes
1 answer

phonegap singlepage jquery slide function to change html document?

i currently am developing a phonegap application. When i change to another menu i do it like this: $('#newMenu').show('slide', {direction: 'right'}, 200); The menu element that is shown is a positioned absolute element on top of the html body. I…
aZtraL-EnForceR
  • 1,781
  • 2
  • 16
  • 19
0
votes
1 answer

Format dependent rails routes

How to realize the following routing in rails: if the request is requiring html, than route to a specific action, let's say application#index in case of a json format request, route to the resources just normally to action which produce the…
fifigyuri
  • 5,771
  • 8
  • 30
  • 50
0
votes
1 answer

Keeping state when rendering page from the server side

I'm currently building a single page app using backbone.js In order to keep all application pages accessible and crawl-able I made sure that the server side can also render the pages when accessing them directly. The problem is as follows: When…
Cu7l4ss
  • 556
  • 1
  • 8
  • 19
0
votes
2 answers

Can I host index.html (homepage) on the Rackspace CloudFiles CDN?

I want to make my web app fast, especially the first page load (index.html). Can I do this by hosting myfastapp.com on Rackspace CloudFiles and then have a subdomain called nodeserver.myfastapp.com which connects to a Node Server on Joyent. Note: …
Justin Elkow
  • 2,833
  • 6
  • 28
  • 60
0
votes
2 answers

Hosting ASP.Net MVC 4 SPA web Application in IIS

I am having my application in ASP.NET MVC 4 SPA. It was developed using the template in Visual Studio 2012 after installing Web-tools 2012.2. But after my work when I tried to host it in IIS after publishing it to a local folder, I am getting the…
Libin
  • 86
  • 8
0
votes
1 answer

Dynamic html content depending on user's role

I am developing single page application style web application. I want to create menu based on user's role, for example, for admin users I want show admin menu and html content, for general users I want to show different html content. I am using…
Ray
  • 4,038
  • 8
  • 36
  • 48