构建租赁桌面应用程序 [英] Building a rental desktop application

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

问题描述

大家好。



我的项目是一个租赁桌面应用程序,有以下选项:

- 它计算租期,金额物品及其价格。

- 这个应用程序显示有关租用物品(和库存物品),债务等的详细报告。

- 它应该能够打印这些报告。

- 它包含一个数据库,用于保存有关客户,租赁物品,债务的信息。



构建此类物品的最佳语言是什么申请?



我的尝试:



我在想什么NW.js和Electron。但是我不确定它是最好的选择。

你觉得在这个项目中使用nw.js或Electron怎么样?

解决方案

< blockquote>最好的语言是:你知道的。

如果你不懂语言和框架,那么你就可以为你的任务添加一个很大的学习曲线。



引用:

我的项目是一个租用的桌面应用程序......我在考虑NW.js和Electron。

但是......对于桌面应用来说,任何javascript都可能是一个糟糕的选择:这是桌面语言真正做得很好的地方。所以,如果您了解C#,C ++,甚至VB,我建议您继续使用。


我想您想编写一个可以在Windows,Linux和Mac上运行的跨平台应用程序。

然后看看Electron的这些替代品: https://www.slant.co/topics/9043/~electron-alternatives-for-cross-platform-app-development-using-web-technologies [< a href =https://www.slant.co/topics/9043/~electron-alternatives-for-cross-platform-app-development-using-web-technologies\"target =_ blanktitle =New Window > ^ ]

还有: https://www.slant.co/topics/5817/~ways-to-make-a-cross-platform-application [ ^ ]


你这是错误的方式。练习有什么意义?你打算写一个应用程序还是学习一门语言?你不能同时做两件事。尝试并且你最终写错了应用程序并且几乎没有学习语言/框架。



为什么会这样?这通常是在这种情况下发生的事情:当你学习语言时,你最终会学习改变应用程序设计的东西,并且最终会一遍又一遍地重写代码。这变得很快,你最终会尝试缩短重写代码。不久之后,您的代码看起来就像10个人同时在键盘上打字一样。你最终放弃了应用程序并转向其他东西。



当你终于熟悉这种语言时,你会回去并完全重写应用程序从零开始。


Hi, everyone

My project is a rental desktop app with the following options:
- it counts rental periods, amount of items and their prices.
- this app shows detailed reports about rented items (and items in stock), debts etc.
- it should be able to print these reports.
- it contains a data base to keep information about customers, rental items, debts.

What is the best language to build such a application?

What I have tried:

I was thinking about NW.js and Electron. But I'm not sure it is the best choice.
What do you think about using nw.js or Electron in this project?

解决方案

The best language is: one you know.
If you don't know the language and the framework, then you add a large learning curve to your task.

Quote:

My project is a rental desktop app ... I was thinking about NW.js and Electron.

But ... anything javascript is probably a bad choice for a desktop app: this is where desktop languages really do well. So if you know C#, C++, or even VB I'd recommend you go with that.


I suppose you want to write a cross platform app that can run on Windows, Linux and Mac.
Then take a look at these alternatives to Electron: https://www.slant.co/topics/9043/~electron-alternatives-for-cross-platform-app-development-using-web-technologies[^]
And also: https://www.slant.co/topics/5817/~ways-to-make-a-cross-platform-application[^]


You're going about this the wrong way. What's the point of the exercise? Are you going to be writing an app or learning a language? You can't do both at the same time. Attempt that and you end up badly writing the application and barely learning the language/framework.

Why is that? This is typically what happens in this situation: As you learn the language, you end up learning things that change the design of your application and you end up rewriting code, over and over again. This becomes old real quick and you end up trying to short-cut rewriting code. Soon after, your code will look like it was written by 10 people all typing on the keyboard at the same time. You end up abandoning the app and moving on to other things.

When you finally get comfortable with the language, you're going to go back and completely rewrite the app from scratch.


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

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