Pages:
Author

Topic: JavaScript/node.js.. (Read 1712 times)

full member
Activity: 168
Merit: 100
December 26, 2016, 06:20:53 AM
#30
Thanks for replying guys!
I guess I'm gonna start with JS and its frameworks.
Planing to start intense learning on my school break,which is 3 weeks..

Thanks again for helping  Wink
hero member
Activity: 882
Merit: 533
December 23, 2016, 11:49:10 AM
#29
Oh no, C is not dead, he is just dying, D is comming, JAVA is high, JS is skyrocketing, needless to talk about the other languages. They will for sure swap to the other languages […]

OS kernel development in NodeJS … Linus is for surely eager to do that … lol

//alex

you can't even imagine how Cheesy
i think that people finally understood that the next gen computers won't need predefined classes to work, and this is the major difference between JS and JAVA C, think of it this way :
C and JAVA:
you need two separate files to define a class, plus then you need functions, you need to explicitly declare them ....
JS:
simply create functions and use them ...

how could it be easier ? computers are getting more intelligent, so the language is going to be easier to handle and code.
full member
Activity: 252
Merit: 113
NFTs on Sale: https://bit.ly/2POlV17
December 23, 2016, 10:41:56 AM
#28
Oh no, C is not dead, he is just dying, D is comming, JAVA is high, JS is skyrocketing, needless to talk about the other languages. They will for sure swap to the other languages […]

OS kernel development in NodeJS … Linus is for surely eager to do that … lol

//alex
hero member
Activity: 882
Merit: 533
December 23, 2016, 10:00:34 AM
#27
PHP will soon be deprecated, […]

MySQL is nearly deprecated, PHP will soon be deprecated?  What's next?  C?

Do you have any type of source for this or is it more a "feeling"?

And arguments on programming language like "it's best!" are odd.  There is always a problem and at least one programming language fitting to solve your problem.  It always just depends on your requirements, your goal, your problem you are going to solve, etc.


// alex

C is aleready deprecated, c c++ c#, all of these are deprecated, you shall have a look at js, this language is skyrocketing, easier to use, quicker to code, user friendly, environment friendly, plus with the new V8 engine, it is as fast as C, and some times, it is faster.

Did you already tell the core-devs that they are using a dead language?  lol.  Obviously you have no glue, what you're talking about.

//alex

Oh no, C is not dead, he is just dying, D is comming, JAVA is high, JS is skyrocketing, needless to talk about the other languages. They will for sure swap to the other languages as a lot of altcoins are doing it, they are developing new cores based on different technologies, NXT JAVA, LISK JS, WAVES both JAVA and JS, there is even a project who made a full node in the browser !!
full member
Activity: 252
Merit: 113
NFTs on Sale: https://bit.ly/2POlV17
December 23, 2016, 08:54:46 AM
#26
PHP will soon be deprecated, […]

MySQL is nearly deprecated, PHP will soon be deprecated?  What's next?  C?

Do you have any type of source for this or is it more a "feeling"?

And arguments on programming language like "it's best!" are odd.  There is always a problem and at least one programming language fitting to solve your problem.  It always just depends on your requirements, your goal, your problem you are going to solve, etc.


// alex

C is aleready deprecated, c c++ c#, all of these are deprecated, you shall have a look at js, this language is skyrocketing, easier to use, quicker to code, user friendly, environment friendly, plus with the new V8 engine, it is as fast as C, and some times, it is faster.

Did you already tell the core-devs that they are using a dead language?  lol.  Obviously you have no glue, what you're talking about.

//alex
hero member
Activity: 882
Merit: 533
December 23, 2016, 06:45:33 AM
#25
PHP will soon be deprecated, […]

MySQL is nearly deprecated, PHP will soon be deprecated?  What's next?  C?

Do you have any type of source for this or is it more a "feeling"?

And arguments on programming language like "it's best!" are odd.  There is always a problem and at least one programming language fitting to solve your problem.  It always just depends on your requirements, your goal, your problem you are going to solve, etc.


// alex

C is aleready deprecated, c c++ c#, all of these are deprecated, you shall have a look at js, this language is skyrocketing, easier to use, quicker to code, user friendly, environment friendly, plus with the new V8 engine, it is as fast as C, and some times, it is faster.

Are there any tests showing it's faster than C?

