We are preparing to build a web site with high scale potential. If the scale comes, we want to be ready for it! We decided to use PHP, Apache and MySQL. Should we use some kind of PHP framework (PHPulse, CodeIgniter, CakePHP, Zend,...), or it's better to build everything from the scratch? The nature of web site will be similar to Facebook, but there will be mostly text data (not many images, videos). Web site will be hosted on cloud.
What would you recommend?
Regards...
A framework provides a basic structure for streamlining web application development. However, a PHP framework is not always the ideal solution for web application development. For projects with unique needs or very small applications, the extra overhead that comes with a framework is not always worth it.
PHP doesn't separate views and business logic as NodeJS/MEAN Stack combination do. PHP views and server code is written same way, as a result, the code maintainability and scalability is poor, and it's often hard to introduce new functions and thus difficult in managing large code bases.
PHP frameworks simplify the maintenance of websites or web apps, by enabling PHP developers to write readable and maintainable code. Thanks to features like MVC and ready-to-use code snippets, interpreting and modifying code per your needs is simple.
It is the practice that allows a team to develop cohesive software faster by automating multiple phases such as code building and testing to detect integration errors as quickly as possible.
This question has been asked many times. The general consensus is always do what you can do. Don't worry about making it too scalable from the start, just keep it in your mind slightly. Trying to build too scalable from the start is exhausting and you would most likely give up.
If you do start getting problems due to massive popularity, thats great! You are then popular enough and hopefully earning enough to start having to worry about paying for more expensive hosting and higher end programming/database frameworks and engines.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With