ib4nez

0

votes
0

answer
2

views

Azure - cheapest way to host Angular micro-apps that need url rewrites

I have a SPA that is made up of multiple micro-apps each built with angular. I would like to host on azure as a storage account as it’s all static files, however it requires some url rewrites for various routing reasons and there is no way to configure this in storage accounts. What options do I h...
ib4nez
2

votes
1

answer
33

views

Syncing .htaccess rewrites between different servers

I am working on a load balanced WordPress site and am using the Yoast plugin to allow the clients to add redirects to the .htaccess file via the staging admin site. The problem is that this will only add the redirects to the .htaccess file in the staging admin project (the staging admin site is only...
ib4nez
2

votes
1

answer
53

views

Should two separate methods that call a shared base method individually validate inputs? [closed]

Say I have a base method GetSong() that fetches songs from a database, and two methods that call this - GetRockSong() and GetPopSong(). Both methods take a string input of the song name, then pass that input to the GetSong() method, along with a genre. Should the base method be in charge of validati...
ib4nez