Do you know some programmers who are offering their services?
This test is about speed : https://www.linkedin.com/pulse/algorithmic-performance-comparison-c-javascript-java-malyshev
This test isn't about speed, but CPU usage : http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=node&lang2=gpp
Here for PHP : http://www.hostingadvice.com/blog/comparing-node-js-vs-php-performance/
and here to stay tuned : http://v8project.blogspot.com/
Soon, node will override all the languages, even now, JAVA doesn't stand agains him, the last one is C, but as you can see in the second link, the CPU usage is lower then C, it explains why the difference is so high because when C uses 80+% of CPU JS uses only 1%.
The next step is to make JS use the CPU and other hardware, and they aleready started.
member
Activity: 102
Merit: 10
December 23, 2016, 06:25:47 AM
#24
PHP will soon be deprecated, […]

MySQL is nearly deprecated, PHP will soon be deprecated?  What's next?  C?

Do you have any type of source for this or is it more a "feeling"?

And arguments on programming language like "it's best!" are odd.  There is always a problem and at least one programming language fitting to solve your problem.  It always just depends on your requirements, your goal, your problem you are going to solve, etc.


// alex

C is aleready deprecated, c c++ c#, all of these are deprecated, you shall have a look at js, this language is skyrocketing, easier to use, quicker to code, user friendly, environment friendly, plus with the new V8 engine, it is as fast as C, and some times, it is faster.

Are there any tests showing it's faster than C?

Do you know some programmers who are offering their services?
hero member
Activity: 882
Merit: 533
December 23, 2016, 06:22:13 AM
#23
PHP will soon be deprecated, […]

MySQL is nearly deprecated, PHP will soon be deprecated?  What's next?  C?

Do you have any type of source for this or is it more a "feeling"?

And arguments on programming language like "it's best!" are odd.  There is always a problem and at least one programming language fitting to solve your problem.  It always just depends on your requirements, your goal, your problem you are going to solve, etc.


// alex

C is aleready deprecated, c c++ c#, all of these are deprecated, you shall have a look at js, this language is skyrocketing, easier to use, quicker to code, user friendly, environment friendly, plus with the new V8 engine, it is as fast as C, and some times, it is faster.
legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
December 22, 2016, 12:24:42 PM
#22
PHP will soon be deprecated, nodejs is far better with a better environment and it doesn't require a lamp to work. Plus javascript is the best one if you want to make "live" website as php is static, the main problem for js is that it can be decoded and de-uglified, however, this may be solved by node's workflow.
That's correct.PHP is not updated frequently and slowly the backend stack is moving to internet's favourite JavaScript for Backend operations.But that doesn't make PHP useless or inefficient (PHP is till the most widely used back-end framework),it all depends on your application requirements.
full member
Activity: 252
Merit: 113
NFTs on Sale: https://bit.ly/2POlV17
December 22, 2016, 11:40:46 AM
#21
PHP will soon be deprecated, […]

MySQL is nearly deprecated, PHP will soon be deprecated?  What's next?  C?

Do you have any type of source for this or is it more a "feeling"?

And arguments on programming language like "it's best!" are odd.  There is always a problem and at least one programming language fitting to solve your problem.  It always just depends on your requirements, your goal, your problem you are going to solve, etc.


// alex
hero member
Activity: 882
Merit: 533
December 22, 2016, 11:08:13 AM
#20
Check out freecodecamp.com they will teach you almost everything you need to know.
Also you can find free stuff on udemy and reddit.

Your also going to have to learn some game theory for the odds and timings.
I would recommend php tho with nginx handles those numbers really quickly.

I do not think mathematics are an issue with NODEJS, with the opensource libraries from Facebook, Google and Microsoft, you can do almost everything with a few lines of codes thank's to theirs SDKs.

PHP is robust but it is a pain to debug and use with all the updates, dependencies and versions.


PHP will soon be deprecated, nodejs is far better with a better environment and it doesn't require a lamp to work. Plus javascript is the best one if you want to make "live" website as php is static, the main problem for js is that it can be decoded and de-uglified, however, this may be solved by node's workflow.
member
Activity: 84
Merit: 10
Javascript developer, Available for work
December 22, 2016, 11:04:22 AM
#19
i would pay you 60$ btc if you make me one Grin

A joke right ?
hero member
Activity: 882
Merit: 533
December 22, 2016, 11:01:27 AM
#18
Right, and if you need a database for a small project, use REDDIS DB, if you need advanced features like user auth, or large data management/storage, use MongoDB or MariaDB, Mysql is near deprecated i think because most of the devs advises to use maria or mongo.

