Upgrade to Pro — share decks privately, control downloads, hide ads and more …

golang at m.elcolombiano.com

golang at m.elcolombiano.com

Juan Felipe Alvarez Saldarriaga

September 03, 2015
Tweet

More Decks by Juan Felipe Alvarez Saldarriaga

Other Decks in Programming

Transcript

  1. What is m.elcolombiano.com? A mobile website made in PHP. Reads

    RSS feeds. Last month they had like 2.791.914 page views. elcolombiano.com
  2. How it works? A background process run every X time.

    This program get feeds from and process each one, also, it saves that information into a DB. The program is made in PHP. elcolombiano.com golang fits in here!
  3. Rewriting a PHP program into golang… The PHP program is

    OOP. All models and business logic is in PHP too. Project structure is totally different.
  4. Simple is better… Dig into other golang projects at github.

    Start moving small chunks of code into golang. Stop thinking in OOP. Look first in the standard library. Avoid too much dependencies.