Finding your ingredients in CakePHP


August 14, 2007
Ever get stuck trying to write code and don't know where to look? If you know the right way to find information within the cake community, you can save yourself time. Not only do you not have to wait for someone to help you, usually you find information you were not looking for. <br/> <br/>Some folks just hop right on IRC and start asking. Others post to groups, without even searching anywhere. There is a chain of command for these things. Many times people have already written articles on what you are looking for. You just have to know how to find what they have written. <br/> <br/>Here are my 5 easy steps to finding out what you want to know about CakePHP. <br/> <br/>Step 1. <strong>Search the <a href="http://bakery.cakephp.org/">Bakery</a></strong> - A lot of people have put a lot of time into putting a lot of good code onto the Bakery. It goes through an approval proccess by the cake developers. 80% of the time you'll find a cure for what ails you right here. <br/> <br/>Step 2. <strong>Search <a href="http://groups.google.com/group/cake-php">Groups</a></strong> - Chances are if you are having a problem, someone else has had this same problem before you. Most times a solution is also posted <br/> <br/>Step 3. <strong>Search the <a href="http://www.google.com/coop/cse?cx=006850030468302103399:mqxv78bdfdo">Blogs</a></strong> - There is a CakePHP custom search maintained by Ritesh that only searches a list of known Blogs. The many smart people within the Cake community discover new features and ways of doing things They post their findings on their blogs. Using this modern technology called the internet, you are able to go read what they have posted. <br/> <br/>Step 4. <strong>Ask for help</strong> - Depending on your problem it may be easier to ask on Groups or on IRC. I tend to ask smaller simpler questions on IRC. Things that are a bit more complex and take more to explain, I like to ask on Groups. If you are asking questions on IRC, try not to be a <a href="http://slash7.com/pages">drain</a>. People who help on there are not paid and only help because of their love for CakePHP. Technically it is your problem and it is really on you to solve it, not them. <br/> <br/>Step 5. <strong>Take the Cake apart</strong> - Sometimes even asking for help does not work. This is when you really have to start getting your hands dirty. You have to dive into Cake and find out what is going on for yourself. Add print statements, modify the cake core to see how things change. I have a sandbox set separate from my production sites. I use this whenever I need to experiment with Cake. This is far and away the best way to learn about Cake any ways. <br/> <br/>There you have it. Happy Baking.
by Ritesh August 14, 2007
hi Robert, you might also consider specifying Custom Google Search for cakephp as it indexes most of this stuff. Ritesh
by rtconner August 15, 2007
Ritesh, I did, see step three. But there is a bug in my website that parses the link oddly with the percentage sign. I gotta fix that. I'll get to that in a week or two when I have time. For now, here is the url: http://www.google.com/coop/cse?cx=006850030468302103399%3Amqxv78bdfdo
by Jono September 17, 2007
CakePHP
by Jesse September 26, 2007
great advice Rob, won't don't you setup a wiki for Niche?