如何选择客户端/服务器技术? [英] How to choose client/server technologies?

查看:71
本文介绍了如何选择客户端/服务器技术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个中型.NET WPF Windows客户端应用程序,该应用程序将需要与其他用户共享少量数据(通过服务器上的一些查询). 使用哪种技术编写客户端的最佳选择是什么?服务器组件我使用hostmonster.com,它为我提供了64位x86 Linux帐户+ Apache,PHP等.虽然SQL可能是显而易见的数据存储选择,但数据格式足够简单,几乎可以就像几个二进制文件一样容易.几年前,COM给了我足够的悲伤,我想击败那个怪物,但是我不确定这是否是服务器端的选择,因为系统是Linux

我意识到有可能会有很多组合会起作用.我希望使用Microsoft解决方案,但是服务器是Linux,因此无法进行某些选择.我希望我的选择在几年内被证明是不错的(即仍然很受欢迎/受支持).无论我选择什么,我都必须学习,因为我不认识其中任何一个.我是否需要指定有关我的需求的其他信息以缩小范围?

我知道C,C ++,C#,HTML,XML,XAML,Windows,用户&脚本级别的Linux,还有一点SQL& COM.

I am developing a medium-sized .NET WPF Windows client application that will need to share a rather small amount of data with other users (via a few queries on the server). What are good options for what technologies to use to write the client & server components I use hostmonster.com which gives me an 64-bit x86 Linux account + Apache, PHP, etc. While SQL is probably the obvious data store choice, the data is in a simple enough form that it could almost as easily be a few binary files. Years ago COM gave me enough grief that I would love to have a victory over that monster, but I am not sure if that is an option on the server end because of the system being Linux

I realize that there are probably many combinations that will work. I would prefer Microsoft solutions, but the server being Linux makes some options impossible. I would like my choices to be proven to be good in a few years (i.e., still popular/supported). Whatever I choose, I will have to learn, since I do not know any of them. Do I need to specify additional info about my needs to narrow it down?

I know C, C++, C#, HTML, XML, XAML, Windows, user & script level Linux, a little SQL & COM.

推荐答案

要访问数据,请创建一个
To access the data create a PHP Web Service[^] on the Linux web server with a MySql backend and have your .Net application access the web service to get the data.
What methods the Web Service exposes will be dependant on your data and how you need to interact with it, but don''t send SQL strings.


这篇关于如何选择客户端/服务器技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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