What will be your first priority -

1. Becoming PHP developer

2. Becoming JavaScript developer

Which one should I learn first??

  • 10
    Both of them serves different purposes, what do you want to focus on? Frontend or backend? Although js can serves backend too, I still prefer those solid backend language for the job.
  • 1
    @devTea actually currently I am running both of them, but sometimes I mix up the syntaxes of both of them... that's why asked which one I should go for first??

    Some guys say there is not any scope of PHP....is it true??
  • 3
    @oudalally PHP does have namespaces, just not overly common to come across in everyday use.

    your not wrong about it not encouraging good coding behaviour though.


    @Ganofins as stated before, which side of the development do you want to focus on? if its just to build a dynamic website, then learn both together, the interchanging between languages becomes easier as you go, i currently jump between PHP, JS, Java and Python on a daily basis.
  • 1
    @oudalally yea i agree, I think the main thing holding PHP back is the amount of backwards compatibility the language supports. I get it’s hard to move forward with millions of projects using the language, but taking years to deprecate features doesn’t help either, unless you have a lagacy monolithic beast that’s more practical to leave running on outdate versions then to rebuild to be able to migrate to a new version, but then that should be upto the sysadmin to keep running rather then the language it’s self.
  • 2
    y not do it simultanously? php functions being called by a html/js ajax frontend... its the real deal, instant satisfaction and you can automate things ull use in everyday life, more fun... more learning
  • 2
    @oudalally WAMP, LAMP... really lots of few-click-installers wich dont require u know all of the aspects before u can start coding locally

    btw: lamp, wamp a'd alike a installers (packages) that include everything u need including the right configuration for local development, apache, php, mysql, ssl functionality etc....
  • 2
    At least these arent easy to google questions
  • 2
    @oudalally good point, its true, actually exactly how i learned most of it over time, the big picture, but i dont see at as a negative thing. It did deliver me some hair pulling lol..
    but if he just wants to learn locally on his laptop, not talking about deploying apps or migrating databases, its doable
  • 2
    @oudalally multi environment setup is part of the PHP journey. I kinda like it and setting up a new environment in a different distro or even on windows sometimes is a good knowledge base to have.

    Mind you windows and PHP are in no way meant for each other so I don’t suggest anyone learning how to deploy php yourself to windows in a web server capacity outside of Wamp Server or similar. Cli on the other hand - go for it!
  • 1
    @sharktits 😅
  • 2
    PHP in my case because backend.
  • 2
    learn a sensible language first, so that when JS or PHP start to fuck you up you can at least notice it's happening
  • 2

    Also don't use PHP, use Ruby or Python 3, then work your way up from there.
  • 1
    @EclipseMain why not to learn PHP?
  • 2
    @Ganofins It makes more sense to learn something like Python or Ruby.

    Both are easier, and offer more stable + readable server-side programming than PHP does (check out Django or Ruby on Rails). You can also use Python/Ruby for automation, scripting and writing software.

    I mean, learn PHP if you want; It'll get the job done. But it seems obsolete now because of so many better options.
  • 2
    @EclipseMain thanks for the advice
Your Job Suck?
Get a Better Job
Add Comment