Jump to content

Recommended Posts

try CodeIgniter. It stands well on its own as a perfectly good framework, but I actually used it myself as a sort of "Beginners Introduction to Cake". Once you've gotten into CodeIgniter, which is much simpler to use, you should find Cake makes much more sense.

 

However, what I was lacking personally was the knowledge of the MVC (Model View Controller) pattern, which made both frameworks quite tricky to understand compared to just writing all my PHP above the doctype on every page or just including stuff.

 

If you've not used a template engine in the past, it might be worth getting your head around the hows and whys of them (none in particular, just the principle of seperating your PHP and your HTML), then looking up MVC in more detail. It's not overly complex, but not having a basic understanding will make Cake/CodeIgniter/Rails frameworks seem much more complex to learn. CodeIgniter's manual has some pretty excellent "in summary" explainations for MVC, so might be worth taking a look over there.

 

nb: ruby is not directly comparable to Cake, as Ruby is the language not the framework

Link to comment
https://forums.phpfreaks.com/topic/45492-cakephp/#findComment-221001
Share on other sites

Using CakePHP greatly enhanced my knowledge of the uses of object oriented PHP, as the framework makes it incredibly easy to program. My production speed has roughly tripled when using CakePHP, which is pretty amazing. The blog tutorial and the manual are the best resources available as of right now, though it helps to dig into CakePHP and read the source code to get an idea of how the back-end works.

Link to comment
https://forums.phpfreaks.com/topic/45492-cakephp/#findComment-221606
Share on other sites

The blog tutorial and the manual are the best resources available as of right now, though it helps to dig into CakePHP and read the source code to get an idea of how the back-end works.

actually, to add to that - it wouldnt hurt to take a look at the infamous Rails blog tutorial too, even though it may not even be the language you'll use. The two frameworks are very similar (Cake being based loosely on Rails) and the principles/process for creating the blog is almost identical in terms of what to look out for.

 

as for going into the Cake source code, this is a great 2 (maybe 3) part article on exactly that:

http://www.thinkingphp.org/2006/09/25/learning-from-the-cakephp-source-code-part-i/

Link to comment
https://forums.phpfreaks.com/topic/45492-cakephp/#findComment-221636
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.