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
Rapid Prototyping with PHP
Search
Michael Cheng
January 25, 2013
Programming
6
460
Rapid Prototyping with PHP
The world of TDD, BDD and frameworks in PHP-land
Michael Cheng
January 25, 2013
Tweet
Share
More Decks by Michael Cheng
See All by Michael Cheng
Intro to GraphQL Workshop
miccheng
0
110
Prioritizing Technical Debt
miccheng
0
160
JuniorDevSG - Intro to Coding Dojo
miccheng
0
150
Intro to Web Development with PHP - Lesson 1
miccheng
0
130
Engineers.SG Volunteers Training (4 Aug 2018)
miccheng
0
86
Introduction to PHPConf.Asia 2018
miccheng
0
720
What about Ruby on Rails?... from a PHP Guy
miccheng
0
140
Engineers.SG Volunteers Training (July 2017)
miccheng
0
100
Concourse CI in the Wild
miccheng
0
230
Other Decks in Programming
See All in Programming
コード生成なしでモック処理を実現!ovechkin-dm/mockioで学ぶメタプログラミング
qualiarts
0
260
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
190
CSC509 Lecture 07
javiergs
PRO
0
240
モテるデスク環境
mozumasu
3
1.3k
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
250
One Enishi After Another
snoozer05
PRO
0
150
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
230
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
640
Goで実践するドメイン駆動開発 AIと歩み始めた新規プロダクト開発の現在地
imkaoru
4
890
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
250
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
460
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
130k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
610
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
4 Signs Your Business is Dying
shpigford
185
22k
Context Engineering - Making Every Token Count
addyosmani
8
300
Gamification - CAS2011
davidbonilla
81
5.5k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Transcript
Rapid Prototyping with PHP The world of TDD, BDD and
frameworks in PHP-land 1 Friday, 25 January, 13
Michael Cheng Senior Software Engineer, mig33 http://twitter.com/coderkungfu http://github.com/miccheng 2 Friday,
25 January, 13
Challenges of Rapid Prototyping • Build once and run everywhere
• Responsive web apps • Mobile apps • Use same backend - usually a REST service • Something that PHP is particularly good at 3 Friday, 25 January, 13
Phases 1. HTML mockups • eg. Backbone JS, Angular JS
2. Stub web services • Return dummy payload. 3. Final working web services 4 Friday, 25 January, 13
Doing PHP right • Use a framework • Use Composer
libraries for lower level functionalities (don't reinvent the wheel) • Keep it clean. Doesn't need to scale immediately. • Adhere to coding standards - PSR-0, 1, 2 • Practice TDD, BDD (if you can) 5 Friday, 25 January, 13
Full-Stack Frameworks • CakePHP (http://www.cakephp.org) • Lithium (http://lithify.me/) • CodeIgniter
(http://www.codeigniter.com) • Kohana, FuelPHP • Symfony (http://symfony.com/) • SilverStripe (http://www.silverstripe.org/) 6 Friday, 25 January, 13
REST Frameworks • Silex (http://silex.sensiolabs.org/) • Restler (http://luracast.com/products/restler/) • Recess
(http://www.recessframework.org/) 7 Friday, 25 January, 13
TDD/BDD • PHPUnit (http://phpunit.de) • Behat (http://behat.org/) • PHPSpec http://www.phpspec.net/
8 Friday, 25 January, 13
Composer http://getcomposer.org http://packagist.org General Purpose Libraries, frameworks, etc. 9 Friday,
25 January, 13
Common Standards • PHP Framework Interop Group (http://www.php-fig.org/) • PSR-0:
Autoloading Standard • PSR-1: Basic Coding Standard • PSR-2: Coding Style Guide • PSR-3: Logger Interface 10 Friday, 25 January, 13
Hosting PHP • Its everywhere! • AppFog (http://appfog.com) • Windows
Azure (http://windowsazure.com) 11 Friday, 25 January, 13
PHP the Right Way • http://www.phptherightway.com/ 12 Friday, 25 January,
13
Join Us! • Facebook Group (https://www.facebook.com/groups/ sghypertextpreprocessors/) • Download (http://php.net,
http://windows.php.net) 13 Friday, 25 January, 13