This is a past event. Please join us for Web Summer Camp this year.
eZObjectWrapperBundle is an ez5 symfony bundle made by Kaliop to improve eZ Publish 5 Content view rendering in Twig templates. eZObjects can be created by an eZobjectFactory and automatically encapsulate content & location objects.
The bundle provides a mapping system to bind content types to their respective ezobject class, which enables developers to use their own methods to easily render content fields in Twig Templates.
The aim of this workshop is to introduce eZObjectWrapperBundle main features and set up some examples of content rendering using ezobjects.
The story of this open-source bundle was as a feature proposal: https://jira.ez.no/browse/EZP-23891
The bundle source is here: https://github.com/kaliop/ezobjectwrapper
And the description of what it does exactly is here: https://github.com/kaliop/ezobjectwrapper/wiki
You can follow the workshop better with the virtual appliance configuration used at the event. Check out the main repo and follow the instructions. In a nutshell, you should be able to create the Vagrant box with:
$ git clone https://github.com/netgen/summercamp-2015.git $ cd summercamp-2015 $ git submodule init $ git submodule update $ vagrant up --no-provision
Then add all domains in the hosts as explained in the README.
To prepare this workshop, you should then:
$ vagrant ssh (vagrant)$ cd /var/www/summercamp/ (vagrant)$ ./run.sh ezobjwrapper
You should have the workshop accessible in your browser at http://ezobjwrapper.ezsc/. If you have problems, check the FAQ. If you still have problems, you can fall back to using only workshop repo listed here.