Zynga has always been a strong proponent of open source technology and uses a Linux, Apache, Memcached, MySQL, PHP (LAMMP) stack throughout its games. In the past, we have focused our development efforts in particular on PHP and Memcache and have contributed back to the open source communities in those areas.
We haven’t been idling on the HTML5 game front either: In a first step towards HTML5 games and following Facebook’s launch of its mobile apps and site, Zynga launched three HTML5 games: Zynga Poker Mobile Web, Words With Friends HTML5 and FarmVille Express. As a great example of what HTML5 can give us, those games specifically deliver faster loading times than their native/Flash counterparts. We have also started integrating slick, new features such as Web sockets and CSS Transforms that we learned to utilize well through our research. Check out some of key learnings from Zynga Poker Mobile Web development.
In a nutshell, Zynga Scroller addresses the common problem of making content pannable and zoomable. With it, you can enable smooth scrolling and zooming of content areas on your site across multiple devices, and it’s specifically well suited for games: Since it’s designed as a pure logic component (in a callback, you decide who to apply the pan/zoom values), it works for both HTML, Canvas, SVG or WebGL – anything that runs on the open web stack.
Zynga Viewporter is a small utility that once plugged into your mobile website, starts managing the viewport, meaning the actual browser size, automatically. It automatically scrolls away URL bars to maximize the area you have for your content, triggers the native device pixel resolution for performance reasons and knows what to do when you rotate your device.