Thanks guys - I appreciate both of your responses.
Marnen, I did look at liquid previously and did so again this morning.
However, while I like what the developers are trying to do with certain
features, it's not for me.
And, the nice thing about my system is that there will always be a
default theme in place in a set location, for instance:
public/themes/default
That will be the base default theme.
What I have to really consider are quite a few things. First and
foremost are asset tags. If the asset tags don't include the current
theme, then caching is not going to work properly. There is an
interesting bit in the helper though:
ASSETS_DIR = defined?(Rails.public_path) ? Rails.public_path : "public"
JAVASCRIPTS_DIR = "#{ASSETS_DIR}/javascripts"
STYLESHEETS_DIR = "#{ASSETS_DIR}/stylesheets"
JAVASCRIPT_DEFAULT_SOURCES = ['prototype', 'effects', 'dragdrop',
'controls'].freeze unless const_defined?(:JAVASCRIPT_DEFAULT_SOURCES)
So, my first decision is how to dynamically modify the assets_dir. I
know that assets can be modified through URLs (CDNs), but again, I'm
just now touching into looking through quite a bit of code to make sure
I understand what is going on step by step. Then, I'll create some test
code to play with.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.