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

PHP @ Agencies

PHP @ Agencies

This presentation was supposed to be held @phpuceu 2013 / Berlin - we decided to merge a couple of topics so this turned out to be a different, more of a free-form "under the sun" discussion w/ Fabian Blechschmidt, Judith Andresen & Rob Searles

Christoph Lühr

May 05, 2013
Tweet

More Decks by Christoph Lühr

Other Decks in Programming

Transcript

  1. 1. Display Content 2. Manage Content - BE 3. Data

    Manipulation 4. Manage Data - BE
  2. Content - "Editables" <div class="logo"> <?= $this->image("logoImage") ?> <div> <div

    class="content"> <?= $this->textarea("contentText") ?> <div>
  3. Data / ORM - "Classes" 1: $product = new Object_Product();

    2: $product->setName('test'); 4: $image = Asset_Image::getByPath("/x.jpg"); 5: $product->setImage($image); 6: $product->save();
  4. Contact Christoph Lühr eMail: [email protected], [email protected] Twitter: @chluehr Slides license

    Attribution-NonCommercial-ShareAlike 3.0 http://creativecommons.org/licenses/by-nc-sa/3.0/ Thanks! Questions?