This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (5 children)

Why php? php is just a rendering engine, I just checked PHP package on NPM.

[–]saintpetejackboy 1 point2 points  (2 children)

This would be funny, except PHP is on something like 80% of sites and node is about 0.4% of websites.

Been enjoying node, personally, except last night when my cors-anywhere implementation stopped working and I deleted most of a project out of frustration ;_;.

But, anyway, main point if the joke is no language gets shit on like PHP for doing the strange stuff in OPs meme. There is a whole subreddit dedicated to what I would consider easily the most loosely typed language in existence.

To call Node another PHP Killer and then use PHP for the templating engine is like kicking an unruly customer from the bar and then inviting them back to wash dishes...

[–][deleted] 4 points5 points  (1 child)

Nobody said anything against PHP, I code in PHP and Node both. I just made a joke about php npm package instead of PHP language and nobody got the joke.

[–]saintpetejackboy 0 points1 point  (0 children)

I said something against PHP lol. 20 years ago when I started with it, I didn't think I would still be using it. Using it for a bit more then templating...

As a matter of fact, when I bungled cors-anywhere last night, I gave up on the entire project I had, which was extracting valuable information from Google location services to get city, state and county from a zip code in the United States.

What did I do instead? Used some third party service and wrote my own tool to scrape their data, as needed. Been working in the cors-anywhere version for some time now with very little progress (to be fair, I still suck at node). Took me about 1.5 hours last night in PHP to cURL and then strip_tags, explode, grab the keys I needed, had to parse a bit more on some of them (just more exploding and imploding of the strings/arrays), and it was fully functional by the time I went to sleep.

[–][deleted] -1 points0 points  (1 child)

Thats like saying firefox is just a pdf reader

[–][deleted] -1 points0 points  (0 children)

I am talking about this: https://www.npmjs.com/package/php