Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm really lost here so I hope some can help me.

I have to develop a phone application on every platform so i tough of using phonegap. Seems pretty nice.

I have a web application coded in classic Asp and it's this webApplication that i need to strip down to be a phone app.

At first at thought it will be simple, my classic Asp render some html so phonegap is able to put it as an app.

But it's not that simple, because in my asp I have some code that is rendered server side, I've talked to some who tell me that some html could call the asp pages and this html could be used in phonegap. Don't think it's possible ...

Well if someone could help me here, maybe i've said wrong thing in my little text dont hesitate to correct me :)

My solution (i think) : code some webServices in that will use the same database as my asp classic web application. And some html and jquery will call the webservices and those html and jquery will go trough phoneGap

Well thanks for the help and saying what you think about it ! :)

Simple question : What is the best way to transfer an asp classic web app to a multiplatform phone app ?

share|improve this question

closed as too broad by MichaelT, Snowman, GlenH7, JB King, durron597 Nov 3 '15 at 23:27

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

It's really two different problems, and you can't really "port" the application as-is. Your ASP application is running in a server environment, whereas phonegap runs locally stored HTML/Javascript/CSS within the phone's environment.

Going the route of writing some webservices that will be consumed by jQuery is going to be your best bet if you are trying to write a "native" application that can be downloaded from an App Marketplace.

If you just want to display your website on a mobile phone, find a device detection library, and use that to either redirect or change your layout (and CSS) so that it's formatted for a smaller screen

share|improve this answer

The simplest way: re-think it and re-write it. Developing for phones is different from developing for desktops.

share|improve this answer
and working with classic asp sucks – Ryathal Mar 20 '12 at 19:29
@Ryathal: I can only agree :) – Claudiu Constantin Mar 20 '12 at 19:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.