'Hello World' web server - Python Flask vs PHP

preview_player
Показать описание
Avoid boilerplate code!

This is the comparison of Python Flask and PHP. In the video, the same small web application programmed with Flask and PHP to see the difference in code and setup.

Рекомендации по теме
Комментарии
Автор

Yes, PHP is the right tool for a Hello World program.

edsanville
Автор

PHP is like your best ex gf - when all gone - you will call her and it will works 😂

Автор

Who in sane mind write code first then make virtual environtment then install package

noertri
Автор

No wonder JavaScript frameworks try to rewrite it

replikvltyoutube
Автор

You will get hate because of your uncommon beliefs. But I’m with you!!

joebuydem
Автор

Why are You comparing Python framework with a "Hello world" program?
Maybe show us a video about PHP frameworks VS Pyhon frameworks?

isotoxin
Автор

Now a sequel that compares them with Rust!

hniksic
Автор

i am still trying to understand what this comparison is about: i see no points!

wilsonreuben
Автор

Люблю твій канал, бачу відос спішу дивитись перш ніж інші, але от питоня, на яких мовах працюєш професійно й у якій області?

hytryi_huy
Автор

php is cool tbh.






hit me, i'm ready.

okolol
Автор

The most funny thing are angry Python devs in comments. XD
But what to expect from people writing in a children's language. :x

alucard
Автор

You have a point here the second you used $ you lost me, lesson Leary stick to python frameworks 👍🏻

LeLouchMania
Автор

Here’s what I came up with after about 15 minutes of work:

import http.server


class :

def do_GET(self) :
self.wfile.write("200 OK\r\n\r\nHello, world!\n".encode())
♯end do_GET

♯end HandleRequests

server = http.server.HTTPServer(("127.0.0.1", 8801), HandleRequests)
server.serve_forever()

That included time spent reading the documentation for http.server.

lawrencedoliveiro
Автор

Here’s what I came up with after about 15 minutes of work:

import http.server


class :

def do_GET(self) :
self.wfile.write("200 OK\r\n\r\nHello, world!\n".encode())
♯end do_GET

♯end HandleRequests

server = http.server.HTTPServer(("localhost", 8801), HandleRequests)
server.serve_forever()

That included time spent reading the documentation for http.server.

lawrencedoliveiro
Автор

Here’s what I came up with after about 15 minutes of work:

import http.server

class :

def do_GET(self) :
self.wfile.write("200 OK\r\n\r\nHello, world!\n".encode())
#end do_GET

♯end HandleRequests

server = http.server.HTTPServer(("127.0.0.1", 8801), HandleRequests)
server.serve_forever()


That included time spent reading the documentation for http.server.

lawrencedoliveiro