Php# (php Sharp) - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Php# (php Sharp) (989 Views)
1 Reply (Go Down)
| Php# (php Sharp) by talk2hb1(op): 11:50pm On Dec 05, 2019 |
|
| Re: Php# (php Sharp) by resosdigital(m): 3:05pm On Dec 06, 2019 |
Read your article and noted the following.
1. First fact was wrong php doesn't power 25% of the internet. It powers 75% of it. Wordpress alone powers about 30%.
2. Php was designed as a simple scripting language you can just add to a web page and that's why it will never be fully oop just like javascript. Part of phps selling point is its simplicity of use but projects like laravel show it can handle way more.
3. All your autoloading can be handled comfortably by composer which is now like the default industry standard.
4. If you need a strongly type more oop like language you can use Facebooks dialect of php which is called hack |
| Re: Php# (php Sharp) by stanliwise(m): 3:57pm On Dec 06, 2019 |
resosdigital: Read your article and noted the following.
1. First fact was wrong php doesn't power 25% of the internet. It powers 75% of it. Wordpress alone powers about 30%.
2. Php was designed as a simple scripting language you can just add to a web page and that's why it will never be fully oop just like javascript. Part of phps selling point is its simplicity of use but projects like laravel show it can handle way more.
3. All your autoloading can be handled comfortably by composer which is now like the default industry standard.
4. If you need a strongly type more oop like language you can use Facebooks dialect of php which is called hack see a php guy |
| Re: Php# (php Sharp) by talk2hb1(op): 11:13pm On Dec 06, 2019 |
resosdigital: Read your article and noted the following.
1. First fact was wrong php doesn't power 25% of the internet. It powers 75% of it. Wordpress alone powers about 30% . I didn't get me fact right before posting, thanks!
2. Php was designed as a simple scripting language you can just add to a web page and that's why it will never be fully oop just like javascript. Part of phps selling point is its simplicity of use but projects like laravel show it can handle way more.
.NET is full fledge language and it is being used in a web page, thats why I think it can be pivoted to complete OOP 
3. All your autoloading can be handled comfortably by composer which is now like the default industry standard. instead of composer cant we just forget include/require/include_once/etc and just use namespace include see how clean it look in Laravel App/Model/User; then you can access the Users properties and method easily what a clean way of doing that. yet Laravel use spl_autoload in the background which slows down php
4. If you need a strongly type more oop like language you can use Facebooks dialect of php which is called hack
its not in the main PHP industry. Thanks for responding to my post.  Noted Thanks  |
1 Reply C Sharp Is So Interesting • C Sharp Developer Needed • 2 • 3 • 4
Clark WP Free One-page Resume Wordpress Theme • Teach Javascript, React Or Node For N400K To N500K Each - Contract • I Need An App For My Business