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
140
Wprowadzenie do Symfony Framework
Sebastian Grodzicki
March 25, 2014
Tweet
Share
More Decks by Sebastian Grodzicki
See All by Sebastian Grodzicki
Elasticsearch + Symfony @ SymfonyLive Online Polish Edition 2021
sgrodzicki
0
100
Elasticsearch + Symfony @ WDI 2021
sgrodzicki
0
18
Combining Logs, Metrics, and Traces for Unified Observability @ Infoshare 2020
sgrodzicki
0
390
Building Distributed Systems in Distributed Teams @ Infoshare 2020
sgrodzicki
0
44
Building Distributed Systems in Distributed Teams @ 4Developers 2020
sgrodzicki
0
38
Building Distributed Systems in Distributed Teams @ DevOpsDay Warsaw 2019
sgrodzicki
0
33
Infrastructure as Code @ DevOpsDay Warsaw 2019
sgrodzicki
0
42
Serverless PHP @ PHPCon Poland 2019
sgrodzicki
0
240
Profiling PHP @ HackYeah 2019
sgrodzicki
0
48
Other Decks in Programming
See All in Programming
TypeScriptから始める VR生活
tamagokakeg
2
140
Criando a Woovi em uma semana
daniloab
0
120
The Cutting Edge Of Versioning (LambdaConf 2024)
chriskrycho
0
250
slog登場に伴うloggerの取り回し手法の見直し / kamakura.go #6
arthur1
0
160
TypeScriptとGraphQLで実現する 型安全なAPI実装 / TSKaigi 2024
hokaccha
5
2.9k
ソースコードを美しくたもつために ~コードレビューの認知限界を突破し、年間400リリースを達成する~
kotauchisunsun
1
790
RuboCop: LSP and Prism
koic
1
110
Revisiting the Hotwire Landscape after Turbo 8 @ RailsConf 2024, Detroit
marcoroth
3
610
一文字エイリアスのすすめ
fujimura
0
200
CQRS meets modern Java
simas
PRO
2
480
GitLab CI/CD で C#/WPFアプリケーションのテストとインストーラーのビルド・デプロイを自動化する
hacarus
0
620
TypeScriptのパフォーマンス改善
yajihum
14
5.2k
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
32
47k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
GraphQLとの向き合い方2022年版
quramy
33
13k
How STYLIGHT went responsive
nonsquared
92
4.9k
Making Projects Easy
brettharned
109
5.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
RailsConf 2023
tenderlove
9
590
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
23
1.7k
In The Pink: A Labor of Love
frogandcode
138
21k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
Adopting Sorbet at Scale
ufuk
69
8.6k
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!