CakePHP, what is it good for?

I have heard a lot about tricks, it is even a requirement for some companies engaged in hiring in the workplace. I'm starting to program, but I like to do something from scratch, because I understand everything and feel more flexible.

For my next project, I want to create a site on which there are users, users can vote, and also can publish posts, as well as manage their posts. Would cakephp be a good basis for this or should I just do it on my own?

+7
source share
3 answers

I am a big fan of CakePHP, and until recently, I used it for all the projects that I have been working on over the past four years, introducing them to two companies along the way. Now I work in Coldfusion, so I do not use it at work, but I'm still at home.

If you are just starting out, you donโ€™t need to worry about CakePHP as the job you need now! Learn PHP as well as you can - trick your hands and do all the repetitive things like connecting to databases and building queries.

More importantly, in the job application (and when developing using CakePHP or any framework), you should have a good knowledge of the base language, in this case PHP. Once you know this well, you can make an informed decision about structures and MVC. Then you really will see the benefits, whether it be Cake, Codeigniter or something that is built in a neighboring girl.

+12
source

CakePHP is an MVC framework that was built using the Ruby on Rails architecture style. Moreover, it gives you an agreement that you can follow, and other developers can follow, which is well documented. If you create it from scratch, you can learn more about the basic PHP APIs, but you will lose the benefits of the (probably) generally accepted design architecture.

I would suggest exploring CakePHP or try CodeIgniter instead. The idea is that you can quickly deploy an application with a very reliable set of functions that is well tested, which does not require you to spend time creating basic components. It is more important that you are capable and effective when you know one structure over another.

+5
source

CakePHP is a PHP web framework that implements the Model-View-Controller (MVC) paradigm. It is intended to simplify PHP web development, but the overall workflow is completely different from regular PHP.

No one here can tell you what works best for you, but I would suggest learning how to use PHP before learning how to use CakePHP (just like the Ruby on Rails tutorial suggests learning Ruby before Rails). You wonโ€™t need it, but it will help a lot.

Model-View-Controller (MVC) frameworks for other languages โ€‹โ€‹that you may be aware of and / or familiar with include Django for Python, Ruby on Rails for Ruby, and ASP.NET MVC for ASP.NET.

+3
source

All Articles