I'll try the require method, thanks.

I name the classes like that because 1) they are all grouped together and I
can quickly tell they are all mixins when I look in the directory or file
list, 2) I have mixins for Widgets, Tables, and one other specific class, 3)
I don't mind grouping the new methods together in a single file, for me it
makes it easy to find what I am looking for. But since I am now re-writing
many classes to fit into the new .8 methodology, I may take your advice and
re-name them and break them apart.

Thanks,
Jim


On Thu, Oct 2, 2008 at 8:05 PM, Derrell Lipman <
[EMAIL PROTECTED]> wrote:

>
>
> On Thu, Oct 2, 2008 at 9:20 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:
>
>> I am having a dickens of a time getting my mixin classes to be included in
>> both script builds and actual builds
>>
>
> Jim, I know there's a way to do that using the config file.  Another option
> is to use #require entries in one of your class files.  In any of your class
> files that are getting properly included (and preferably in one to which the
> mixin is relevant), you can do something like this:
>
> /*
> #require(swep.mixinsWidget)
> */
>
> Note that this must be in a commented section.
>
> Also note that by convention, mixins are named with a capital 'M' followed
> by a camel-case brief (1-3 words) description of the purpose of the mixin.
> Yours contains three completely unrelated changes so you could consider
> making them into three separate mixins.  If you keep it like it is, you
> might consider renaming it to swep.MWidget.  Otherwise, you could have
> swep.MToolId, swep.MHtmlProperty, and swep.MChildren or something like that.
>
> Derrell
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


-- 
Jim Hunter

DAILY THOUGHT: SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD
FOR  ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE
STAIRS
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to