[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

I Like PHP

  1. Home
  2. Board: /g/ - Technology
  3. Reading: I Like PHP

Thread replies: 20
Thread images: 4

I Like PHP
>>
>>54491976
My condolences.
>>
File: asuka_disgusted.jpg (68KB, 556x606px) Image search: [Google] [Yandex] [Bing]
asuka_disgusted.jpg
68KB, 556x606px
Ew.
>>
I really like PHP
>>
File: 1450883301802.jpg (139KB, 1280x720px) Image search: [Google] [Yandex] [Bing]
1450883301802.jpg
139KB, 1280x720px
>>
I enjoy anything that is not javascript
>>
>>54491976
good for you
>>
Modern PHP is pretty good. Comparable to Java or C#.

unlike the abortion that is serverside JavaScript. NPM is horrid and needs to die
>>
>>54491976
So do thousands of other companies and individuals.
What's your point?
>>
>>54492069
I set it as my new wallpaper
>>
>>54491976
laravel and symphony MPGA (made php great again)
>>
Programming in PHP feels disgusting.
>>
File: 1454189092236.gif (72KB, 269x200px) Image search: [Google] [Yandex] [Bing]
1454189092236.gif
72KB, 269x200px
>>54492093
>serverside JavaScript
I didn't even know this existed
(Yes, I'm from the other side of the moon)

> serverside
> Javascript
WHAT THE FUCK?
Isn't JS supposed to run in the clients browser?
JS is only for nice-to-have gimicks on websites, nothing more!
>>
>>54494095
It's a prototype-oriented language that supports functions as objects and doesn't need keywords to create closures. That alone makes it better than fucking PHP. Also there is only one place to configure error-printing and stuff: the source. No php.ini madness. Javascript isn't the best language ever, even if it's been seriously improving, but it's more comfy than PHP.
>>
>>54492151
It makes it decent, but doesn't removes the fact that the main language is shit
>>
>>54494200

At first I thought the Server was written in JS (like nginx is written in C ..).

But you could still use fcgi-wrapper for running any program, written in any language?
So:
Client -> Server -> Fcgi-wrapper -> Application written in (C, bash, JS, ... whateveryoulike)
>>
>>54494299
>At first I thought the Server was written in JS
It frequently is. Node.js's asynchronous nature makes it really good at handling network requests. A simple node server is frequently more scalable than apache at serving resources, and on par with nginx.
>>
>>54494342
so could one run a http web server inside a browser?
(I know the firewall doesn't magically open, but for local use?)
>>
>>54494299
Node is google's V8 javascript interpreter + C extensions + javascript libraries. Then you use those libraries to create a simple server, like in any other language that isn't PHP (though there is a server for dev purposes bundled in nowadays). If you aren't stupid you then put a web server acting as a proxy in front of it, so you can fine-tune the public-facing server better and have several different applications running behind it. Also this >>54494342, although asynchronous programming in javascript is still heavily callback-based and node's event model rather primitive (loop over callbacks and fire them).
>>
>>54494299
>fcgi-wrapper
It's fcgiwrap senpai.
Thread replies: 20
Thread images: 4
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK