Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

best PHP programming approach? [closed]

i guess that many of us has acceptable years of experience in PHP programming, me myself got 5 years programming in PHP since in University (not very solid), i just want to gather some suggestion here,

  • what is better approach in PHP OOP?
  • Since there is a lot of PHP framework out there as well as javascript framework, can anyone share their experience in using one of them as well as using both of the PHP and javascript framework together especially for developing enterprise system? (my company want to start using framework, ISP company)
  • if someone has his/her own framework or class or php file so on and so forth, mind to share? now I've only database connection class.

I've never use any php framework before, just jquery as javascript framework, my company has a messed up of programming approach because they did not actually a software house, so all the files are scattered across the server, I see that there are some question before about the framework but i just want to know you all approaches on OOP and in developing massive web apps using PHP, or maybe someone kind enough to share their solid written class. Also pro's and con's of all this things. Thanks in advance.

edit: FYI I'am developing network management system, sometimes deal with perl, linux script, RRD MRTG and all, but my colleague is only 3 of them include my boss, so have to monitor network as well as ad-hoc development, the design and programming approach from past staff is sux all the way...@_@

like image 648
Nazrul Muhaimin Avatar asked Dec 28 '22 19:12

Nazrul Muhaimin


2 Answers

There are so many Best PHP Framework questions already, your answer is bound to be found in one of them. A lot of these questions are old though, so remember that newer versions of these frameworks might solve older problems.

A quick summary of frameworks I've seen in use (no particular order):

  • Symfony
  • CakePHP
  • Zend Framework
  • Code Igniter

Other suggestions, using git/svn for source control is a MUST (even if you are the only developer, it can save you a lot of time)

Personally, I use ZF.

like image 62
gnarf Avatar answered Jan 08 '23 17:01

gnarf


all the files are scattered across the server

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

like image 44
Álvaro González Avatar answered Jan 08 '23 19:01

Álvaro González