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. 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; } }