I wanted to include some javascript on a single page which was identical to the rest of the site, except it had 'onLoad()' and 'onResize()' events in the page body.
To do this, I created a new ./lib/MyApp/View/NewView.pm, which was identical to ./lib/MyApp/View/HTML.pm except it pointed to a different wrapper: 'site/jsPageWrapper'.
My 'site/jsPage' was identical to 'site/wrapper' except it called the WRAPPER 'site/jsPageHTML'
In turn, 'site/jsPageHTML' was identical to 'site/html' but with the relevant event handlers on the body tags.
In my controller, I needed to forward to my new view: $c->forward('MyApp::View::NewView').
and that was that.
PostgreSQL Extensions - A Deeper Look
-
My slides from my session "PostgreSQL Extensions - A Deeper Look" at
PostgresOpen 2019 and PostgresConf SV 2019
* PostgreSQL Extensions: A deeper look ...
4 years ago