if you need a db, check which one fits your need.  Mongo, Redis or Maria are great DB engines, but might not fit your needs.  Maybe your small project would work better a small SQLite3 DB.  Check your requirements before you stick to an engine as it's a pain in the ass to switch the DB engines later.
That's true, but as of maria mongo mysql, there is no problem as the structure is generally the same, even for the commands. Now if you start with reddis, it is a true pain in the ass because it is a complete different system, reddis is more like nidejs, it is in json format, that's why i think it is best suited for you, but you can also use sqlite and jsonencode the commands.
full member
Activity: 252
Merit: 113
NFTs on Sale: https://bit.ly/2POlV17
December 22, 2016, 10:55:40 AM
#17
Right, and if you need a database for a small project, use REDDIS DB, if you need advanced features like user auth, or large data management/storage, use MongoDB or MariaDB, Mysql is near deprecated i think because most of the devs advises to use maria or mongo.

if you need a db, check which one fits your need.  Mongo, Redis or Maria are great DB engines, but might not fit your needs.  Maybe your small project would work better a small SQLite3 DB.  Check your requirements before you stick to an engine as it's a pain in the ass to switch the DB engines later.
hero member
Activity: 882
Merit: 533
December 22, 2016, 10:10:02 AM
#16
You can do everything with JS.

Buysomebitcoins.com is written at 100 % on NodeJS (Server / Client side)

So,we can development any application with JS. what example application we can build other than dice and casinos etc..

 but I wonder how can use database with JS? I know that we must use PHP to recorder users data and other data as well!  


A Database has nothing to do with nodeJS.

I use MongoDB for buysomebitcoins.com - but all databases engines works with any language.

Databases are independents.

Right, and if you need a database for a small project, use REDDIS DB, if you need advanced features like user auth, or large data management/storage, use MongoDB or MariaDB, Mysql is near deprecated i think because most of the devs advises to use maria or mongo.
Regarding what can be done with JS or NODE, well, you can do everything, just take the time to think about you want to realise your idea, do some deep fetching in NPM, and you will be able to realise everything you can imagine Cheesy
sr. member
Activity: 434
Merit: 253
December 21, 2016, 06:13:20 PM
#15
You can do everything with JS.

Buysomebitcoins.com is written at 100 % on NodeJS (Server / Client side)

So,we can development any application with JS. what example application we can build other than dice and casinos etc..

 but I wonder how can use database with JS? I know that we must use PHP to recorder users data and other data as well! 


A Database has nothing to do with nodeJS.

I use MongoDB for buysomebitcoins.com - but all databases engines works with any language.

Databases are independents.
sr. member
Activity: 650
Merit: 350
NOBT - WNOBT your saving bank◕◡◕
December 21, 2016, 03:26:19 PM
#14
You can do everything with JS.

Buysomebitcoins.com is written at 100 % on NodeJS (Server / Client side)

So,we can development any application with JS. what example application we can build other than dice and casinos etc..

 but I wonder how can use database with JS? I know that we must use PHP to recorder users data and other data as well! 
legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
December 21, 2016, 12:55:11 PM
#13
Check out freecodecamp.com they will teach you almost everything you need to know.
Also you can find free stuff on udemy and reddit.
Not really!The learning material on freecodecamp is limited to newbies and web development rookies,not for advanced stuff.Their react/mongodb tutorials are still in WIP.I believe developing a casino is a not a first time project,one needs to know the in's and out's of the Stack they will be building their projects on.If you're a first time learner,freecodecamp is undoubtedly the best source.

our also going to have to learn some game theory for the odds and timings.
I would recommend php tho with nginx handles those numbers really quickly.
PHP is widely used but learning and implementing it with Python/Django would prune out so much unwanted lines of code.
member
Activity: 102
Merit: 10
December 21, 2016, 12:44:05 PM
#12
When you learn it, let me know. I may have a job for you.

There are lots of people who master Js, why wait ?
OP will need to practice for months before workig on a standart project

Do you know anyone?

Who is talking about waiting? Always better to know someone just in case.
sr. member
Activity: 434
Merit: 253
December 21, 2016, 12:15:46 PM
#11
When you learn it, let me know. I may have a job for you.

There are lots of people who master Js, why wait ?
OP will need to practice for months before workig on a standart project
Pages:
Jump to: