Recipes for successful CakePHP projects

  • 2,742 views
Uploaded on

Slides from the talk given by Felix Geisendörfer during the CakeFest #3 - July 2009 …

Slides from the talk given by Felix Geisendörfer during the CakeFest #3 - July 2009

Note: the original pdf can be found on cakephp.org

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,742
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
77
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Recipes for successful CakePHP Projects Tools & best practices for tasty cake apps
  • 2. Felix Geisendörfer CakePHP since 2005 Worked on core since early 2007 ThinkingPHP.org -> Debuggable.com
  • 3. Good Communication (= less code, more results)
  • 4. E-Mail
  • 5. E-Mail The Good Parts No need for instant responses Decentralized Works offline
  • 6. E-Mail The Bad Parts CC, BCC, Threads - who knows what? Full inboxes, people waiting Return on Investment
  • 7. When to use e-mail Time zone differences Announcements, Spawning debates Emergency notification
  • 8. E-Mail Tools Mailing lists Shared e-mail accounts Automated e-mails for commits, etc.
  • 9. Instant Messenger
  • 10. IM The Good Parts Instant communication Group chat Voice, Video, Screen
  • 11. IM The Bad Parts Distraction !! Multi-tasking = yeah, right History, Incompatibility
  • 12. IM Tools iChat, Adium, etc. Campfire Skype
  • 13. Task Management (getting less done in more time)
  • 14. The truth first
  • 15. Problems with Task Management Getting tasks in Tracking tasks Getting tasks done
  • 16. Tools I like Pen & paper + text files OmniFocus (Mac only) Lighthouse / TheChaw (Trac for Git)
  • 17. Focus Nobody else will do it for you
  • 18. What works 25 minute sessions (pomodorotechnique.com) E-mails t wice a day, IM off in morning Clear goals, every day
  • 19. Unit Testing
  • 20. Failing at unit testing 100% code coverage Test driven development Expecting everybody to write & run tests
  • 21. Where the money is Top-down testing Performance testing Re-assembling
  • 22. Continuous Integration
  • 23. Rolling your own CI box Post-receive Hook from Git Run unit tests, check exit code Log results, notify IM / Email / etc. Expect 1 day of work, but it’s worth it
  • 24. Pair programming Scaling your coding powers
  • 25. Pair Programming 101 1 Computer, 2 people One person types & explains One person listens & suggests
  • 26. Virtualization So you can destroy the environment
  • 27. virtual box vmware
  • 28. Version Control (Because there is plenty of blame to go around)
  • 29. In the beginning, there was pain
  • 30. CVS & SVN gave some hope
  • 31. But branching sucked
  • 32. So Linus gave us Git
  • 33. CakePHP & Git CakePHP is switching from SVN to Git Git is fantastic for cake apps as well Decentralized, offline, fast
  • 34. Command Line (= power)
  • 35. The Chaw (= CakePHP based Git GUI)
  • 36. GitHub (= Commercial & Free Git hosting)