Click here to Skip to main content
15,030,954 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hello guys!
i have developed a business application in power builder for desktop use.Now i want to run it on the web (want to convert it a web app).The question is weather there are some smart ways to convert already developed Desktop app in web based app or i have to develop it from scratch again.
Posted

It highly depends on the design of existing application. If it had business logic, universal technological parts of code and application-specific code well isolated from UI, you could replace just the UI and the UI binding, otherwise it would be implementation from scratch, which is not such a bad thing: from my experience, really good applications were developed twice, and the first implementation served as a prototype useful for collecting experience and learning application field. Your second implementation can be done so it could have dual UI possible: both desktop and the Web.

I must say that porting the application to Web is much more difficult than in the opposite direction, due to really draconian limitation stemmed from limitations of HTTP, which is a stateless protocol. On of the fundamental concerns will be the state management used to preserve integrity of the application between field. Most likely, you will need to add JavaScript programming, likely with the use of Ajax, which looks totally foreign to your desktop prototype.

To get an idea, take a look:

If you choose to start with ASP.NET, for example, the problem of state management will look like this:
http://en.wikipedia.org/wiki/ASP.NET[^],
http://msdn.microsoft.com/en-us/library/75x4ha6s.aspx[^],
http://msdn.microsoft.com/en-us/library/z1hkazw7.aspx[^];

See also:
http://en.wikipedia.org/wiki/JavaScript[^],
http://en.wikipedia.org/wiki/Ajax_%28programming%29[^].

—SA
   
Comments
Wendelius 3-Jan-12 16:12pm
   
Good description
   
Thank you, Mika.
--SA
To the best of my knowledge, you need to re-develop the application. Probably you can use code conversion tools to translate the code from power builder to other lang thereby reducing the time to develop, but you need to re-design the screens and map the code as required and this cannot be achieved using tools.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900