[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is PHP done for servers?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 43
Thread images: 5

File: C-SexIMUMAATRtn.jpg (215KB, 2048x1152px) Image search: [Google]
C-SexIMUMAATRtn.jpg
215KB, 2048x1152px
Is PHP done for servers?
>>
No. Plenty of legacy for PHP and node is garbage.
>>
>>60112367
fpbp
>>
Is there a single good serverside language?
>>
>>60112817
C
>>
>>60112165
PHP's been done for years, mate. Many years.
>>
>>60112858

Nobody wants to worry about manual memory management for a web app senpai.
>>
>>60112870
So what we need to use now ?
>>
>>60112922
ASP.NET Core
>>
>>60112922
Python
>>
>>60112922
Java, Node.js, C#
>>
>>60112858
well, hardly anyone has even bothered to use C in web applications after Perl gained popularity in the mid 90s.
I did write a somewhat complex C + FastCGI application once based on examples published in 1996, and it was very fast even when running on Apache with mod_fcgid (or was it mod_fastcgi?).
>>
>>60113031
>it was very fast
It's almost like interpreted garbage is wasting resources for no good reason.
>>
File: language-wifus.jpg (94KB, 599x657px) Image search: [Google]
language-wifus.jpg
94KB, 599x657px
>>60112165
Far from it, PHP7 is pretty nice and here to stay.
Ruby (and Rails) are in decline.
No idea about Python (Django, Flask).

I also hear good things about Go (aka Golang) and Elixir.
>>
>>60112817
Clojure.
>>
no its not

PHP 7.0+ is used to write modern cloud services. I know a poo in loo who does this for a living

git gud
>>
File: ガンボー.jpg (82KB, 620x458px) Image search: [Google]
ガンボー.jpg
82KB, 620x458px
fuck php
>>
>>60112165
Is there a good reason to not just make a C backend that communicates via websockets to the client?
It seems easy on both the frontend and the backend.
>>
>>60116481
>Is there a good reason to not just make a C backend that communicates via websockets to the client?
Yes, security. You in particular would botch it and so would your favorite programmer and K&R.
>>
PHP is fine. Pretty much the best option you have right now for server side web dev.
>>
>>60116523
You basically send strings back and forth, if you sanitize it, what can go wrong?
>>
>>60117393
>what can go wrong?
- every retard before they opened up a big gaping security hole

just focus on the problem that needs to be solved instead of the virtues with which you solved it instead, it doesn't matter if you can execute something in 15ms instead of 25ms when your shit internet connection will still take 200ms to load it anyway
>>
>>60112165

They're moving data for our main website to AWS.
>>
>>60112817
C++ with tntnet (it supports even templating)
>>
>>60112817
Node is being used a lot lately, but I wouldn't call that "good".
I've been using Go, which is really simple and straightforward without all the weirdness of JS or PHP.

>>60112870
It's trying really hard to hang on. WordPress and other software will make sure it hangs around in some form or another for quite a while. Also doesn't help that Facebook is written in it, and instead of rewriting their code base, they just wrote a faster VM.

Basically, PHP is too big to fail at the moment, so everyone who relies on it are trying to fix it up in their own way.
>>
>>60112817
D
>>
>>60113031
>be C/C++ guy
>responsible for WordPress site
>get complaint that blog post comments lead to blank page
>check it out and it's true
>wtf?
>check the php log
>timeouts...timeouts every where
>think it's a bug
>nope...php+wordpress is THAT FUCKING SLOW
>increase one of the timeout parameters in php.ini
>30s to 60s
>it werks
>c could probably do it in 0.06s
>tfw the web will always be a slow ass pile of shit because of hipsters, normies, and coder camps

Why live?
>>
>>60116523
>MUH C SECURITY MEME!
>t. Someone Who Has Never Looked At PHP Or JavaScript Bug Lists

>>60117771
>it doesn't matter if you can execute something in 15ms instead of 25ms
>implying php can do anything in 25ms
>implying processing time is meaningless with popular web sites
>>
>>60112817
erlang
go
>>
>>60118188
>I've been using Go

i got sick of nodejs so i was looking into go but i trashed it when i i saw that chaining middleware was like middleware1(middleware2(middleware3()))

fuck that

now I'm learning Elixir.
>>
>>60112817
COBOL
>>
How hard to learn / different is Node.js (and three.js)?

I used to do a fair bit of php/javascript back in the day, but for the last year I've been working with C++/C#/Scala only on non-website development.

I have a fair bit of time over the summer for a new project and fancy a new website.
>>
>>60112903

On low power embedded devices they do. Plenty of people writing serverside applications that aren't "webapps" -- high school dropout code monkeys write webapps (or hope to one day).
>>
>>60112817
anything JVM
>>
File: UlQjuO3.png (248KB, 443x395px) Image search: [Google]
UlQjuO3.png
248KB, 443x395px
>get a bachelors degree in web development and design
>they focused on php and only touched on javascript for 1 semester

am i fucked?
>>
>>60119414
Just learn the ins and outs of asynchronous programming and you should be fine.
>>
>>60112959
the only sensible answer here.
>>
>>60118768
>chaining middleware
literally pleb tier, use a better framework
>>
>>60115779
>c is a granny
>not an ascended multidimensional god
>>
>>60118287
If it's that slow, either the web/database server is misconfigured or the script is fucked.
>>
File: 1431763850404.gif (50KB, 400x320px) Image search: [Google]
1431763850404.gif
50KB, 400x320px
>>60112367
Node is gud if u r gud
>>
So is JavaScript any good? Teacher was going to offer a free course in it.
>>
>>60121833
I personally like it, but you'll get hate here.
I don't know if I would take a course with it though. Just build a little game like snake or something using js.
Thread posts: 43
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.