7
magis
8y

Thanks to @Gormack, everybody is now trying to code inject my website! I have you beat! (Please nobody skilled try it I'll weep)

Comments
  • 0
    Do you use a particular framework at backend?
  • 0
    @mohammed nope! But here me out; I felt it was important to gain a solid understanding of PHP and how it works for a full project before using Laravel or Cake or another framework, to I guess understand the core underlyings of what modern sites are built on
  • 0
    @magis newer sites r be built on Node JS, a little django and react with redux. Check them out. All r better then coding in PHP
  • 0
    @yesh0907 why what makes them better. I shudder at the idea of a JS server.
  • 0
    @SCollins it is asynchronous, faster and easier to scale. Which other languages like PHP make it tougher. Furthermore, more and more companies are looking to hire people who understand and can utilize new tech.
  • 0
    @yesh0907 but new tech is not always better tech, although I will agree it being asynchronous is good, scaling in PHP is not really that hard. What else does it do better? I am just curious
  • 0
    @SCollins agreed newer tech is not always better but in the case of Node vs PHP lots of people would agree with me that Node is better. It is better in the sense that with node you can have real time data execution, less secretly flaws and in general the language is more efficient. Plus node is not widely disliked by developers like PHP is. PHP was a good platform to build web apps and it still is but for better and more scalable web apps node hands down beats PHP in simplicity and scalability.
  • 0
    @yesh0907 I guess they are all valid points, my only problem with it are that it uses JS which is a very popular but also weird language, I prefer things like Typescript which are nicer to write and allow you to do nice OO things and then compile down into JS.
  • 0
    @SCollins ah I see what u mean. That's why I use ES6 Babel transpiler with webpack which solves your dislike of js. If u want you can add the typescript watcher.
Add Comment