Bitcoin Forum
June 20, 2024, 02:42:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: JavaScript/node.js..  (Read 1681 times)
viziano (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
December 12, 2016, 10:37:52 PM
 #1

For winter break I want to start learning JS and its frameworks.
The main reason is to make some BTC casino ideas I have a reality..

The question here,is JS ok for simple BTC casinos,like dice roll or whatever?
As,I know Bustabit.com is writen in JS's frameworks correct?

...........  FREE DISTRIBUTION TO BTC HOLDERS                                 NEW CONSENSUS ALGORITHM
● Byteball ●.   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
..........  REGULATORY COMPLIANT ASSETS                                       UNTRACEABLE PAYMENTS
MartinL
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 12, 2016, 11:07:46 PM
 #2

Correct, bustabit uses JavaScript both on the back end and on the front end. Many companies use JavaScript to build applications at much greater scale than most (all?) Bitcoin casinos are. What concerns do you have about it?
BuySomeBitcoins
Sr. Member
****
Offline Offline

Activity: 434
Merit: 253



View Profile
December 18, 2016, 06:09:41 PM
 #3

You can do everything with JS.

Buysomebitcoins.com is written at 100 % on NodeJS (Server / Client side)
viziano (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
December 18, 2016, 06:31:28 PM
 #4

You can do everything with JS.

Buysomebitcoins.com is written at 100 % on NodeJS (Server / Client side)
Damn,that site actually looks pretty good.
It really motivates me to start learning JS asap  Grin

...........  FREE DISTRIBUTION TO BTC HOLDERS                                 NEW CONSENSUS ALGORITHM
● Byteball ●.   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
..........  REGULATORY COMPLIANT ASSETS                                       UNTRACEABLE PAYMENTS
SparkedDev
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


View Profile
December 19, 2016, 03:14:52 AM
 #5

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.



.
.BITVEST DICE.
HAS BEEN RELEASED!


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████

▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░████
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████

██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░

██░▄▄▄▄░████▄▄██▄░░░░
████████████▀▀▀▀▀▀▀██
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄

██░████████░███████░█
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████

▀████████████████████▀




Rainbot
Daily Quests
Faucet
BuySomeBitcoins
Sr. Member
****
Offline Offline

Activity: 434
Merit: 253



View Profile
December 19, 2016, 03:44:17 AM
 #6

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.
mr.bitcoinerf11
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
December 19, 2016, 03:49:56 AM
 #7

i would pay you 60$ btc if you make me one Grin

▬▬▬▬▬▬ BeOne ICO  ■ Blockchain revolutionizes education ■ BeOne ICO ▬▬▬▬▬▬
ANN Thread Facebook Telegram Twitter
■ ICO on September 7 ■ Bonus up to 50%
SparkedDev
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


View Profile
December 19, 2016, 04:16:35 AM
 #8

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.


Well it depends because any language can change hugely so all depends you just need to make sure it can scale with whatever you choose to make.



.
.BITVEST DICE.
HAS BEEN RELEASED!


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████

▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░████
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████

██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░

██░▄▄▄▄░████▄▄██▄░░░░
████████████▀▀▀▀▀▀▀██
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄

██░████████░███████░█
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████

▀████████████████████▀




Rainbot
Daily Quests
Faucet
ComboChris
Full Member
***
Offline Offline

Activity: 189
Merit: 100


View Profile
December 19, 2016, 04:42:08 PM
 #9

Yep, most btc casinos are written in JS
razoor
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
December 21, 2016, 01:45:36 PM
 #10

When you learn it, let me know. I may have a job for you.
BuySomeBitcoins
Sr. Member
****
Offline Offline

Activity: 434
Merit: 253



View Profile
December 21, 2016, 05: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
razoor
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
December 21, 2016, 05: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.
Patatas
Legendary
*
Offline Offline

Activity: 1750
Merit: 1115

Providing AI/ChatGpt Services - PM!


View Profile
December 21, 2016, 05: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.
jooj
Sr. Member
****
Offline Offline

Activity: 650
Merit: 350


NOBT - WNOBT your saving bank◕◡◕


View Profile WWW
December 21, 2016, 08: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! 

            ██████████  ██████████▄▄
         █████████████  ██████████████▄▄
   ▄███  █████▄                  ▀▀███████▄
  ██████   ▀█████▄          ████     ▀▀█████
 █████        ▀█████▄       ████        █████
 ████            ▀████      ████         ████
 ████         ██▄   ▀█  ██▄ ████         ████
 ████▌        █████▄    ████████        ▐████
 ▐████        ████████    ▀█████        ████▌
  █████       ████ ▀██  █▄   ▀██       █████
   █████      ████      ████▄         █████
    █████▄    ████       ▀█████▄    ▄█████
     ▀█████▄  ████          ▀█████▄   ██▀
       ▀█████▄                 ▀█████
         ▀██████▄▄          ▄▄██████▀
            ▀▀████████  ████████▀▀
                ▀▀████  ████▀▀
Take care of your financial privacy
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
A blockchain loyalty scheme and more
██
██
██
██
██
██
██
██
██
██
██
██


███████████████
███          ██████████████████
████████████████████████████████
███                          ███
███                          ███
███             ██           ███
███       ██   ██   ██       ███
███      ██    ██    ██      ███
███       ██  ██    ██       ███
███                          ███
███                          ███
████████████████████████████████


           ████    ████
       █████████ ████████
                           
████████████████████████████
█████████████████████████████
██████████████████
██████████████████ ███████████
██████████████████ ██    █████
██████████████████ ███████████
██████████████████
█████████████████████████████
████████████████████████████


        ▄█████▄
      ▄█████████
     ████    ███▌
    ███       ██▌
   ▐██ ███  ████
   ▄███████████
  ███████████▀
 ████  ███ ██▌
▐██       ███
▐███    ████
 █████████▀
  ▀█████▀
██
██
██
██
██
██
██
██
██
██
██
██
ANN         Discord
Twitter    Telegram
Nobt-plataform
BuySomeBitcoins
Sr. Member
****
Offline Offline

Activity: 434
Merit: 253



View Profile
December 21, 2016, 11: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.
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
December 22, 2016, 03:10:02 PM
 #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
trigger1975
Full Member
***
Offline Offline

Activity: 252
Merit: 113

NFTs on Sale: https://bit.ly/2POlV17


View Profile
December 22, 2016, 03:55:40 PM
 #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.
nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
December 22, 2016, 04:01:27 PM
 #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.
convertekk
Member
**
Offline Offline

Activity: 84
Merit: 10

Javascript developer, Available for work


View Profile WWW
December 22, 2016, 04:04:22 PM
 #19

i would pay you 60$ btc if you make me one Grin

A joke right ?

nemgun
Hero Member
*****
Offline Offline

Activity: 882
Merit: 533



View Profile WWW
December 22, 2016, 04:08:13 PM
 #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.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!