Best PHP Programming Approach?

I assume that many of us have acceptable many years of experience programming PHP, I myself had 5 years of programming in PHP, since at the university (not very solid), I just want to get some kind of suggestion here,

  • What is the best approach in PHP OOP?
  • Since there are many PHP frameworks, as well as a javascript framework, can anyone share their experience using one of them, as well as use both the PHP and the javascript framework, especially for developing a corporate system? (my company wants to start using infrastructure, ISP).
  • If anyone has their own framework or class or php file, etc. etc., mind to share? now I only have a database connection class.

I have never used a frame structure before, just jquery as a javascript framework, my company messed up the programming approach because they were not really a software house, so all the files are scattered all over the server, I see that there are some questions before about the structure, but I just want to know all your approaches to OOP and in developing massive web applications using PHP, or maybe someone is enough to share your solid written class. Also the pros and cons of all this. Thanks in advance.

edit: FYI. I develop a network management system, sometimes I deal with perl, linux script, RRD MRTG and everyone, but my colleague from only 3 of them includes my boss, so you need to monitor the network, as well as special development, design and programming approach from the past staff is sux completely ... @_ @

+4
source share
3 answers

There are already so many Best PHP questions platform , your answer will certainly be found in one of them. Many of these questions are old, but remember that newer versions of these frameworks can solve older problems.

A brief overview of the frameworks that I saw in use (without any special order):

Other suggestions using git / svn for version control are MUST (even if you're the only developer, this can save you a lot of time)

Personally, I use ZF.

+5
source

all files are scattered throughout the server

Learning a version control tool (git, mercurial, bazaar, subversion ...) is one of the best things you can spend your time on.

+3
source

Source: https://habr.com/ru/post/1307563/


All Articles