byuva
10-09-2006, 03:43 PM
I note looking through the many examples on your blog that the directory structure is a bit difficult to map to what I have on my hard drive. Here is one possible directory structure that makes sense to me.
/yui/x.xx.xx - Nothing in here other that what comes with yui version x.xx.xx (using the same directory structure)
/yui-ext/xxx.xxx - Nothing in here other than what comes with yui-ext xxx.xxx (same directories as well)
#################
/future - Code that you intend to integrate into future version of yui-ext. If you have the time, update examples to point to the /yui-ext/xxx.xxx when functionality is added.
/future-css - CSS that you intend to integrate into future versions of yui-ext.
/future-images - Images you intend to integrate into future versions of yui-ext
*These directories would hopefully constantly be growing and then shrinking :-)
#################
/app - application code specific to this one example (hopefully a single .js)
/app-css - application css specific to this one example
/app-images - application specific images (it would be great to add as many of these as possible ot yui-ext)
##################
I don't mean to try to dictate you directory structure as much as point out that these are how I, as a somewhat inexperienced user, try to deconstruct each example. I've listed the directories in the order that I find most useful (ie stuff that I know is already in there and I simply have to access), stuff that I can reasonably expect to be added and maintained in the future, and stuff that may be a one off or I should be maintaining myself.
I am pretty inexperienced with CSS and don't really expect to be playing with it too much at this point. In my ideal dream world I would just put a single .CSS file out of yui-ext at the top of my page (perhaps representing one of several possible themes) and then another one or two representing any of my customizations. I realize that CSS is designed to Cascade but it is very compressible and is usually cached so a single CSS file supporting all the basic yui-ext functionality seems to have some appeal. I guess what I am asking for is some sort of simple theme support.
Thanks again for all your hard work and your patience with my somewhat rambling suggestions.
-b
/yui/x.xx.xx - Nothing in here other that what comes with yui version x.xx.xx (using the same directory structure)
/yui-ext/xxx.xxx - Nothing in here other than what comes with yui-ext xxx.xxx (same directories as well)
#################
/future - Code that you intend to integrate into future version of yui-ext. If you have the time, update examples to point to the /yui-ext/xxx.xxx when functionality is added.
/future-css - CSS that you intend to integrate into future versions of yui-ext.
/future-images - Images you intend to integrate into future versions of yui-ext
*These directories would hopefully constantly be growing and then shrinking :-)
#################
/app - application code specific to this one example (hopefully a single .js)
/app-css - application css specific to this one example
/app-images - application specific images (it would be great to add as many of these as possible ot yui-ext)
##################
I don't mean to try to dictate you directory structure as much as point out that these are how I, as a somewhat inexperienced user, try to deconstruct each example. I've listed the directories in the order that I find most useful (ie stuff that I know is already in there and I simply have to access), stuff that I can reasonably expect to be added and maintained in the future, and stuff that may be a one off or I should be maintaining myself.
I am pretty inexperienced with CSS and don't really expect to be playing with it too much at this point. In my ideal dream world I would just put a single .CSS file out of yui-ext at the top of my page (perhaps representing one of several possible themes) and then another one or two representing any of my customizations. I realize that CSS is designed to Cascade but it is very compressible and is usually cached so a single CSS file supporting all the basic yui-ext functionality seems to have some appeal. I guess what I am asking for is some sort of simple theme support.
Thanks again for all your hard work and your patience with my somewhat rambling suggestions.
-b