Answer the question
In order to leave comments, you need to log in
What is the best programming language for a local database application?
Good afternoon! Please help with choosing a programming language for creating an order accounting program that works with a local database. Approximate wishes for the future program are as follows:
Answer the question
In order to leave comments, you need to log in
1. So cross-platform (Win and Android), I think it is hardly possible, because different things, mobile and window interface.
2. It's no problem, even written in C # can be assembled into 1 portable EXE.
3. it does not depend on the language.
As a database, I would advise FireBird, maybe a local database (there is a special assembly called Embedded, an analogue of SQLite), while you can make a network at any time and set up replication.
As for Delphi, do not forget that this is a commercial product, and for good, you need to buy it for commercial use. but VisualStudio, for example Express, is generally free, and Community with slight restrictions on use, plus they do not require any deductions for the commercial distribution of the product.
Java will require a JVM to be installed on the client. for C#, an analogue is needed - the .NET Framework, it is installed with the system, unlike the JVM. If you know Delphi, then C# will be very close. Moreover - the first architect of .NET - just the architect of Delphi. Unfortunately, I don't know how the libraries for interacting with SQLite work.
> What programming language is the most convenient
one in which you can
> and the ability to work on a tablet (android).
java
The soul lies with java, but in practice, in this case, C # is more suitable.
D + https://github.com/filcuc/DOtherSide or https://github.com/Jebbs/DSFML
As a result, you can generally make one binary without external dependencies by sewing all resources into it.
How to do this, you can read p0nce.github here .io/d-idioms/#Embed-a-dynamic-library-...
Database driver https://github.com/buggins/ddbc
And I recommend this book to study ddili.org/ders/d.en/ index.html
C# fits these criteria perfectly.
Java is fine too.
Node.js + Webkit is also suitable, but it is difficult to develop for it and applications look bad. However, this is the most cross-platform option, and you can get away with only minimal rewriting when porting to Android.
The scheme for creating applications for Android is as follows: Not only compilers of the Java language
can create bytecode in .class files , but also compilers of a large number of other languages. Java bytecode is executed in the Java VM runtime and its analogue, Dalvik VM:
On portable Android devices, the runtime Dalvik VM is installed, and on desktop devices (today this is already a vague concept) - a full-fledged Java SE Runtime Environment.
It's one thing to compile bytecode into a file, and another thing to execute bytecode instructions from a file.
For example, the Java SE Runtime Environment uses the underlying OS's window system. On Windows it's the Windows API and Linux it's the X server API. Despite the difference in window systems, they have a lot in common.
But on portable devices, the screens are different and instead of a mouse - touching the screen or pen. Moreover, due to the fact that the screen sizes are small, the construction of a graphical interface for desktop and portable devices is very different.
The trend of recent years is the so-called "adaptive design", when the graphical interface adapts to the features of the screen: graphic elements are automatically resized, jump to the next line, etc.
Delphi is suitable for writing desktop applications.
For Android, you can create programs in Free Pascal in conjunction with laz4android .
If you choose between Java and C #, then it is still better to write a desktop application in C #, because the GUI in Java looks a little awry. Delphi is also very good + absolute portability, unlike the candidates above. In addition, with due skill, you can write on it under Android.
By and large, C# and Java are the same egg but from different angles. Languages are similar ideologically and technologically and try to occupy similar niches. So the question is, by and large, purely religious. Look at the tutorials - you will see the differences in syntax, which of the syntaxes is closer to you - take that language. The rest is ruffles.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question