将Windows桌面应用程序转换为Web应用程序 [英] Converting Windows desktop application to Web application

查看:298
本文介绍了将Windows桌面应用程序转换为Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我使用基于Windows的桌面应用程序构建在.Net FW 2.0上,使用Oracle 11g数据库作为后端。我需要将整个应用程序从桌面转换为Web应用程序。该应用程序是一个分发管理系统。它执行诸如创建采购订单/销售订单和付款处理等操作。



我正在寻求建议/建议哪个平台将是最好的使用开源环境开发整个应用程序。由于许可限制,我们无法在asp.net上构建此应用程序,也不能在IIS上托管它。我打算使用HTML 5为前端开发应用程序,Javascript用于客户端验证。用于服务器端脚本和GET / POST方法的Php SOAP服务。



我们希望独立于所有平台和所有设备(Mobile / Ipad / Windows)运行此应用程序。



任何建议都将受到高度赞赏。



Raza

Hello All,

I have windows based desktop application built on .Net FW 2.0 using Oracle 11g database as back-end. I have a requirement of converting the whole application from desktop to Web app. The application is a Distribution Management System. It performs the operations such as creating Purchase orders/Sales order and payments processing etc.

I am seeking advice/suggestion as to which platform will be the best to re-develop the whole application using open source environment. We cannot build this application on asp.net neither host it on IIS due to licensing limitations. I am intending to develop the application using HTML 5 for front end, Javascript for client end validation. Php SOAP services for server side scripting and GET/POST methods.

We want to run this application independent of all platform and on all devices(Mobile/Ipad/Windows).

Any suggestion would be highly appreciated.

Raza

推荐答案

没有简单的方法将表单应用程序转换为Web应用程序。

即使您使用相同的业务逻辑,UI也是新的。
There is no easy way to convert a form application to a web application.
The UI will be new, even if you use the same business logic.


在我回答你的问题之前,我想问你......你知道什么是Web开发,Web应用程序在哪里运行?



如果你有一个基于Windows的应用程序;你也提到过.NET 2.0。您可能还在使用一些基于.NET的程序集来简化编程,C#将是您的语言。由于您有兴趣将其转换为Web应用程序,为什么不使用相同的.NET框架资源并将其转换为基于Web的应用程序。



与.NET框架相比,PHP不够用,因为ASP.NET由.NET框架支持。有很多东西你需要构建自己的库,或者在PHP中从头开始编写代码。无论如何,如果你只对PHP和Apache感兴趣,我的建议和建议将是,



Before I answer your question, I want to question you... Do you have any idea what web development is, and where does web application run?

If you're having a Windows-based application; and you've also mentioned .NET 2.0. Chances are that you're also using some of the .NET-based assemblies to make programming simpler, C# would be your language. Since you're interested in converting it to a web application, why not use the same resources of .NET framework and just convert it into a web-based application.

PHP doesn't hold enough as compared to .NET framework, because ASP.NET is backed up by .NET framework. There are many things where you would have to build your own libraries, or write code from scratch in PHP. Anyways, if you're interested in only PHP and Apache, my suggestion and advice would be to,



  1. 将后端代码转换为PHP服务器端脚本代码。
  2. 将前端(可能是表单)代码转换为基于HTML的UI。





另外,你说:





Also, you said:

Quote:

我们希望独立于所有平台和所有设备(Mobile / Ipad / Windows)运行此应用程序

We want to run this application independent of all platform and on all devices(Mobile/Ipad/Windows)





您是否知道Web应用程序仅使用Web浏览器运行跨平台和跨设备。它们的布局基于您应用于Web应用程序的CSS。您可以使用 bootstrap [ ^ ]。


这篇关于将Windows桌面应用程序转换为Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