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
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Wprowadzenie do Symfony Framework
Sebastian Grodzicki
March 25, 2014
More Decks by Sebastian Grodzicki
See All by Sebastian Grodzicki
Fault-tolerant workflow orchestration in PHP @ PHPCon Poland 2024
sgrodzicki
0
160
PHP w Google Cloud @ PHPCon Poland 2022
sgrodzicki
0
50
Elasticsearch + Symfony @ SymfonyLive Online Polish Edition 2021
sgrodzicki
0
190
Elasticsearch + Symfony @ WDI 2021
sgrodzicki
0
66
Combining Logs, Metrics, and Traces for Unified Observability @ Infoshare 2020
sgrodzicki
0
560
Building Distributed Systems in Distributed Teams @ Infoshare 2020
sgrodzicki
0
92
Building Distributed Systems in Distributed Teams @ 4Developers 2020
sgrodzicki
0
92
Building Distributed Systems in Distributed Teams @ DevOpsDay Warsaw 2019
sgrodzicki
0
71
Infrastructure as Code @ DevOpsDay Warsaw 2019
sgrodzicki
0
99
Other Decks in Programming
See All in Programming
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
330
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
390
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
320
Built Our Own Background Agent at LayerX #aidevex_findy
layerx
PRO
7
2.7k
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
330
ルールを書いて終わらせないハーネスエンジニアリング
yug1224
4
1.7k
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
530
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
Apache Hive: Toward a Cloud Native Lakehouse
okumin
0
150
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
400
AIキャラアプリkaiwaの低遅延音声通話基盤をどう作ったか - AWS Gravitonで支える低遅延・低コストAI Agent基盤
mogamit
0
180
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.5k
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
190
Building an army of robots
kneath
306
46k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Between Models and Reality
mayunak
4
380
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
410
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
500
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
380
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
300
Rails Girls Zürich Keynote
gr2m
96
14k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
470
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!