Continue self-development in PHP or go to the PHP Framework?

I am creating this website to run my friend. A site when its full should be able to handle 10,000 users at the same time and should have great security. I have so far developed the site individually, and everything seems quite feasible, but some of my development friends suggest that I go to the structure. What are the pros and cons of transitioning to structure?

Also, so far I have developed quite a large part of the website, so I can just move it to the environment. I have never worked in any framework before.

+1
php frameworks
source share
5 answers

Why do you want to invent the wheel again and again? Building your own system, in my opinion, is only useful if you want to learn how to build such a system and get familiair with the basics of CMS. The problem is that you have to do all the debugging yourself, which will take a lot of time. With the framework, other people have already done this for you, so you can make progress much faster.

There is no such thing as a better structure. I worked with the Zend Framework and Kohana 3. Both of them are really good frameworks, but if it were before me, I would take Cohan. Remember that there are many more frameworks, and this is not a complete comparison. Just give it Google and choose the one with which you feel most comfortable.

Good luck

+1
source share

Cons in a frame:

  • learning curve
  • you may have to approach differently, then you usually
  • performance overhead (possibly small)

Pros (from GOOD framework):

  • most of the worldly coding is already done
  • Helps you write clear, split code.
  • libraries that will help you in security, data exchange with the database, etc.
  • easier for other developers to go to the project
  • bug fixes from the community framework
+3
source share

The number one advantage to moving to structure is that the people who developed the structure have already solved (most) the problems that you would encounter if you did everything yourself. I think this argument should be enough to answer your question.

If you need help choosing a framework, there are many already answered questions in this area in stackoverflow. You should take a look at some of the opinions already expressed and decide what you need.

+2
source share

I would suggest Zend Framework as per your requirement. Just look at the futures for viewing the site, but this is something that is difficult to learn at the beginning. But if you want to customize, then Core php is the best. For security, you should know that something is better than SQL injection and architecture design according to it. For faster development, you can also upgrade to ROR.

Have a Dream of the Day

0
source share

In addition to my comments, I believe that working with the careers of other nations is more likely a Procrustean affair. Since I wrote this, I know that my infrastructure is inside-out, and it dumps code very quickly, whereas when I code a popular structure like CodeIgniter, Zend or Symfony, it takes me a bit longer to remember how I should that something to do in the way they want me.

Of course, many problems, common tasks, and security problems will be encountered and resolved for you if you use the framework. However, if you have already written most of the website code, then refactoring it to use the structure can be a pretty significant undertaking if you were not smart enough in your original architecture and were not connected to each other.

0
source share

All Articles