Trends, implementations,
frameworks and solutions
PHP
Stats
~82%
http://w3techs.com/technologies/overview/programming_language/all
GitHub
14.4M Repos
970K Issues
707K PRs
PHP new features
Namespaces
Late Static Binding
Traits
Array short syntax
Closures scopes and $this
Built-in web server
Ge...
SPDY
http://www.eschrade.com/page/magento-performance-on-php-5-3-5-4-and-5-5rc3/
Magento Benchmark
PHP-Fig
Autoloading
Code Style
Logging Interface
Doc Blocks
Cache Interface
Autoloading
https://getcomposer.org/
https://packagist.org/
composer.json
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The "Sy...
Implementations
http://www.toptal.com/python/why-are-there-so-many-pythons
http://habrahabr.ru/post/209812/
Zend Engine
Implementations
http://php.net/
HipHopVM
Implementations
http://hhvm.com/
Hack Lang
http://hacklang.org/
<?hh
class MyClass {
public function alpha(): int {
return 1;
}
public function beta(): str...
KPHP
Implementations
http://habrahabr.ru/post/214877
JPHP
Implementations
https://github.com/jphp-compiler/jphp
PHPPHP
Implementations
https://github.com/ircmaxell/PHPPHP
HippyVM
Implementations
http://hippyvm.com/
See also
http://phalconphp.com/en/
http://zephir-lang.com/
http://www.php-cpp.com/
symfony1
Started in 2005
67 releases
~40k commits
End of livecycle Nov 2012
Symfony(2)
First public commit 01-04-2010
First Birthday 28-07-2011
First LTS May 2013
73 releases
~17k commits
GitHub stats
11k Issues
7k PRs
8k Stars
3k Forks
https://github.com/symfony/symfony
What is Symfony?
Reusable set of standalone, decoupled PHP components
Based on components Symfony is a full-stack framewor...
Components
HttpFoundation
Routing
Security
Yaml
HttpKernel
http://symfony.com/components
DependencyInjection
EventDispatch...
Symfony Basics
<?php
use SymfonyComponentHttpFoundationRequest;
$kernel = new AppKernel('prod', false);
$request = Request...
What about “M”?
Doctrine2
Doctrine2
RDBMS
MongoDB
CouchDB
OXM
OrientDB
https://github.com/doctrine
PHP frameworks
Laravel (4)
Zend
Zend2
Yii
Yii2
Kohana
CakePHP
CodeIgniter
http://ellislab.com/blog/entry/ellislab-seeking-...
Symfony products
Drupal
phpBB
Laravel
Magento
eZ Publish
http://symfony.com/projects
Symfony products
RedKite CMS
Symfony CMF
Decoupled CMS
Sylius eCommerce
Vespoline eCommerce
Oro CRM
Akeneo PIM (wat?)
http...
RedKite CMS
http://redkite-labs.com/
Symfony CMF
http://cmf.symfony.com/
Decoupled CMS
http://decoupledcms.org/
PHP Content Repository
JSR based (JSR-170/283)
PHPCR is bucket of interfaces
Implementations: Jackalope, Midgard2
Storages...
Sylius
http://sylius.org/
http://sylius.com/
Vespolina
http://vespolina.org/
Oro CRM
http://www.orocrm.com/
Akeneo
http://www.akeneo.com/
A Product Information Management
aka PIM, PCM or Products MDM
Akeneo
http://www.akeneo.com/
and growing...
http://symfony.com/projects
Questions?
PHP. Trends, implementations, frameworks and solutions
PHP. Trends, implementations, frameworks and solutions
PHP. Trends, implementations, frameworks and solutions
Upcoming SlideShare
Loading in...5
×

PHP. Trends, implementations, frameworks and solutions

7,247

Published on

Published in: Software, Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,247
On Slideshare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
34
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

PHP. Trends, implementations, frameworks and solutions

