Recently, I have begun learning the web development languages. I understand that HTML and CSS are necessary. But should I use PHP or JS for back-end programming? I dont really understand the difference between them. I've also heard that Python can be used in place of PHP and JS. Is this true? And if so, how? One more thing: Where does Angular.JS and Node.JS come into play? What do they do? I'm sorry if this is a lot, but as a hopeful web developer I would appreciate all the help you can offer. Thank you!
2/4/2019 12:41:39 AMDaBatman
58 AnswersNew Answer
Learn any language deeply, masters in that's be confident ..every language Important,,,
Well, in summary, both PHP and JS are necessary. Both languages have different purposes.
Marvis Omolu They are both important to know. However, I've really favored working with NoSQL databases the past few years. It depends on different requirements for transactional support and schema consistency. If these mean little to you, then MongoDB is a great database. 😉
You'll need some JS anyway, same as HTML and CSS, it's necessary on the frontend in most cases. Angular is one of the frontend JS frameworks that helps you in that (others are React or Vue, for example). Then for backend, you can either stick with JS (with the help of Node framework) or choose a different backend language (Python, PHP......) which will have their own frameworks. You will choose the backend language based on your preferences or the need of the website, and depending on which languages you wanna learn. For example, people who know JS well will maybe want to stick with JS for backend, not to have to go through the effort of learning a whole new language. But you need to still learn Node. On the other hand, Python may be more friendly and versatile, so if you already know it, or wanna learn it for other purposes anyway, it may be a better choice. PHP is used on most existing websites because backend frameworks for Python and JS didn't exist or because WordPress is based in it. 🎈
For future threads, I recommend one question per thread. It will make it easier for you to check for prior answers and easier for community members to provide focused answers. https://www.sololearn.com/Discuss/1336716/?ref=app https://www.sololearn.com/Discuss/173238/?ref=app https://www.sololearn.com/Discuss/877087/?ref=app https://www.sololearn.com/Discuss/1173248/?ref=app
David Carroll [ "... That said, there is quite a demand for new development work in the MERN stack..."] Is there a demand for new developments in ASP.NET Core?
Moctezuma II that's one way to think about it. I prefer to recommend that people pick the goal before picking the tools (languages, frameworks, etc.).
Igwe node.js... why does everyone ignore node.js? Node.js is an awesome way to write your back-end with js, also , node.js isnt limited to that, it can do much more than just servers, from running on the raspberry pi, to desktop apps (eg: discord, skype and slack are made with electron wich is a node.js module).....