+ All Categories
Home > Software > PHP. Trends, implementations, frameworks and solutions

PHP. Trends, implementations, frameworks and solutions

Date post: 06-May-2015
Category:
Upload: oleg-zinchenko
View: 7,032 times
Download: 1 times
Share this document with a friend
Popular Tags:
44
Trends, implementations, frameworks and solutions PHP
Transcript
Page 1: PHP. Trends, implementations, frameworks and solutions

Trends, implementations, frameworks and solutions

PHP

Page 2: PHP. Trends, implementations, frameworks and solutions
Page 3: PHP. Trends, implementations, frameworks and solutions
Page 4: PHP. Trends, implementations, frameworks and solutions

Stats

Page 6: PHP. Trends, implementations, frameworks and solutions

GitHub14.4M Repos

970K Issues

707K PRs

Page 7: PHP. Trends, implementations, frameworks and solutions

PHP new featuresNamespacesLate Static BindingTraitsArray short syntaxClosures scopes and $thisBuilt-in web serverGeneratorstry-catch FinallyPassword hashing API

Page 8: PHP. Trends, implementations, frameworks and solutions

SPDY

Page 9: PHP. Trends, implementations, frameworks and solutions

http://www.eschrade.com/page/magento-performance-on-php-5-3-5-4-and-5-5rc3/

Magento Benchmark

Page 10: PHP. Trends, implementations, frameworks and solutions

PHP-Fig Autoloading Code Style Logging Interface Doc Blocks Cache Interface

Page 11: PHP. Trends, implementations, frameworks and solutions

Autoloading

https://getcomposer.org/https://packagist.org/

Page 12: PHP. Trends, implementations, frameworks and solutions

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",

}

}

Page 14: PHP. Trends, implementations, frameworks and solutions

Zend Engine

Implementations

http://php.net/

Page 15: PHP. Trends, implementations, frameworks and solutions

HipHopVM

Implementations

http://hhvm.com/

Page 16: PHP. Trends, implementations, frameworks and solutions

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();}

Page 17: PHP. Trends, implementations, frameworks and solutions

KPHPImplementations

http://habrahabr.ru/post/214877

Page 18: PHP. Trends, implementations, frameworks and solutions

JPHP

Implementations

https://github.com/jphp-compiler/jphp

Page 19: PHP. Trends, implementations, frameworks and solutions

PHPPHP

Implementations

https://github.com/ircmaxell/PHPPHP

Page 20: PHP. Trends, implementations, frameworks and solutions

HippyVM

Implementations

http://hippyvm.com/

Page 21: PHP. Trends, implementations, frameworks and solutions

See also

http://phalconphp.com/en/http://zephir-lang.com/

http://www.php-cpp.com/

Page 22: PHP. Trends, implementations, frameworks and solutions
Page 23: PHP. Trends, implementations, frameworks and solutions

symfony1Started in 200567 releases~40k commitsEnd of livecycle Nov 2012

Page 24: PHP. Trends, implementations, frameworks and solutions

Symfony(2)First public commit 01-04-2010First Birthday 28-07-2011First LTS May 201373 releases~17k commits

Page 25: PHP. Trends, implementations, frameworks and solutions

GitHub stats11k Issues7k PRs8k Stars3k Forkshttps://github.com/symfony/symfony

Page 26: PHP. Trends, implementations, frameworks and solutions

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 MVChttp://fabien.potencier.org/article/49/what-is-symfony2

Page 27: PHP. Trends, implementations, frameworks and solutions

ComponentsHttpFoundationRoutingSecurityYamlHttpKernel

http://symfony.com/components

DependencyInjectionEventDispatcherFormValidatorTemplating

Page 28: PHP. Trends, implementations, frameworks and solutions

Symfony Basics<?php use Symfony\Component\HttpFoundation\Request; $kernel = new AppKernel('prod', false);$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();

Page 29: PHP. Trends, implementations, frameworks and solutions

What about “M”?Doctrine2

Page 30: PHP. Trends, implementations, frameworks and solutions

Doctrine2RDBMSMongoDBCouchDBOXMOrientDB

https://github.com/doctrine

Page 31: PHP. Trends, implementations, frameworks and solutions

PHP frameworksLaravel (4)ZendZend2YiiYii2KohanaCakePHPCodeIgniter

http://ellislab.com/blog/entry/ellislab-seeking-new-owner-for-codeigniter

Page 32: PHP. Trends, implementations, frameworks and solutions

Symfony productsDrupal

phpBB

Laravel

Magento

eZ Publish

http://symfony.com/projects

Page 33: PHP. Trends, implementations, frameworks and solutions

Symfony productsRedKite CMSSymfony CMFDecoupled CMSSylius eCommerceVespoline eCommerceOro CRMAkeneo PIM (wat?)

http://symfony.com/projects

Page 34: PHP. Trends, implementations, frameworks and solutions

RedKite CMS

http://redkite-labs.com/

Page 35: PHP. Trends, implementations, frameworks and solutions

Symfony CMF

http://cmf.symfony.com/

Page 36: PHP. Trends, implementations, frameworks and solutions

Decoupled CMS

http://decoupledcms.org/

Page 37: PHP. Trends, implementations, frameworks and solutions

PHP Content RepositoryJSR 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/

Page 38: PHP. Trends, implementations, frameworks and solutions

Sylius

http://sylius.org/http://sylius.com/

Page 39: PHP. Trends, implementations, frameworks and solutions

Vespolina

http://vespolina.org/

Page 40: PHP. Trends, implementations, frameworks and solutions

Oro CRM

http://www.orocrm.com/

Page 41: PHP. Trends, implementations, frameworks and solutions

Akeneo

http://www.akeneo.com/

A Product Information Management aka PIM, PCM or Products MDM

Page 42: PHP. Trends, implementations, frameworks and solutions

Akeneo

http://www.akeneo.com/

Page 43: PHP. Trends, implementations, frameworks and solutions

and growing...

http://symfony.com/projects

Page 44: PHP. Trends, implementations, frameworks and solutions

Questions?


Recommended