edawg Posted April 4, 2007 Share Posted April 4, 2007 Hello, Ive been using cakephp for 2 days now, and am having problems with tutorials, the manual is ok, but is there another really good tutorial to get me started the right way??. What are your views on cakePHP, should I bother with it???, is there anything else, apart from ruby?. Thanks Quote Link to comment Share on other sites More sharing options...
redbullmarky Posted April 4, 2007 Share Posted April 4, 2007 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 Quote Link to comment Share on other sites More sharing options...
Eric_Ryk Posted April 4, 2007 Share Posted April 4, 2007 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. Quote Link to comment Share on other sites More sharing options...
redbullmarky Posted April 4, 2007 Share Posted April 4, 2007 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/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.