Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
devTea240886yBoth 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.
-
Ganofins7946y@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?? -
C0D4681386y@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.
https://secure.php.net/manual/en/...
@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. -
C0D4681386y@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.
-
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
-
@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.... -
@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 -
C0D4681386y@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! -
learn a sensible language first, so that when JS or PHP start to fuck you up you can at least notice it's happening
Related Rants
What will be your first priority -
1. Becoming PHP developer
2. Becoming JavaScript developer
Which one should I learn first??
question
php
javascript