Normally Rails expects a view template for each controller/view
combination, and complains if it's missing.
With a new Hobo app, most of the view template folders are empty.
Instead Hobo generates tag definitions to suit the defined hobo models
and puts these in the folder taglibs/auto/rapid.
How are these auto-generated tags called in the absence of a view
template?
And what triggers the generation or re-generation of these auto-
generated tags?
as mentioned before, the auto-generation of taglibs takes place and
uses that time
That's right, but you can turn off the dev mode behaviour by doing:
Hobo::ModelRouter.reload_routes_on_every_request = false
This will stop both the routes and the auto taglibs being regenerated
on every request. I personally prefer this as it is much faster but
you have to remember to restart the app when you change the routes or
change something that would affect the generated taglibs.
2.5 seconds per request with that reloading stuff turned off sounds
waaaay too slow. Do you have a lot of models in your app? Even if you
do, the idea is that they don't all get reloaded if that setting is
turned off. It sounds like something is still reloading the models.
I'll have to investigate that.
DRYML rendering is also slower in dev mode.
There are many ideas in the pipeline that can make Hobo really a lot
faster. I'd like Hobo to be *faster* than plain Rails one day, and I
think that's possible (Hobo being higher level than Rails, there could
be opportunities for automatic caching), but as always it has to wait
in line with all the other issues.
Tom