Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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?
Posted
Updated 23-Feb-19 6:42am

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.
 
Share this answer
 
Comments
Member 14160288 23-Feb-19 9:45am    
Thank you for your answer.
I'm studying JS so far. But I'd like to learn a new language through this app.
OriginalGriff 23-Feb-19 9:54am    
When you are learning a language, any language, don't try to do it by writing an app in it! You will get so much wrong because you have no idea what is and isn't available.
To learn a language, read a book (Wrox and Addison-Wesley do good ones) or better go on a course. Trying to learn a language while writing an app is like trying to learn to drive while entering an F1 race.
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[^]
 
Share this answer
 
v2
Comments
Member 14160288 27-Feb-19 2:49am    
Thank you
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.
 
Share this answer
 
v2
Comments
Member 14160288 27-Feb-19 3:23am    
Thank you for your answer.
You're right. I understand.
Just I need something like that to do my work better. Also I'm doing it for fun.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900