Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Using and reusing CakePHP plugins
Upcoming SlideShare
Loading in …5
×

Using and reusing CakePHP plugins

5,877
-1

Published on

Using and reusing plugins across CakePHP applications - CakeFest 2010 (Chicago)

Published in: Technology
2 Comments
6 Likes
Statistics
Notes
No Downloads
Views
Total Views
5,877
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
123
Comments
2
Likes
6
Embeds 0
No embeds

No notes for slide

  • CakePHP-fr now: 15000 messages, 800 members, 500 visitors a day















  • Adding associations, behaviors
    Changing redirection, workflow...
  • Users is something that is common to most of the applications
    There are common features, but User data / associations / workflow is different across applications



  • Here is a quick and dirty render overriding allowing you to load parents views if needed

  • I will introduce some practices I find useful and I learnt when trying to reuse plugins I wrote
    This is just something personal... so take it as it!


  • Adding associations, behaviors
    Changing redirection, workflow...

  • The keywork here is “magic”.
    You can make your plugin easier to integrate in an application by adding some automagical features in a Component attached to Controller that needs it.
    However, be sure to provide a way to disable this magic if needed.

















  • CakePHP-fr now: 15000 messages, 800 members, 500 visitors a day
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×