Optimal call architecture

I am trying to work on telephone applications, but I do not know how to build the architecture.

I am trying to create an MVC model with large js for the controller, a js file with an ajax request to get information from the server (model).

For representations, I use the main layout with a heading and a head.

I am updating my content using upload in jQuery.

I have some problems using this system, since the previous button closes the application, because I always use the same page. When I rotate my screen, I return to the first screen because the page is refreshing.

I would like to know if you have any solutions or some code sample to start with good bases.

thank

+5
source share
1 answer

It depends on how much you want to change your current project.

If you do not mind to complete the application update, consider using Phonegap with jQuery Mobile + backbone.js or Phonegap with the Kendo user interface . You have already stated that jQuery is used to download content, so switching to jQuery Mobile will not be a problem.

MVC backbone.js jQuery Mobile / / . - . , , .

:

Phonegap + jQuery Mobile , - , .

EDIT:

jQuery Mobile, , :

...data-position="fixed" data-id="footer"...

.

"" : fooobar.com/questions/1142711/...

: http://jsfiddle.net/Gajotres/Beq4H/

+4

All Articles