[Borges-users] controller and delegate
Слепнев Владимир
slepnev_v at rambler.ru
Sun Apr 25 17:58:47 EDT 2004
>Here, the proc returned from my_meth only references UsedObject, so
>UnusedObject can be garbage collected since what is in scope has been
>limited.
Ah, I see.
Hope this doesn't screw up the app developer experience: the "r.
anchor('blah') do foo end" syntax is too nice to lose.
By the way, it seems you were right about delegates. In my new app
there's a lot of components calling each other, and it would be too
much to register them all for backtracking.
Another thing: we do need to make the response headers customizable by
the app developer. For example, I needed to set the response encoding
to UTF-8 for my Borges app... and ended up editing response.rb . Ditto
for caching/no-cache. I guess this kind of thing belongs in the
session class. (We could make it an application preference, but then
we lose multilingual apps... so some other mechanism is needed. Oh,
and preferences are lame, especially ListPreference. All those
wrappers.)
Vladimir Slepnev
More information about the Borges-users
mailing list