Posted 12 Feb 2012
Link to this post
Petyo, I'm only kind of understanding what you are saying. I've seen different examples of creating HTML5 mobile examples (non-KendoUI), and some have a single page with multiple views on it, and some applications have many individual HTML pages. It seems the very simple applications have a single page with multiple views. The more complex applications seem to have multiple HTML pages.
I'm trying to find the reason to choose one over the other. In my case I'd like to have the home page have a different design than the rest of the pages. Mostly because all the other pages will probably be using some sort of top NavBar and maybe bottom TabStrip for navigation through the application. But the home page will simply be the logo and a list of links that point to most frequently used pages, or sections heads, like Settings, Categories, etc, and then the user can drill down inside that section.
I looked at the Sushi example a little while ago and I can see how that works, but it doesn't have a distinct home page, which is what I want. Is it possible to have a mobile app with both multiple views on a single page and multiple pages? And unless I'm really doing something wrong (or I don't completely understand how HTML5 for mobile works, which is a distinct possibility), ASP.NET MVC doesn't seem to be the best scenario to be used with HTML5 mobile apps, at least the way I envision it.
So when you say, "Regarding your general question about the HTML site: from what we have seen so far, full page ajax requests (which is how our remote views work) perform significantly slower on mobile devices. So for now, I would recommend loading data with web services as the better approach.", are the "remote views" the scenario of having multiple HTML pages?
Also, "no need for a secondary ajax request...", it sounds like you are saying that a call to an MVC Action is an ajax request, no matter what. Really? It's not just a call to a resource like in a standard MVC web application?
You can see I'm pretty green as far as building mobile applications is concerned. :^) I'm just trying to absorb this new thought process.
If you can enlighten me a little more, it would be appreciated.