6. Full Stack Web Application
Framework
● Combines the power of Symfony components,
into a fully featured Web Framework
● Rich and 'state of the art' feature set includes:
- Full MVC Stack, Dependency Injection, Doctrine
ORM Integration, Twig Templating Engine etc.
● High quality standards and rapid development
● High performance
10. Components provide answers, to
common questions
● How do I crawl the DOM?
– symfony/dom-crawler
● How do I parse a YAML file?
– symfony/yaml
● How do I validate my forms?
– symfony/validation
● How do i write a CLI app with PHP?
– symfony/console
12. Using in
● Use Symfony Components to handle common
tasks like Config parsing, form validation etc.
● Wrap common business logic in packages, to
keep them reusable
● Use OXID Modules to wrap your packages
14. Introducing:
● Composer is a dependency manager for PHP applications
● Resolves dependencies and keeps them as up to date as
you need them
● Used by symfony to install components and bundles
● Provides access to thousands of PHP libraries,
distrubuted via the packagist package repository
● Comes with an easy to use autoloader
17. Using composer's autoloader in
OXID
chl@loki~/oxideshop_ce/source$catmodules/functions.php
<?php
/**
*Addcustomfunctionshere.
*/
require_once(__DIR__.'/../vendor/autoload.php');
That's it. Now, just start coding!
18. Further Resources:
● Everything Symfony: http://symfony.com
● Composer Package Repository:
https://packagist.org
● Oxid Modules on Packagist:
● https://packagist.org/packages/list.json?type=oxid-m