PDA

View Full Version : Pros and Cons of using PHP for web dev



charlesprabhu
02-10-2022, 08:00 AM
Pros⠀
— Very low overhead to script/code and deploy⠀
— Flexible and can quickly adapt to changes⠀
— Easy to understand and learn⠀
— Easy to test⠀
— Free of cost and/or cheap to develop with ⠀

Cons⠀
— Not scalable; if creating a large/complex API, use a PHP framework like Laravel, or other tech⠀
— Language has inconsistencies which can lead to confusing code if not careful

alexjames
02-10-2022, 12:27 PM
Good information!
Pros
Low learning curve
It’s a ready-made platform for servers with pre-written scripts
Numerous frameworks and libraries are available
Elegant OOP
Strong community support
Its open-source = free
Cons
Executes more slowly than other languages
Inconsistency
Security flaws