How to handle constantly changing ad template code for a site in version control

for a large project that we have been working on (~ 310k uniq / day, a large site, many templates, a lot of content), we must deal with a client selling several sections of the site (each with different layouts) to generate revenue. sometimes its top of the page is for 900x250, sometimes its 952x200 is under navigation, sometimes it requires a new div with custom styles. Ads are served through the Google Ad Manager, and ad buyers rarely (if ever) agree to customize their implementation code for our site.

all the code for this site is in the svn repository, which we try to maintain very carefully:

  • edit templates "online" (on a production server) (such a bad idea)
  • make changes to the local copy, click live (and the risk is later to return to the old ad code and skip it / deal with it before you go live. people miss things, don't pretend like you do not say.)

none of these options are particularly attractive. how do you do it

+3
source share
2 answers

, , / . "" , , -. , / .

+1

, , , .

0

Source: https://habr.com/ru/post/1709102/


All Articles