@
@
@xaknet2013-12-01 11:45:04
JavaScript
@xaknet, 2013-12-01 11:45:04

What to choose: JavaScript + HTML5 or Java for Android + maybe the web?

Hello, I've been suffering for almost a month now. I don’t know how to decide and choose what will be to my liking and in the future there will be no doubt. I want to learn Javascript, because lately I see that a lot is written in js, and all sorts of fancy things are written in js (also Js and an object-oriented language).
BUT my soul hurts for Java, that such a powerful PL remained on the sidelines from me. But looking towards Java, I want to take on it + Android, since Java is very cumbersome on the web and it will take a lot of time and effort to master it for the web, it’s better to use JS + its libraries or the same node.js as a server part . Maybe Python + Django, Ruby on Rails? But not PHP :)
Can you please advise which way to go? In order not to be left out of technology in the future. I don’t want to mix programming technologies for the web or Android, the main thing is to move in one direction.
Thanks in advance for your advice.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
Yuri Yarosh, 2013-12-01
_

IMHO Node.js is not suitable for typical web projects

"Newfangled" but terribly unstable and raw buns.
From version to version there is no backward compatibility except for "de facto" solutions
(read - application utilities: yeoman, grunt, bower, stylus, sailsjs).
Bugs are fixed for months, and important features can be implemented for years...
Judging by backbone / angular / ember / meteor
Serverside JS is not a cake. Maximum - frontend prerender.
C functions for optimization in node are just wild slag: it takes
more time to call than to execute.
Now Angular is working fine from the client side .
In other cases, "childhood diseases" of backward compatibility appear (Angular has fewer of them) and memory leaks in the browser (I wish it were a joke).
"Java under the web" is not a scary beast, but rather a playful kitten.
Do not generalize and take everything at face value.
Not a single enterprise.
Eating RAM is treated by offheap caching of the model, everything else is without problems.
The server side is good, but insecure and difficult to maintain in the long run.
Take a look at Grails if it's so scary beyond the threshold of entry.
I myself write on Play2 , which I am very pleased with.
True, there you still need to use Jooq and liquibase.
You can use ZK or Vaadin to draw interfaces .
You can learn Java in 2 weeks, and the first volume of CoreJavawill be enough for the web.
JS can also be learned at the same codecademy in 2 weeks.
Android is generally a separate issue, its API has nothing to do with the web.
But basic knowledge of Java should be enough to master.
You can read this here .
ps almost my template answer to the question "what to learn after PHP?"

S
Sergey, 2013-12-01
Protko @Fesor

More and more sad questions are coming... Do you
want to learn java + android and javascript? Well, learn both languages. java for the client, javascript as the server, one way or another it's all client-server technologies. You can write clients in js, but it will take you just as long to figure out what and how, because the front-end is a complicated matter (only because of the variety of hacks and hacks).
In a month you could already master a couple of applications for java or one small one for js, but in the end you all sit and wait for someone to suggest something.
I can advise you only one thing: learn C.
ps and these people have something against php?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question