Multiple Ways to Build a Banner Generation Tool with #phantomjs
▻https://hackernoon.com/multiple-ways-to-build-a-banner-generation-tool-with-phantomjs-616287a46
Author: Yurii VlasiukToday we want to share our experience of implementing the backend tool for the generation of graphical #banners from HTML templates. #webbylab’s customer was interested in automation of advertisement banners customisation based on the prepared templates. Basically, you have an index.html with fields where you can insert different components e.g. buttons, images or text. So I will tell about approaches we’ve used to implement such functionality. For our project we chose PhantomJS. You may argue that there are more innovative solutions in the npm repository. But when we started, none of these libraries was stable or well documented yet (Puppeteer, for example, — a Node.js library that provides a high-level API to control headless Chromium-based engines; among its most (...)