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
-
ToshNeox2528yAgreed, and Node definitely serves a different purpose and can't replace PHP because both are good at what they do
-
and I used to think nodes syntax is a bit trouble to understand btw what ide everyone uses for node
-
ToshNeox2528y@rookiepatty Well, it's JavaScript's syntax, but it's personal opinion I suppose (I really like it, for example). I just use Atom for editing JS files - no need for an overblown IDE for that (again, my opinion)
-
vogon101268y@rookiepatty I also use atom when working with node. For client side stuff though I use WebStorm
-
I used PHP storm for node and it never gave me suggestions for available function In an imported module nor did it show me available properties within a Js file
-
ToshNeox2528y@MicroNibble I only like PHP still because of the ease to run code and put data into a HTML page before it is sent. Because of the fact that Node is a server and PHP is an interpreter, Node doesn't lend itself easily to this. Node serving PHP is fun though, and is quite a powerful stack
-
ToshNeox2528y@MicroNibble I hadn't heard of EJS, although after looking at it PHP still just feels more familiar (of course)
Definitely agree with you on using what's best and you're most comfortable with though
I'm quite tired if all the hate that PHP gets. Whilst the language composition is terrible it runs well with almost minimal setup on a Linux box, it is very powerful when it is used correctly and can even be OK to work in if you take time to setup nicely.
Neither Python nor node seem to me like a good enough replacement as they serve different purposes.
I prefer Python as a language but php serves a purpose
undefined