Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Wprowadzenie do Symfony Framework
Search
Sebastian Grodzicki
March 25, 2014
Programming
0
150
Wprowadzenie do Symfony Framework
Sebastian Grodzicki
March 25, 2014
Tweet
Share
More Decks by Sebastian Grodzicki
See All by Sebastian Grodzicki
Fault-tolerant workflow orchestration in PHP @ PHPCon Poland 2024
sgrodzicki
0
17
PHP w Google Cloud @ PHPCon Poland 2022
sgrodzicki
0
3
Elasticsearch + Symfony @ SymfonyLive Online Polish Edition 2021
sgrodzicki
0
110
Elasticsearch + Symfony @ WDI 2021
sgrodzicki
0
29
Combining Logs, Metrics, and Traces for Unified Observability @ Infoshare 2020
sgrodzicki
0
420
Building Distributed Systems in Distributed Teams @ Infoshare 2020
sgrodzicki
0
46
Building Distributed Systems in Distributed Teams @ 4Developers 2020
sgrodzicki
0
45
Building Distributed Systems in Distributed Teams @ DevOpsDay Warsaw 2019
sgrodzicki
0
36
Infrastructure as Code @ DevOpsDay Warsaw 2019
sgrodzicki
0
48
Other Decks in Programming
See All in Programming
Contemporary Test Cases
maaretp
0
140
as(型アサーション)を書く前にできること
marokanatani
10
2.8k
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
6
1.6k
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
subpath importsで始めるモック生活
10tera
0
320
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
Jakarta EE meets AI
ivargrimstad
0
670
Arm移行タイムアタック
qnighy
0
340
cmp.Or に感動した
otakakot
3
230
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
RubyLSPのマルチバイト文字対応
notfounds
0
120
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
380
Visualization
eitanlees
145
15k
Scaling GitHub
holman
458
140k
Git: the NoSQL Database
bkeepers
PRO
427
64k
How STYLIGHT went responsive
nonsquared
95
5.2k
Adopting Sorbet at Scale
ufuk
73
9.1k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
The Cult of Friendly URLs
andyhume
78
6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
120
The Invisible Side of Design
smashingmag
298
50k
Transcript
None
None
Sebastian Grodzicki • Team Leader @ GoldenLine • Software Developer
@ GL • Zend Certified Engineer • PHP • PHP 5 • Zend Framework • SensioLabs Certified Symfony Developer
None
None
symfony 1 != Symfony2
PHP 5.3+ • przestrzenie nazw (namespaces) • funkcje anonimowe (lambda)
• późne statyczne łączenie (Late Static Binding)
None
curl -sS https://getcomposer.org/installer | php
$ php composer.phar \! > create-project \! > symfony/framework-standard-edition \!
> WDI/
$ git init
None
$ git add .
$ git commit -m "Symfony Standard Edition"
$ php app/console server:run
None
None
None
None
None
U A /about <h1>WDI</h1> Request Response
Request GET /about HTTP/1.1! Host: warszawskiedniinformatyki.pl! Accept: text/html! User-Agent: Mozilla/5.0
(Macintosh)
Response HTTP/1.1 200 OK! Date: Tue, 25 Mar 2014 15:20:00
GMT! Server: nginx/1.4.7! Content-Type: text/html! ! <html>! <h1>WDI</h1>! </html>
None
POST Create GET Read PUT Update DELETE Delete
Dependency Injection class NewsletterManager! {! ! protected $mailer;! ! !
public function __construct(\Mailer $mailer)! ! {! ! ! $this->mailer = $mailer;! ! }! }
Dependency Injection class NewsletterManager! {! ! protected $mailer;! ! !
public function setMailer(\Mailer $mailer)! ! {! ! ! $this->mailer = $mailer;! ! }! }
None
None
None
None
None
None
None
None
None
None
$ php app/console generate:bundle
None
None
None
None
None
None
None
None
None
None
$ php composer.phar \! > require \! > hwi/oauth-bundle \!
> 0.4.*@dev
None
None
None
None
https://speakerdeck.com/sgrodzicki
None
Dołącz do gry!