Plugin Development : CakeFest Argentina

These are the slides for a talk I gave at CakeFest : Buenos Aires on plugin development.

Download

Comments

Hey mark,

hope all’s well. hey, I’m trying to write some tests for an app that has a model with an association with a plugin model. any good examples of this?

For example, in the CakeBook comments belongs to the users model in the users plugin — unfortunately there aren’t any tests written for that in the repo at thechaw — but assuming i’m testing that exact thing — my model tests error out as the plugin table/fixtures aren’t loaded.

according the what I recall from your talk, and referencing the slides — it should be as simple as including var $fixtures = array(‘app.comment’, ‘users.users_user’); (assuming we’re using the user prefix for all plugin model names) and it should work, right?

oh and since no one has commented yet — great slides and great talks at cakefest. see ya mark!

Jon on 21/2/09

thanks !

phuc on 15/3/13

Have your say:

*
* You can use Textile markup, but be reasonable