Enviar pesquisa
Carregar
News of the Symfony2 World
•
7 gostaram
•
3,503 visualizações
Fabien Potencier
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 38
Baixar agora
Baixar para ler offline
Recomendados
Symfony 2.0 on PHP 5.3
Symfony 2.0 on PHP 5.3
Fabien Potencier
Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010
Fabien Potencier
Dependency Injection IPC 201
Dependency Injection IPC 201
Fabien Potencier
PhpBB meets Symfony2
PhpBB meets Symfony2
Fabien Potencier
Symfony2 - OSIDays 2010
Symfony2 - OSIDays 2010
Fabien Potencier
Advanced symfony Techniques
Advanced symfony Techniques
Kris Wallsmith
The state of Symfony2 - SymfonyDay 2010
The state of Symfony2 - SymfonyDay 2010
Fabien Potencier
Doctrine MongoDB ODM (PDXPHP)
Doctrine MongoDB ODM (PDXPHP)
Kris Wallsmith
Recomendados
Symfony 2.0 on PHP 5.3
Symfony 2.0 on PHP 5.3
Fabien Potencier
Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010
Fabien Potencier
Dependency Injection IPC 201
Dependency Injection IPC 201
Fabien Potencier
PhpBB meets Symfony2
PhpBB meets Symfony2
Fabien Potencier
Symfony2 - OSIDays 2010
Symfony2 - OSIDays 2010
Fabien Potencier
Advanced symfony Techniques
Advanced symfony Techniques
Kris Wallsmith
The state of Symfony2 - SymfonyDay 2010
The state of Symfony2 - SymfonyDay 2010
Fabien Potencier
Doctrine MongoDB ODM (PDXPHP)
Doctrine MongoDB ODM (PDXPHP)
Kris Wallsmith
Dependency injection - phpday 2010
Dependency injection - phpday 2010
Fabien Potencier
Speed up your developments with Symfony2
Speed up your developments with Symfony2
Hugo Hamon
Unit and Functional Testing with Symfony2
Unit and Functional Testing with Symfony2
Fabien Potencier
Design Patterns avec PHP 5.3, Symfony et Pimple
Design Patterns avec PHP 5.3, Symfony et Pimple
Hugo Hamon
The Zen of Lithium
The Zen of Lithium
Nate Abele
Introducing Assetic (NYPHP)
Introducing Assetic (NYPHP)
Kris Wallsmith
The Origin of Lithium
The Origin of Lithium
Nate Abele
Symfony components in the wild, PHPNW12
Symfony components in the wild, PHPNW12
Jakub Zalas
Symfony War Stories
Symfony War Stories
Jakub Zalas
PHP 5.3 and Lithium: the most rad php framework
PHP 5.3 and Lithium: the most rad php framework
G Woo
Electrify your code with PHP Generators
Electrify your code with PHP Generators
Mark Baker
Looping the Loop with SPL Iterators
Looping the Loop with SPL Iterators
Mark Baker
Dependency injection in PHP 5.3/5.4
Dependency injection in PHP 5.3/5.4
Fabien Potencier
Dependency injection-zendcon-2010
Dependency injection-zendcon-2010
Fabien Potencier
Silex meets SOAP & REST
Silex meets SOAP & REST
Hugo Hamon
Building Lithium Apps
Building Lithium Apps
Nate Abele
The History of PHPersistence
The History of PHPersistence
Hugo Hamon
New in cakephp3
New in cakephp3
markstory
Nubilus Perl
Nubilus Perl
Flavio Poletti
Dependency Injection with PHP 5.3
Dependency Injection with PHP 5.3
Fabien Potencier
Dependency Injection - ConFoo 2010
Dependency Injection - ConFoo 2010
Fabien Potencier
Caching on the Edge with Symfony2
Caching on the Edge with Symfony2
Fabien Potencier
Mais conteúdo relacionado
Mais procurados
Dependency injection - phpday 2010
Dependency injection - phpday 2010
Fabien Potencier
Speed up your developments with Symfony2
Speed up your developments with Symfony2
Hugo Hamon
Unit and Functional Testing with Symfony2
Unit and Functional Testing with Symfony2
Fabien Potencier
Design Patterns avec PHP 5.3, Symfony et Pimple
Design Patterns avec PHP 5.3, Symfony et Pimple
Hugo Hamon
The Zen of Lithium
The Zen of Lithium
Nate Abele
Introducing Assetic (NYPHP)
Introducing Assetic (NYPHP)
Kris Wallsmith
The Origin of Lithium
The Origin of Lithium
Nate Abele
Symfony components in the wild, PHPNW12
Symfony components in the wild, PHPNW12
Jakub Zalas
Symfony War Stories
Symfony War Stories
Jakub Zalas
PHP 5.3 and Lithium: the most rad php framework
PHP 5.3 and Lithium: the most rad php framework
G Woo
Electrify your code with PHP Generators
Electrify your code with PHP Generators
Mark Baker
Looping the Loop with SPL Iterators
Looping the Loop with SPL Iterators
Mark Baker
Dependency injection in PHP 5.3/5.4
Dependency injection in PHP 5.3/5.4
Fabien Potencier
Dependency injection-zendcon-2010
Dependency injection-zendcon-2010
Fabien Potencier
Silex meets SOAP & REST
Silex meets SOAP & REST
Hugo Hamon
Building Lithium Apps
Building Lithium Apps
Nate Abele
The History of PHPersistence
The History of PHPersistence
Hugo Hamon
New in cakephp3
New in cakephp3
markstory
Nubilus Perl
Nubilus Perl
Flavio Poletti
Dependency Injection with PHP 5.3
Dependency Injection with PHP 5.3
Fabien Potencier
Mais procurados
(20)
Dependency injection - phpday 2010
Dependency injection - phpday 2010
Speed up your developments with Symfony2
Speed up your developments with Symfony2
Unit and Functional Testing with Symfony2
Unit and Functional Testing with Symfony2
Design Patterns avec PHP 5.3, Symfony et Pimple
Design Patterns avec PHP 5.3, Symfony et Pimple
The Zen of Lithium
The Zen of Lithium
Introducing Assetic (NYPHP)
Introducing Assetic (NYPHP)
The Origin of Lithium
The Origin of Lithium
Symfony components in the wild, PHPNW12
Symfony components in the wild, PHPNW12
Symfony War Stories
Symfony War Stories
PHP 5.3 and Lithium: the most rad php framework
PHP 5.3 and Lithium: the most rad php framework
Electrify your code with PHP Generators
Electrify your code with PHP Generators
Looping the Loop with SPL Iterators
Looping the Loop with SPL Iterators
Dependency injection in PHP 5.3/5.4
Dependency injection in PHP 5.3/5.4
Dependency injection-zendcon-2010
Dependency injection-zendcon-2010
Silex meets SOAP & REST
Silex meets SOAP & REST
Building Lithium Apps
Building Lithium Apps
The History of PHPersistence
The History of PHPersistence
New in cakephp3
New in cakephp3
Nubilus Perl
Nubilus Perl
Dependency Injection with PHP 5.3
Dependency Injection with PHP 5.3
Destaque
Dependency Injection - ConFoo 2010
Dependency Injection - ConFoo 2010
Fabien Potencier
Caching on the Edge with Symfony2
Caching on the Edge with Symfony2
Fabien Potencier
PHP 5.3 in practice
PHP 5.3 in practice
Fabien Potencier
Look beyond PHP
Look beyond PHP
Fabien Potencier
Symfony Components
Symfony Components
Fabien Potencier
You Shall Not Pass - Security in Symfony
You Shall Not Pass - Security in Symfony
The Software House
Testing and symfony2
Testing and symfony2
The Software House
Design patterns revisited with PHP 5.3
Design patterns revisited with PHP 5.3
Fabien Potencier
Varnish
Varnish
Fabien Potencier
Destaque
(9)
Dependency Injection - ConFoo 2010
Dependency Injection - ConFoo 2010
Caching on the Edge with Symfony2
Caching on the Edge with Symfony2
PHP 5.3 in practice
PHP 5.3 in practice
Look beyond PHP
Look beyond PHP
Symfony Components
Symfony Components
You Shall Not Pass - Security in Symfony
You Shall Not Pass - Security in Symfony
Testing and symfony2
Testing and symfony2
Design patterns revisited with PHP 5.3
Design patterns revisited with PHP 5.3
Varnish
Varnish
Semelhante a News of the Symfony2 World
Filesystem abstractions and msg queue sergeev - symfony camp 2018
Filesystem abstractions and msg queue sergeev - symfony camp 2018
Юлия Коваленко
Symfony2, creare bundle e valore per il cliente
Symfony2, creare bundle e valore per il cliente
Leonardo Proietti
Phpne august-2012-symfony-components-friends
Phpne august-2012-symfony-components-friends
Michael Peacock
Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010
Fabien Potencier
How Kris Writes Symfony Apps
How Kris Writes Symfony Apps
Kris Wallsmith
Perforce Object and Record Model
Perforce Object and Record Model
Perforce
Forget about Index.php and build you applications around HTTP - PHPers Cracow
Forget about Index.php and build you applications around HTTP - PHPers Cracow
Kacper Gunia
Lithium: The Framework for People Who Hate Frameworks
Lithium: The Framework for People Who Hate Frameworks
Nate Abele
Can't Miss Features of PHP 5.3 and 5.4
Can't Miss Features of PHP 5.3 and 5.4
Jeff Carouth
The state of your own hypertext preprocessor
The state of your own hypertext preprocessor
Alessandro Nadalin
PHP code examples
PHP code examples
programmingslides
Mastering the AWS SDK for PHP (TLS306) | AWS re:Invent 2013
Mastering the AWS SDK for PHP (TLS306) | AWS re:Invent 2013
Amazon Web Services
Legacy applications - 4Developes konferencja, Piotr Pasich
Legacy applications - 4Developes konferencja, Piotr Pasich
Piotr Pasich
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Masahiro Nagano
Symfony internals [english]
Symfony internals [english]
Raul Fraile
Meet Magento Sweden - Magento 2 Layout and Code Compilation for Performance
Meet Magento Sweden - Magento 2 Layout and Code Compilation for Performance
Ivan Chepurnyi
Forget about index.php and build you applications around HTTP!
Forget about index.php and build you applications around HTTP!
Kacper Gunia
Separation of concerns - DPC12
Separation of concerns - DPC12
Stephan Hochdörfer
Doctrine For Beginners
Doctrine For Beginners
Jonathan Wage
Ch3(working with file)
Ch3(working with file)
Chhom Karath
Semelhante a News of the Symfony2 World
(20)
Filesystem abstractions and msg queue sergeev - symfony camp 2018
Filesystem abstractions and msg queue sergeev - symfony camp 2018
Symfony2, creare bundle e valore per il cliente
Symfony2, creare bundle e valore per il cliente
Phpne august-2012-symfony-components-friends
Phpne august-2012-symfony-components-friends
Symfony2 - WebExpo 2010
Symfony2 - WebExpo 2010
How Kris Writes Symfony Apps
How Kris Writes Symfony Apps
Perforce Object and Record Model
Perforce Object and Record Model
Forget about Index.php and build you applications around HTTP - PHPers Cracow
Forget about Index.php and build you applications around HTTP - PHPers Cracow
Lithium: The Framework for People Who Hate Frameworks
Lithium: The Framework for People Who Hate Frameworks
Can't Miss Features of PHP 5.3 and 5.4
Can't Miss Features of PHP 5.3 and 5.4
The state of your own hypertext preprocessor
The state of your own hypertext preprocessor
PHP code examples
PHP code examples
Mastering the AWS SDK for PHP (TLS306) | AWS re:Invent 2013
Mastering the AWS SDK for PHP (TLS306) | AWS re:Invent 2013
Legacy applications - 4Developes konferencja, Piotr Pasich
Legacy applications - 4Developes konferencja, Piotr Pasich
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Symfony internals [english]
Symfony internals [english]
Meet Magento Sweden - Magento 2 Layout and Code Compilation for Performance
Meet Magento Sweden - Magento 2 Layout and Code Compilation for Performance
Forget about index.php and build you applications around HTTP!
Forget about index.php and build you applications around HTTP!
Separation of concerns - DPC12
Separation of concerns - DPC12
Doctrine For Beginners
Doctrine For Beginners
Ch3(working with file)
Ch3(working with file)
Mais de Fabien Potencier
Caching on the Edge
Caching on the Edge
Fabien Potencier
Dependency Injection
Dependency Injection
Fabien Potencier
Symfony2 revealed
Symfony2 revealed
Fabien Potencier
Dependency Injection with PHP and PHP 5.3
Dependency Injection with PHP and PHP 5.3
Fabien Potencier
Symfony Components 2.0 on PHP 5.3
Symfony Components 2.0 on PHP 5.3
Fabien Potencier
Playing With PHP 5.3
Playing With PHP 5.3
Fabien Potencier
Symfony2 San Francisco Meetup 2009
Symfony2 San Francisco Meetup 2009
Fabien Potencier
Symfony And Zend Framework Together 2009
Symfony And Zend Framework Together 2009
Fabien Potencier
Twig, the flexible, fast, and secure template language for PHP
Twig, the flexible, fast, and secure template language for PHP
Fabien Potencier
symfony: Un Framework Open-Source pour les Entreprises (Solutions Linux 2008)
symfony: Un Framework Open-Source pour les Entreprises (Solutions Linux 2008)
Fabien Potencier
The symfony platform: Create your very own framework (PHP Quebec 2008)
The symfony platform: Create your very own framework (PHP Quebec 2008)
Fabien Potencier
Mais de Fabien Potencier
(11)
Caching on the Edge
Caching on the Edge
Dependency Injection
Dependency Injection
Symfony2 revealed
Symfony2 revealed
Dependency Injection with PHP and PHP 5.3
Dependency Injection with PHP and PHP 5.3
Symfony Components 2.0 on PHP 5.3
Symfony Components 2.0 on PHP 5.3
Playing With PHP 5.3
Playing With PHP 5.3
Symfony2 San Francisco Meetup 2009
Symfony2 San Francisco Meetup 2009
Symfony And Zend Framework Together 2009
Symfony And Zend Framework Together 2009
Twig, the flexible, fast, and secure template language for PHP
Twig, the flexible, fast, and secure template language for PHP
symfony: Un Framework Open-Source pour les Entreprises (Solutions Linux 2008)
symfony: Un Framework Open-Source pour les Entreprises (Solutions Linux 2008)
The symfony platform: Create your very own framework (PHP Quebec 2008)
The symfony platform: Create your very own framework (PHP Quebec 2008)
Último
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
XfilesPro
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Scott Keck-Warren
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Último
(20)
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
News of the Symfony2 World
1.
News of the
Symfony2 world Fabien Potencier
2.
The Symfony2 Philosophy
3.
Be as easy
as possible for newcomers and as flexible as possible for advanced users
4.
SymfonyComponents SymfonyFramework
5.
CssSelector
6.
use SymfonyComponentsCssSelectorParser; Parser::cssToXpath('h4 >
a:contains("foo")');
7.
use SymfonyComponentsCssSelectorParser; $document =
new DOMDocument(); $document->loadHTMLFile('...'); $xpath = new DOMXPath($document); $expr = Parser::cssToXpath('a.smart'); $nodes = $xpath->query($expr); foreach ($nodes as $node) { printf("%s (%s)n", $node->nodeValue, $node- >getAttribute('href')); }
8.
DomCrawler
9.
use SymfonyComponentsDomCrawlerCrawler; $crawler =
new Crawler($html);
10.
addContent() addHtmlContent() addXmlContent()
addDocument() addNodeList() addNodes() addNode() add()
11.
filter()
filterXpath() eq() reduce() first() / last() siblings() nextAll() / previousAll() parents() / children()
12.
$link = $crawler->filter("h1
> h2"); $link = $crawler->filter("h1")->eq(1);
13.
isEmpty() each()
attr() text() extract()
14.
$crawler ->filter('a.smart')
->each(function ($node) { print $node->getAttribute('href')."n"; });
15.
$crawler ->filter('a')
->extract(array('_text', 'href')) ;
16.
selectLink() / selectButton()
17.
$crawler->selectLink("Greet Lucas");
18.
$crawler->selectButton('submit');
19.
$crawler->filter('a:contains("Greet")')->eq(1);
20.
$link = $crawler
->selectLink("Greet Lucas") ->link();
21.
$form = $crawler->filter(
'button:contains("submit")')->form();
22.
// fill an
input field $form['name'] = 'Lucas'; // select an option or a radio $form['country']->select('France'); // tick a checkbox $form['like_symfony']->tick(); // upload a file $form['photo']->upload('/path/to/lucas.jpg');
23.
$form->getValues() / $form->getFiles() array('article[title]'
=> 'Title', ...) $form->getPhpValues() / $form->getPhpFiles() array('article' => array('title' => 'Title', ...))
24.
Browser
25.
http://www.github.com/fabpot/Goutte
26.
Finder
27.
use SymfonyComponentsFinderFinder; $finder =
new Finder(); $finder ->files() ->in(__DIR__) ->...() ->sortByName() ;
28.
$finder
->name('*.php') ->depth('<= 1') ->date('>= yesterday') ->size('<= 1K') ->filter(function (SplFileInfo $file) { return strlen($file->getBasename()) < 9; }) ;
29.
foreach ($finder as
$file) { print $file->getRealpath()."n"; } $files = iterator_to_array($finder); $count = iterator_count($finder);
30.
use SymfonyComponentsFinderFinder; $s3 =
new Zend_Service_Amazon_S3($key, $sct); $s3->registerStreamWrapper("s3"); $finder = new Finder(); $finder ->name('photos*') ->size('< 100K') ->date('since 1 hour ago') ->in('s3://bucket-name') ;
31.
HttpKernel: The framework
construction kit
32.
namespace SymfonyComponentsHttpKernel; interface HttpKernelInterface {
const MASTER_REQUEST = 1; const FORWARDED_REQUEST = 2; const EMBEDDED_REQUEST = 3; public function handle( Request $request = null, $type = self::MASTER_REQUEST, $raw = false); public function getRequest(); }
33.
Testing
34.
Profiling
35.
and …
36.
What’s next?
37.
Questions?
38.
Sensio S.A.
92-98, boulevard Victor Hugo 92 115 Clichy Cedex FRANCE Tél. : +33 1 40 99 80 80 Contact Fabien Potencier fabien.potencier at sensio.com http://www.sensiolabs.com/ http://www.symfony-project.org/ http://fabien.potencier.org/
Baixar agora