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
16
Combining Logs, Metrics, and Traces for Unified Observability @ Infoshare 2020
sgrodzicki
0
380
Building Distributed Systems in Distributed Teams @ Infoshare 2020
sgrodzicki
0
43
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
PHPはいつから死んでいるかの調査
chiroruxx
2
420
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
1k
Elm Form Validation
bkuhlmann
0
510
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
440
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.5k
敵対的ポイフル
futabato
0
130
Going beyond Apache Parquet's default settings
xhochy
0
130
Java 22 Overview
kishida
1
190
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1k
Hanami and htmx
bkuhlmann
0
220
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
140
Documentation for users with AsciiDoc and Antora
ahus1
0
370
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
43
6.8k
Infographics Made Easy
chrislema
238
18k
Visualization
eitanlees
137
14k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
A Tale of Four Properties
chriscoyier
152
22k
How to train your dragon (web standard)
notwaldorf
75
5.2k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
The Cost Of JavaScript in 2023
addyosmani
20
3.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
8
1.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
What the flash - Photography Introduction
edds
64
11k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
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!