Author

Topic: What type of coding is used in sites like Satoshi Dice? (Read 986 times)

hero member
Activity: 504
Merit: 500
Daunting stuff eh  Grin

Good luck, wish I could help. Looking forward to seeing another gambling site.
hero member
Activity: 728
Merit: 500
It's common to use a database abstraction layer, which allows you to do database stuff without writing SQL. (Though I prefer to deal with the database directly.)

Thanks for the help. Looks like I have a lot of learning to do. Should be fun.
hero member
Activity: 658
Merit: 502
Doesn't use these forums that often.
Argh! Use Node.js - it's built for server-side applications.

EDIT: I run a gambling bot for CoinChat (see link in sig) and it's coded in Node.js without any DB.
administrator
Activity: 5222
Merit: 13032
It's common to use a database abstraction layer, which allows you to do database stuff without writing SQL. (Though I prefer to deal with the database directly.)
sr. member
Activity: 246
Merit: 250
If you are looking some code for online btc gambling, I might be able to help you, pm me if you like.
legendary
Activity: 1540
Merit: 1002
So is DICEonCRACK all PHP, or is there a need for database stuff like MYSQL?

There is no PHP in DoC or anything else I do. I'm just saying it is something most people chose.

There is certainly a need for DBs, otherwise we wouldn't have a way to store the games or the results. You could, however, do without it with a little effort, but I would certainly not advise you to.
hero member
Activity: 728
Merit: 500
PHP is a very common choice, one that I personally hate for no good reason Smiley

There's a lot of python behind DICEonCRACK, and pretty much everything I do these days that isn't performance critical, and it is certainly not a waste of your time learning it if you are serious about coding in general. Of course the same thing can be said for any language, like theymos hinted, I just have a personal bias towards python as the barrier of entry is quite low and the possibilities really high.

So is DICEonCRACK all PHP, or is there a need for database stuff like MYSQL?
legendary
Activity: 1540
Merit: 1002
PHP is a very common choice, one that I personally hate for no good reason Smiley

There's a lot of python behind DICEonCRACK, and pretty much everything I do these days that isn't performance critical, and it is certainly not a waste of your time learning it if you are serious about coding in general. Of course the same thing can be said for any language, like theymos hinted, I just have a personal bias towards python as the barrier of entry is quite low and the possibilities really high.
administrator
Activity: 5222
Merit: 13032
Should I be learning PHP, python, or Java?

You can do that stuff with pretty much any programming language, though a dynamic language like PHP or Python will be easier.
hero member
Activity: 728
Merit: 500
I'm eager to learn how to make websites like Satoshi dice, Bitzino, or Pinballcoin.com. However, I don't even know where to start. I don't know anything about coding except for a little HTML and CSS. I don't even know if all the sites I just listed use the same code language.

Can someone point me in the right direction. Should I be learning PHP, python, or Java?
Jump to: