MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3v4l98/php_7_released/cxkpupq?context=9999
r/programming • u/fnkrx • Dec 02 '15
729 comments sorted by
View all comments
648
I never liked PHP and glad I don't work on it anymore. But I'm also glad I never turned as toxic as all the PHP haters in this thread.
It's just a language. Congrats to the PHP devs for getting another major release out.
33 u/TelamonianAjax Dec 02 '15 I've always felt PHP had a place in lightweight web applications because of the low overhead.What would someone write a simple web app with database connections in today? Javascript? 61 u/kankyo Dec 02 '15 Python seems pretty similar in overhead and it's a million times saner. 32 u/TelamonianAjax Dec 02 '15 Somehow Python is one of the major languages I just haven't touched over the years. Sounds like I need to spend some time with it. 0 u/[deleted] Dec 02 '15 [deleted] 10 u/TheWheez Dec 02 '15 Also Django, not as light as flask but very powerful and it has the best documentation I've seen in an open source project. 7 u/naught-me Dec 02 '15 For anyone curious: Django is "sink included". Flask is bare-bones.Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework. 2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
33
I've always felt PHP had a place in lightweight web applications because of the low overhead.
What would someone write a simple web app with database connections in today? Javascript?
61 u/kankyo Dec 02 '15 Python seems pretty similar in overhead and it's a million times saner. 32 u/TelamonianAjax Dec 02 '15 Somehow Python is one of the major languages I just haven't touched over the years. Sounds like I need to spend some time with it. 0 u/[deleted] Dec 02 '15 [deleted] 10 u/TheWheez Dec 02 '15 Also Django, not as light as flask but very powerful and it has the best documentation I've seen in an open source project. 7 u/naught-me Dec 02 '15 For anyone curious: Django is "sink included". Flask is bare-bones.Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework. 2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
61
Python seems pretty similar in overhead and it's a million times saner.
32 u/TelamonianAjax Dec 02 '15 Somehow Python is one of the major languages I just haven't touched over the years. Sounds like I need to spend some time with it. 0 u/[deleted] Dec 02 '15 [deleted] 10 u/TheWheez Dec 02 '15 Also Django, not as light as flask but very powerful and it has the best documentation I've seen in an open source project. 7 u/naught-me Dec 02 '15 For anyone curious: Django is "sink included". Flask is bare-bones.Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework. 2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
32
Somehow Python is one of the major languages I just haven't touched over the years. Sounds like I need to spend some time with it.
0 u/[deleted] Dec 02 '15 [deleted] 10 u/TheWheez Dec 02 '15 Also Django, not as light as flask but very powerful and it has the best documentation I've seen in an open source project. 7 u/naught-me Dec 02 '15 For anyone curious: Django is "sink included". Flask is bare-bones.Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework. 2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
0
[deleted]
10 u/TheWheez Dec 02 '15 Also Django, not as light as flask but very powerful and it has the best documentation I've seen in an open source project. 7 u/naught-me Dec 02 '15 For anyone curious: Django is "sink included". Flask is bare-bones.Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework. 2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
10
Also Django, not as light as flask but very powerful and it has the best documentation I've seen in an open source project.
7 u/naught-me Dec 02 '15 For anyone curious: Django is "sink included". Flask is bare-bones.Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework. 2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
7
For anyone curious: Django is "sink included". Flask is bare-bones.
Flask is like PHP (just throw a script up and it runs). Django is more like a PHP framework.
2 u/ksion Dec 02 '15 Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does. → More replies (1)
2
Flask still mandates a separation of template (view) from HTTP handler (controller) code. I don't think there is anything in the Python world that enables the kind of mixing PHP does.
→ More replies (1)
648
u/[deleted] Dec 02 '15
I never liked PHP and glad I don't work on it anymore. But I'm also glad I never turned as toxic as all the PHP haters in this thread.
It's just a language. Congrats to the PHP devs for getting another major release out.