Y
Y
Yippee-ki-yay2015-11-19 12:54:28
Java
Yippee-ki-yay, 2015-11-19 12:54:28

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:

  1. Run on a computer under windows (xp, 7, 8). It is desirable, but not necessary, also the ability to work on a tablet (android).
  2. Ability to transfer and run on another computer without additional software. The principle "inserted a USB flash drive, launched an exe-shnik, it works."
  3. It is desirable to be able to transfer information from the database to a remote server via the Internet.

I studied Deplhi before, but judging by the reviews that I have been reading for two days, this is not the most common tool now. There is practically no literature on Delphi. Therefore, despite the convenience of using Delphi, I am looking for a new language, the ability to program in which will not hang like a dead weight.
So far, the candidates after a cursory review of the literature are C # and Java, and as a SQLite database. However, it is difficult to estimate from scratch what will be more convenient to use :) Hence the question arises: is java suitable for the above purposes? Or is C# better?

Answer the question

In order to leave comments, you need to log in

10 answer(s)
R
Roman, 2015-11-19
@yarosroman

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.

D
Dmitry Kovalsky, 2015-11-19
@dmitryKovalskiy

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.

A
aol-nnov, 2015-11-19
@aol-nnov

> What programming language is the most convenient
one in which you can
> and the ability to work on a tablet (android).
java

V
Viktor, 2015-11-19
@master2016

The soul lies with java, but in practice, in this case, C # is more suitable.

B
beduin01, 2015-11-19
@beduin01

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

O
OnYourLips, 2015-11-19
@OnYourLips

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.

R
Roman Mirilaczvili, 2015-11-19
@2ord

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 .

Z
zed, 2015-11-19
@zedxxx

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.

A
Andrew_Shtein, 2015-11-20
@Andrew_Shtein

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.

L
luis, 2015-11-26
@luis

Delphi+FireBirdEmbedded
Documentation on this sheaf - tons.
Components - tons.
FB has great administration and development tools.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question