WPF /网站代码计划 [英] WPF/ Web site code schedule

查看:84
本文介绍了WPF /网站代码计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我是编程的初学者,我学到了很多功能,但我没有任何实践经验。所以我想如果有人愿意并且愿意给我一些代码(或代码的照片),但是正确和专业的东西,所以我可以看到它在现实世界中是如何工作的。我有很多问题:

- 如何在解决方案中组织文件夹和文件?

-在哪里设置类,接口,表单和类似的东西?

- 当我想连接到数据库时,这是最好的方法,我应该每次编写连接代码或是否有更好的方法,例如放入方法,但那我应该如何发送查询?

-抽象和接口使用的例子,因为我不知道为什么如果你需要实现他们的方法,那么制作它们是不是更容易在你使用的类中制作那些方法?



还有更多的问题。一切都会有用。

对不起我的英文:D并提前致谢。

Hello,

I'm beginner in programming, and I learned a lot of functions but I don't have any experience in practice. So I would like if anybody has and is willing to give me some code (or photos of that code), but something correct and professional so I can see how is it work in the real world. I have a lot of questions like:
-How to organize folders and files in solution?
-Where to set classes, interface,forms and stuff like that?
-When I want to make connection to database which is the best way to do that actually should I every time write code for connection or is there any better way for example putting in method, but then how should I send the query?
-Example of abstract and interface usage, because I don't know why make them if you need to implement their methods, isn't then easier just make that methods in the class which you use?

There is much more questions. Everything would be useful.
Sorry for my English :D and thanks in advance.

推荐答案

首先,你真的应该明白什么编程是,以及它是什么意思,学习编程。它不是在学习很多功能,甚至不是很接近。优秀的开发人员很少记住许多功能和其他无聊的事实,为什么?学习是学习思想,理解,是的,练习。



这是识别问题的能力,有时也会提出好的问题。如果你看到我的答案,你会看到你的问题有多弱:



  • 整理文件夹和文件?

    这完全取决于你。
  • 在哪里设置课程......?

    这完全取决于你。
  • 当我想制作连接时......

    您没有指定任何特定问题。我建议您不要使用数据库(以及UI,图形,网络和其他高级主题),直到您获得基础信任记录。请记住,较慢的方式可以更快地实现目标。
  • 抽象和界面使用。

    再次,很难看出你的问题是什么。请参阅我最近的回答:与界面对象创建混淆和抽象类 [ ^ ]。

    此外,请参阅此帖子中对OP的评论。那个问这个问题的人并不清楚这些问题,以及你是谁。
First of all, you really should understand what programming is, and what does it mean, learning programming. It is not learning "a lot of functions", not even close. Good developers rarely remember many "functions" and other boring facts, why? The learning is learning of the ideas, understanding, and, yes, practice.

And this is the ability to recognize problems and, sometimes, ask good questions. You will see how weak are your questions are if you see my answers:

  • Organize folder and files?
    It's totally up to you.
  • Where to set classes...?
    It's totally up to you.
  • "When I want to make connecton…"
    You did not specify any particular problem. I would suggest you not to work with databases (and also UI, graphics, networking and other advanced topics) until you gain a log of confidence in the basis. Remember, the slower way leads to the goal faster.
  • Abstract and interface usage.
    Again, it's hard to see what are your problems. Please see my recent answer: confuse with object creation of interface and abstract Class[^].
    Also, see my comments to OP in this thread. The person who asked that question as not clear enough about those concerns, as well as you are.


这篇关于WPF /网站代码计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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