Ask HN: Is there a place for professionals to trade skills
3 ポイント投稿者 ruckusing3 コメント
$(document).ready(function() {
if (V.Views.orders_index) { V.Views.orders_index(); }
}
Where "V.Views.orders_index" is basically "${controller}_${index}". Thus you just need to actually define that function in an included JS and voila, thats your calling hook and your JS is invoked.
As another poster highlighted, hosting other people's content is tricky. Its certainly not a business I would rather be in. I bet the management of this SaaS service is going to quickly take over your day job.
If you are just hosting your own content you can do it pretty cheaply using the AWS Serverless Image Handler stack:
https://aws.amazon.com/solutions/implementations/serverless-...