  1. 1. Trends, implementations, frameworks and solutions PHP
  2. 2. Stats
  3. 3. ~82% http://w3techs.com/technologies/overview/programming_language/all
  4. 4. GitHub 14.4M Repos 970K Issues 707K PRs
  5. 5. PHP new features Namespaces Late Static Binding Traits Array short syntax Closures scopes and $this Built-in web server Generators try-catch Finally Password hashing API
  6. 6. SPDY
  7. 7. http://www.eschrade.com/page/magento-performance-on-php-5-3-5-4-and-5-5rc3/ Magento Benchmark
  8. 8. PHP-Fig Autoloading Code Style Logging Interface Doc Blocks Cache Interface
  9. 9. Autoloading https://getcomposer.org/ https://packagist.org/
  10. 10. composer.json { "name": "symfony/framework-standard-edition", "license": "MIT", "type": "project", "description": "The "Symfony Standard Edition" distribution", "autoload": { "psr-0": { "": "src/", "SymfonyStandard": "app/" } }, "require": { "php": ">=5.3.3", "symfony/symfony": "2.5.x-dev", "doctrine/orm": "~2.2,>=2.2.3", "doctrine/doctrine-bundle": "~1.2", … } }
  11. 11. Implementations http://www.toptal.com/python/why-are-there-so-many-pythons http://habrahabr.ru/post/209812/
  12. 12. Zend Engine Implementations http://php.net/
  13. 13. HipHopVM Implementations http://hhvm.com/
  14. 14. Hack Lang http://hacklang.org/ <?hh class MyClass { public function alpha(): int { return 1; } public function beta(): string { return 'hi test'; } } function f(MyClass $my_inst): string { // Fix me! return $my_inst->alpha(); }
  15. 15. KPHP Implementations http://habrahabr.ru/post/214877
  16. 16. JPHP Implementations https://github.com/jphp-compiler/jphp
  17. 17. PHPPHP Implementations https://github.com/ircmaxell/PHPPHP
  18. 18. HippyVM Implementations http://hippyvm.com/
  19. 19. See also http://phalconphp.com/en/ http://zephir-lang.com/ http://www.php-cpp.com/
  20. 20. symfony1 Started in 2005 67 releases ~40k commits End of livecycle Nov 2012
  21. 21. Symfony(2) First public commit 01-04-2010 First Birthday 28-07-2011 First LTS May 2013 73 releases ~17k commits
  22. 22. GitHub stats 11k Issues 7k PRs 8k Stars 3k Forks https://github.com/symfony/symfony
  23. 23. What is Symfony? Reusable set of standalone, decoupled PHP components Based on components Symfony is a full-stack framework Symfony is an HTTP framework Request/Response framework Non MVC http://fabien.potencier.org/article/49/what-is-symfony2
  24. 24. Components HttpFoundation Routing Security Yaml HttpKernel http://symfony.com/components DependencyInjection EventDispatcher Form Validator Templating
  25. 25. Symfony Basics <?php use SymfonyComponentHttpFoundationRequest; $kernel = new AppKernel('prod', false); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send();
  26. 26. What about “M”? Doctrine2
  27. 27. Doctrine2 RDBMS MongoDB CouchDB OXM OrientDB https://github.com/doctrine
  28. 28. PHP frameworks Laravel (4) Zend Zend2 Yii Yii2 Kohana CakePHP CodeIgniter http://ellislab.com/blog/entry/ellislab-seeking-new-owner-for-codeigniter
  29. 29. Symfony products Drupal phpBB Laravel Magento eZ Publish http://symfony.com/projects
  30. 30. Symfony products RedKite CMS Symfony CMF Decoupled CMS Sylius eCommerce Vespoline eCommerce Oro CRM Akeneo PIM (wat?) http://symfony.com/projects
  31. 31. RedKite CMS http://redkite-labs.com/
  32. 32. Symfony CMF http://cmf.symfony.com/
  33. 33. Decoupled CMS http://decoupledcms.org/
  34. 34. PHP Content Repository JSR based (JSR-170/283) PHPCR is bucket of interfaces Implementations: Jackalope, Midgard2 Storages: Jackrabbit Doctrine-DBAL Doctrine-MongoDB Prismic.io http://phpcr.github.io/ http://jackalope.github.io/ http://midgard-project.org/phpcr/ https://jackrabbit.apache.org/ https://prismic.io/
  35. 35. Sylius http://sylius.org/ http://sylius.com/
  36. 36. Vespolina http://vespolina.org/
  37. 37. Oro CRM http://www.orocrm.com/
  38. 38. Akeneo http://www.akeneo.com/ A Product Information Management aka PIM, PCM or Products MDM
  39. 39. Akeneo http://www.akeneo.com/
  40. 40. and growing... http://symfony.com/projects
  41. 41. Questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×