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

From legacy to Symfony2

From legacy to Symfony2

Case study of migration from 1000 KLOC size legacy system into distributed architecture with use of Symfony2 framework.

Like it? Hate it? Leave your comment on https://joind.in/10257

Szymon Skórczyński

December 06, 2013
Tweet

More Decks by Szymon Skórczyński

Other Decks in Programming

Transcript







  1. View full-size slide






  2. View full-size slide






  3. View full-size slide

  4. class Resources
    {
    //...
    /**
    * @url GET /{urlId}
    */
    public function getResource($urlId)
    {
    $params = array('id' => $urlId);
    $this->fw->executeAction('resources', 'show', $params);
    $smarty = $this->fw->getSmarty();
    $result = array(
    'title' => $smarty->tpl_vars['res_title']->value,
    'description' => $smarty->tpl_vars['res_descr']->value,
    );
    return $result;
    }
    }

    View full-size slide







  5. View full-size slide