我如何创建实时在线程序? [英] How Can I Create A Real Time - Online Program ?

查看:69
本文介绍了我如何创建实时在线程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿伙计们,你好吗



所以,这个程序包括这样的东西:你打开它,你会有数字信息(到目前为止它很容易,因为它是我可以做的只是设计程序)关键是我希望它上面显示的值是动态的...我想说的是我想要的显示为我想要显示的数字的数字,就像您看到的成员注册的在线计数器一样(尽管其中大多数只是重复的数字组xD)



示例:您打开了程序,它说 - >代码项目很棒

现在你按一个刷新按钮,现在程序说 - >代码项目很棒!

原因是因为运行该程序的用户现在看到''代码项目很棒''是因为主持人(我)将单词''great''改为'''真棒''



我希望你们理解我的想法。现在,哪种编程语言对这类程序最好?我知道C#,C ++和VB的基础知识,但我想使用C ++,因为它是我的主要语言。



我不知道我该怎么做这个主机/用户连接实时+刷新它,我只是想问你为了做到这一点我需要学习什么?这里有哪些概念?如果有人可以告诉我我需要遵循的路径,为了做到这一点,我真的很感激。



提前谢谢你和伟大的编码:)

Hey guys, how you doing ?

So, this program consists of something like this : You open it and you will have numeric information ( so far it's easy as it is something i can do just designing the program ) the point is that i want the values that are shown on it to be dynamic... what i'm trying to say is that i want the numbers that are shown to be the numbers that i want to show like those online counters you see of members signing up ( although most of them are just repetitive groups of numbers xD )

Example : You opened the program and it says --> Code Project is great
Now you press a refresh button and now the program says --> Code Project is Awesome !
The reason because user that are running the program now see '' Code project is Awesome'' is because the Host ( me ) changed the word ''great'' to ''Awesome''

I hope you guys understood my idea.Now, what programming language would be the best for this type of program ? I know the basics of C#, C++ and VB but i'd like to use C++ since it is my main language.

I have no ideia of how i could do this host/user conection in real time + refreshing it and i just want to ask you what do i have to learn in order to do this ? What concepts are here envolved ? If someone could tell me the path i need to follow in order to do this i'd be really gratefull.

Thank you in advance and great coding :)

推荐答案

它与实时无关。如果你想知道实时是什么,请阅读它,但它将非常偏离主题。



问:我如何创建A实时 - 在线课程?

A:我怀疑你能。但如果你的意思是你在问题正文中描述的内容,答案就是:做一些软件开发工作。这个如何并不意味着什么。



问:现在,哪种编程语言最适合这类程序?

答:您列出的所有语言都是通用语言。对于这些微不足道的问题,任何事情都可以完成。其他一切都取决于1)你自己的品味,技能和喜好,2)你想要支持的目标平台。



问:我不知道我该怎么做这个主机/用户连接实时+刷新它我只是想问你我需要学习什么才能做到这一点?

答:对你而言,可能需要学习很多东西,从英文拼写开始,一些准确的工作。正如我所说,没有涉及实时。也没有刷新。您只需更改窗口中显示的数据即可。学习一个基本的东西(而不是你的实时和刷新的概念)将是面向事件的编程的想法。当然,您需要了解它们是如何在您选择的UI库中实现的。



问:这涉及哪些概念?

A:我已经命名了一个。其他所有东西都可以统称为编程的基础。其他概念取决于您使用的平台(.NET会产生重大影响)以及您正在使用的UI库。一个重要的概念是将UI与代码的其他方面分开。



你想要一个非常好的建议吗?我觉得你已经为UI和其他高级领域做好了准备。我建议专注于基本编程。如果你没有太多的基础分心,这是最好的学习。因此,在您获得更多信心之前,最好的UI将是仅限控制台的应用程序。真的,使用这个建议,它会帮助你节省大量时间并避免很多挫折。



-SA
It has nothing to do with "real time". If you want to know what "real time" is, read about it, but it will be very much of off-topic.

Q: How Can I Create A Real Time - Online Program?
A: I doubt you can. But if you mean something you described in the body of the question, the answer would be: by doing some software development work. This "how" doesn't mean anything certain.

Q: Now, what programming language would be the best for this type of program?
A: All languages you listed are universal ones. For such a trivial problems, anything can do the job. Everything else depends on 1) your own taste, skills and preferences, 2) target platform you want to support.

Q: I have no idea of how I could do this host/user connection in real time + refreshing it and I just want to ask you what do I have to learn in order to do this?
A: For you, probably, it's a lot to learn, starting with English spelling and some accuracy in your work. As I say, there is no "real time" involved. There is no "refresh" involved, too. You just change the data represented in your window. One basic thing to learn (instead of your notions of "real time" and "refresh") will be the ideas of event-oriented programming. Of course, you will need to understand how they are implemented in a UI library you choose.

Q: What concepts are here involved?
A: I named one already. Everything else could be collectively called "the very basics of programming". Other concepts depends on the platform(s) you are using (.NET would make the major difference) and the UI libraries you are using. One big concept would be separation of UI from other aspects of code.

Do you want a really good advice? I don't feel that you are ready for UI and other advanced fields. I would advise to focus on basic programming. And it's the best learned if you don't have much distractions from the fundamentals. So, the best UI before you gain more confidence would be console-only applications. Really, use this advice, it will help you to save a lot of time and avoid a lot of frustration.

—SA


1)对于实时在线程序,您可以创建winform或webform项目。

如果它的winform意味着,它将作为客户端服务器应用程序。

此类型的prgram可以作为独立或Intranet应用程序使用。

如果webform(网站)意味着您可以创建Web应用程序,则可以在您的Web服务器中发布,以便所有用户都可以使用它通过互联网。



在这里,你需要选择你需要开发的基于Windows或基于Web的应用程序类型。



2)对于实时数据监控和更新,您可以在选择时使用MYSQL,SQL Server,MS Access或Oracle等数据库。

您可以在数据库中拥有所有动态数据。并显示在您的窗口或Web应用程序中。

您在刷新后可以更新前端数据库中的数据,您可以看到更改。



3)您可以为基于Windows的应用程序选择C ++或C#语言。

对于基于Web的应用程序,您可以选择ASP,C#ASp.NET,VB.Net,JSP,PHP等。 />


4)首先考虑您的项目范围和用途,然后确定您需要哪种类型的应用程序,然后确定您将使用哪种DB和编程语言。



5)在开始项目工作之前学习和工作您的项目所需的几个例子说,例如,您需要在重新参与后将数据从Db显示到您的屏幕。尝试使示例程序连接到您的数据库,从Db中选择您的数据并将数据绑定到您的屏幕。



6)Finnaly制定项目计划并实施你的工作。
1) For real time online program you can create winform or webform project.
If its winform means ,It will be as Client server application .
This type prgram can be usefull as stand alone or Intranet application.
If webform(website) means you can create your web applciation you can publish in your webserver so that all he users can use it by Internet.

Here you need to select what type of application you need to develop as Windows based or Webbased.

2) For realtime data monitoing and updatation ,You can use a Database like MYSQL,SQL Server,MS Access or Oracle as you select.
You can have all your dynamic data in your Database. and display in your windows or web Applications.
You you update the data in your DB in front end after refreshing you can see the Changes.

3)language you can select C++ or C# for windows based application.
For Web based Application you can select ASP,C# ASp.NET, VB.Net ,JSP ,PHP and etc.

4)First Deside your scope and use of your project ,then deside which type of application you need ,Then deside which DB and Programing language you will use.

5)Before starting to your project work Study and work for few examples as which you need for your project say for example you need to display the data from Db to your screen once refereshed.try to make sample program to connect to your db,Select your data from Db and Bind the data to your screen.

6)Finnaly make your project plan and implement with your work.


这篇关于我如何创建实时在线程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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