[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]

What are better alternative to PHP and/or PHP & SQL? I've

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: 25
Thread images: 1

File: People Hate PHP.png (150KB, 2000x1060px) Image search: [Google]
People Hate PHP.png
150KB, 2000x1060px
What are better alternative to PHP and/or PHP & SQL?
I've noticed people love to shit on it, and if anyone has good alternatives I'd be willing to look into them.
Also, preferably not NodeJS & MongoDB, I've already tried it.
>>
I know you guys love to bitch about PHP, let me hear it.
>>
>>58596604
sql is fine, keep using that. learn literally any language you want
>>
But PHP is still the most used language. Why would you not learn that if you're trying to get a job? I guess you could learn Ruby if you want to compete for the 4000 Ruby Jobs that are out there.
>>
>>58597139
I've already used PHP, and know a fair amount.
It's just a matter of finding something that is arguably better
>>
>>58596604
SQL is arguably better.
What I would recommend you instead of PHP would be Go or Python (node.js is cancer)
>>
PHP and JavaScript are both objectively poor languages. But somehow people get stuff done in them every single day. Who cares if it rustles the jimmies of academics and purists if you're getting shit done?
>>
>>58596604

Go. You don't even need a framework to do web work with it + speed|easy deployments|easy to learn|made by people who know how to program(Rob Pike, Ken Thompson).

Yes it lacks generics, yes the error handling is redundant but what really matters in programming is consistency and efficient utilization of resources. Go is good

Rust if you wanna be a memestar
>>
>>58596604
depends what you want to do, php and sql is fine
>>
>>58596604
>Ruby on Rails
>Django or Flask with python
>Node.JS, but yes, MongoDB is overhyped shit that is meant for niche cases
>PHP with Laravel, which has an ORM and RESTful development style like Rails, but vanilla PHP sure is shit
>>
Is JSP any good?
>>
>>58596604
Use the right tools for the right job. There are no objectively correct language to use in every scenario. Pick the one that suits your needs.
>>
>>58599481
Also mongodb has dataloss, so only really useful in scenarios which don't require full data integrity, like analytics.
>>
>>58601134
If that's what one of those enterprise java technologies for using Java on website backends, it's going to be clunky as fuck. Java is awful for backend web stuff
>>
>>58596604
NodeJS and MySQL
>>
>>58596604
>>58599481
I still can't believe how absurdly limited the options for backend programming seem to be.
>>
>>58601875
They're not limited, any combination of web server (module) and database engine works.

In my old job, we used a combination of Python+flask and C++ for a long running FastCGI process and MongoDB.
>>
>>58601386
MongoDB is an eventually consistent distributed key-value store with a concept of objects. It was never intended as a catch-all DB back-end.
>>
>>58601134
No

>>58601667
What the fuck are you on about? Tomcat is neat AF.
>>
>>58601909
>eventually consistent
>never intended as a catch-all DB back-end
yet most people, or at least hipster cucks, try to use it that way
again, niche cases, not a catch-all DB back-end

>>58601916
Tomcat is neat. Just a fair amount clunkier than running one of the following on a command line:
>python script.py
>rails server
>>
>>58602914
>python script.py
In my experience, it's not so simple, it's more like sacrificing a virgin and reciting lines from the necronomicon in order to summon Ghraal the Invoker so he can start the mod_wsgi process and N number of worker threads and then stirring a pot of blood in order to talk to Mh'ithrha the Birth-Womb of the Great Ones in order to make sure that Apache's virtual paths aka endpoints points to the running mod_wsgi process(es) so you can invoke your nifty flask endpoints.

Or even if you use some minimalistic web server, like Gun or Zappa or what the cool kids use today, you still have to pass a bunch of arguments and run multiple commands to deploy.
>>
>>58601134
If you know alot of java I thought they were pretty straightforward to use to do some quick things. Definitely not worth it if you're iffy on java though. I started learning Rails after dinking with JSP+servlets and I think you'll get alot more mileage if you stick with Rails.
>>
>>58602996
Have you tried Flask? 20 line hello world program, then 1 command to get it in browser. Tomcat is like 30 pages of wtf, then you might get something to work, *maybe*.
>>
>>58603158
>Have you tried Flask?
Yes

>20 line hello world program, then 1 command to get it in browser
Have you actually tried deploying it on a real web server like Apache and not using the embedded minimalistic web server which is absolutely dogshit?
>>
Php + laravel is good. I prefer Rails myself, but laravel is good. Source: have written probably a million lines of php for apps that have shipped.
Thread posts: 25
Thread images: 1


[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.