Pages:
Author

Topic: What type of programming language should I use to create a website like CMC? (Read 484 times)

newbie
Activity: 1
Merit: 0
Oh, hello. I'm a programmer, too. I am from Ukraine myself and I want to help people who are still figuring it out. I have been working in america in california for about five years by special invitation. It helped me a lot to learn new things for myself. Ukrainian web development will be the best resource for learning about this topic. Learn and you will succeed)
legendary
Activity: 1750
Merit: 1115
Providing AI/ChatGpt Services - PM!
It's not about the programming language, it's about how efficiently the programmer uses it. You can literally use any language or framework to develop the site. PHP is not a bad choice and it's still used by companies like Facebook. However, I'd choose Python/Django over PHP anyday since Django has an active community. Java, on the other hand, is very suitable for enterprise-related architecture which are scalable. Java developers are expensive so that should also be taken into consideration. C++ no, not an ideal choice for writing a backend. I could help you in detail, don't hesitate to shoot me a message. I might as well lay down the foundation for you.
full member
Activity: 214
Merit: 105
Don't fall for bullshit. PHP is a well-tested language and it heavily depends upon your skill - whether you are able to use PHP properly or not. The problem with PHP is that it has a lot of programmers who don't have any clue what they are developing, often this results in a buggy, poorly coded application. PHP is not insecure, messy or slow, it really depends on how you code. However, I must say that PHP does have its shortcomings, but using NodeJS or any other language will not magically solve them. If you have a slow SQL query, the performance will be terrible both at PHP or any other language. So you must know what you're doing. MtGox was hacked because their code had a security exploit, not because they were using PHP. Websites and companies get hacked irrespective to the programming language they use.

Coming to the actual question, I would recommend using Golang. It is fast, typed and optimized.
hero member
Activity: 784
Merit: 1416

For example I always thought C# is a slow language because it is managed and has overhead,... but over the past few months I've been seeing how wrong I was to the point where I saw an article on how they implemented AES encryption function that was faster than the optimized C implementation!

This, high level languages are already optimized under the hood unlike what commonly tought. There are still some rare cases where it could be faster using an implementation in C though.
hero member
Activity: 1582
Merit: 759
- Fastest development time
- Highly safe and secure / security
- Scalability (this is must)
- Better performance, & fast


To get the last 3 requirements, you need to use a more complex language like C++, but to get fastest/cheapest development process you need to use PHP or JS. You really can't have both, unless you hire a very expensive and very competent programmers who will meet all requirements.

That's not true.

1. PHP is secure. Security with regards to PHP is more to do w/ the developer itself, not the language.
2. PHP is scalable, to an extent. Now, not every website needs to scale like Facebook does. Many websites which started w/ PHP and were granted w/ the amazing problem of having to scale a language (because realistically, it's one of your last headaches when having a website that large) have turned to solutions like creating HipHop (https://en.wikipedia.org/wiki/HipHop_for_PHP) which was eventually replaced w/ HHVM.

He's not talking about creating the next Facebook (or a massive large website) here, so IDK why everyone is approaching it like that.
legendary
Activity: 3024
Merit: 2148
- Fastest development time
- Highly safe and secure / security
- Scalability (this is must)
- Better performance, & fast


To get the last 3 requirements, you need to use a more complex language like C++, but to get fastest/cheapest development process you need to use PHP or JS. You really can't have both, unless you hire a very expensive and very competent programmers who will meet all requirements.
hero member
Activity: 1778
Merit: 764
www.V.systems
If you wanted to go fast, I think going with what you already know is a good go. Plus consider the amount of time you can dedicate learning adding security features using the langguage you are already good at.

Security of the coding language depends a lot on the coding architecture and which codes are executed client-side vs on server. Purely saying one coding language is bad over the other is kinda incorrect. But then there's the compiler issue, but discussing that would be off topic since this is web development.

I think the best framework would be django and node.js - also it'd be important to remember that node js is not a language but a web dev framework.
full member
Activity: 756
Merit: 112
nodejs language express framework for backend
vue js language with vuetify library for front end i would prefer.
i learned them in 2 months from a near zero to beginner level and created usefull results for me.
A lot library for javascript both back and front end you can easily use them, nodejs is popular and vue js is promising
If you are learning in 2019 fastest reliable methods are these , i spent 2 month to decide what should i learn for web based projects and these were excellent choices. There are alot documents online and on youtube videos free so it just depends on you to how fast you can do it.
All other options are harder to learn or not optimized as this solution.
most of the high traffic sites are developed with nodejs so you can trust it. After years o developing you ll have enough information if you need another languae or not. So starting with them is best option  Cool

Thank you. I also thinking node.js is perfect too for my project.
Node.js are super famous and hype, even PayPal engineer love it

According to Jeff Harrell, Director of Engineering at Paypal, “Node.js powers our web applications and has allowed our teams to move much faster in bringing their designs to life.”

If you wanted to go fast, I think going with what you already know is a good go. Plus consider the amount of time you can dedicate learning adding security features using the langguage you are already good at.
full member
Activity: 427
Merit: 100
nodejs language express framework for backend
vue js language with vuetify library for front end i would prefer.
i learned them in 2 months from a near zero to beginner level and created usefull results for me.
A lot library for javascript both back and front end you can easily use them, nodejs is popular and vue js is promising
If you are learning in 2019 fastest reliable methods are these , i spent 2 month to decide what should i learn for web based projects and these were excellent choices. There are alot documents online and on youtube videos free so it just depends on you to how fast you can do it.
All other options are harder to learn or not optimized as this solution.
most of the high traffic sites are developed with nodejs so you can trust it. After years o developing you ll have enough information if you need another languae or not. So starting with them is best option  Cool

Thank you. I also thinking node.js is perfect too for my project.
Node.js are super famous and hype, even PayPal engineer love it

According to Jeff Harrell, Director of Engineering at Paypal, “Node.js powers our web applications and has allowed our teams to move much faster in bringing their designs to life.”
legendary
Activity: 1877
Merit: 1396
The Last Cryptocoin Burner
nodejs language express framework for backend
vue js language with vuetify library for front end i would prefer.
i learned them in 2 months from a near zero to beginner level and created usefull results for me.
A lot library for javascript both back and front end you can easily use them, nodejs is popular and vue js is promising
If you are learning in 2019 fastest reliable methods are these , i spent 2 month to decide what should i learn for web based projects and these were excellent choices. There are alot documents online and on youtube videos free so it just depends on you to how fast you can do it.
All other options are harder to learn or not optimized as this solution.
most of the high traffic sites are developed with nodejs so you can trust it. After years o developing you ll have enough information if you need another languae or not. So starting with them is best option  Cool
full member
Activity: 427
Merit: 100
Most of the exchange site I see are using eithier ruby or java.

Found 2 sites using PHP.

Livecoin.net (php + yii)
next.exchange (php + laravel)

Btw what type of chart libraries that most of exchange sites use btw?

https://www.kucoin.com/trade
https://www.binance.com/en/trade/BTC_USDT
https://cryptowat.ch/markets/kraken/btc/usd

I think for the front end I will use React.js
For the back-end I still thinking either Ruby, Java, C++, Javascript(node.js), or PHP

hero member
Activity: 1582
Merit: 759
Quote
(Mtgox use PHP - and they got hacked)

Be careful not to attribute hacking to a flaw of a specific language unless you have proof otherwise.

Any language coded badly can be susceptible to attack. I would say the language itself is most likely the last culprit.

I'd completely reco Laravel if you like PHP. It'll do exactly what you need to do while somewhat enforcing some more "beneficial" conventions PHP has lacked itself w/ non framework.
legendary
Activity: 1042
Merit: 2805
Bitcoin and C♯ Enthusiast
- Fastest development time
- Highly safe and secure / security
- Scalability (this is must)
- Better performance, & fast

In my experience these things don't depend on the chosen language but instead on the developer's experience. Any code written in any of the modern languages can be fast, secure and scalable if the programmer is good enough. And if not, it doesn't matter what programming language was used.
For example I always thought C# is a slow language because it is managed and has overhead,... but over the past few months I've been seeing how wrong I was to the point where I saw an article on how they implemented AES encryption function that was faster than the optimized C implementation!

If you want security then run security audits and you can even pay security experts to review your system.
If you want scalability then learn the programming principles that help with writing a scalable code.
If you want performance then learn more about performance improvements specific to the language you are using and also run benchmarks and profilers to find the bottlenecks and improve them.
hero member
Activity: 1582
Merit: 759
Honestly, I'd stop with the here-say. You're working yourself up over which language when you clearly already have a good working knowledge of PHP. Go with PHP.

People will have their opinions, bash on PHP for its past (or fair criticisms of it's present), but at the end of the day ANY web language should work with what you want to do, provide you develop right & use the right set of tools.

Remember, the language isn't always the most important part. Server infrastructure/setup, memory software (Redis, etc), is all going to aid as well.

I'd rather a intermediate PHP developer than a beginning Python developer anyday. Plus with later releases of PHP being more modern, along w/ frameworks like Laravel, PHP really isn't as bad of an option as it used to me.

Honestly, dude, I've been there. Worrying so much about the future of your project + if you're making the right decisions. Just start coding, and let things fall into place.
full member
Activity: 427
Merit: 100
~
But how about for another feature? Such as coin index price(like CMC does, with chart, and live coin data update), I still should use C++ too?
Using c++ to build that kind of website is like reinventing the wheel. You better use a framework or a library for that. Or uses the programming languages that you comfortable with. Building that kind of website isnt too resource extensive and time-consuming.
Now i'm much more confused.
legendary
Activity: 1932
Merit: 1273
~
But how about for another feature? Such as coin index price(like CMC does, with chart, and live coin data update), I still should use C++ too?
Using c++ to build that kind of website is like reinventing the wheel. You better use a framework or a library for that. Or uses the programming languages that you comfortable with. Building that kind of website isnt too resource extensive and time-consuming.
full member
Activity: 427
Merit: 100
You concluded well based on the features you are looking at. You need to put PHP aside first if you are looming for
- Fastest development time
- Highly safe and secure / security
- Scalability (this is must)
- Better performance, & fast

If you have a programmer that is good at C++, that will handle the scalability and performance related. Otherwise you might settle down for Node or React

Hi, I know for exchange feature Binance use C++.
But how about for another feature? Such as coin index price(like CMC does, with chart, and live coin data update), I still should use C++ too?
hero member
Activity: 1498
Merit: 596
I heard that Nodejs is much better than PHP and PHP is in declined mode currently globally. Afaik crypto doesn't use PHP, not sure though.
full member
Activity: 1316
Merit: 104
CitizenFinance.io
You concluded well based on the features you are looking at. You need to put PHP aside first if you are looming for
- Fastest development time
- Highly safe and secure / security
- Scalability (this is must)
- Better performance, & fast

If you have a programmer that is good at C++, that will handle the scalability and performance related. Otherwise you might settle down for Node or React
legendary
Activity: 1932
Merit: 1273
CMC but more complex, it will include an exchange. XD Grin

You could just say you want to build an exchange in addition to market cap ratings. If you want to use Binance as your project reference then just mimic them using their technologies, According to Wappalyzer Binance use, Node.js and React.js mainly for their front end, and probably on my guesses they use c/c++ or java for their backend.

About PHP, Personally, I don't know the exact things why it is bad, but indeed most of the developers are hate PHP. Based on the article I've read it has bad language design and core implementations. Nevertheless, Facebook does use PHP, it's not purely built using PHP but use an additional library like https://hhvm.com/. What I mean is pick the language you comfortable with, and suits it with your budget. We also rarely hear Facebook getting compromised, except our data are on purposefully being 'compromised'. Grin

~I have my own expert PHP coder ready for this project.
But as right now, I’m paranoid.
I dont want make future mistake once this project is started.
You get what you've paid for.
Pages:
Jump to: