Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
#codemotion @liuggio
awesome
PHP application
in 2014
really
really
really
really
I’m @liuggio
a programmer<?php
awesome application #codemotion @liuggio
Language design is hard …
the most famous computer scientists
are also language designers.
BUT none of them ever worked on...
LANGUAGE SUCKS7.380.000 results
Java sucks
6.030.000 results
Ruby sucks
3.400.000
Python sucks
results
awesome application...
61.526.124
Search “PHP SUCKS” on google:
TIMES
awesome application #codemotion @liuggio
WHY PHP
SUCKS
not real objects
big gap between the
community and the
un-polite core-team inconsistency
lot-ot-underscore
s...
LOT OF GREAT COMPANIES USES IT
WordpressFacebook
awesome application #codemotion @liuggio
IS NOT THE OLD PLAIN-PHP
THE ECOSYSTEM IS GREAT
GIT COMPOSER SYMFONY2
DDD/TDD/BDD PHP-FIG BEST PRACTICES
awesome applicati...
The best programming language
will not save you
to write horrible code.
awesome application #codemotion @liuggio
Sufficiently talented coders
can write great applications
in terrible languages
awesome application #codemotion @liuggio
f**king
awesome
application
really
really
really
really
really
@liuggiowelcometothebundle.com
f**king
awesome
application
really
really
really
really
really
Coding is 10% of the job
Communication and
understanding
Read/Study
Coffee and
related .
awesome application #codemotion @...
developer
=
worker with knowledge
awesome application #codemotion @liuggio
- Modular code
- Version Control System (git)
- Eager: conferences/books/code
- Use frameworks
- Contribute famous project...
TDD
REFACTOR PASSFAIL
awesome application #codemotion @liuggio
- Modular code
- Version Control System (git)
- Eager: conferences/books/code
- Use frameworks
- Contribute famous project...
Innovation fuel growth
TALENTED CODERS
Have a passion driven mindset
&&
Satisfy business with the best technology
=
awesome application #codemoti...
awesome application #codemotion @liuggio
After the first iteration with the client:
YOU
BLACK HOLE
After the second iteration with the client:
awesome application #codemotion @liuggio
After the third iteration with the client:
$$ function
awesome application #codemotion @liuggio
Translation problems
Application
presentation
awesome application #codemotion @liuggio
Domain model
REST
adapter
WEB
SCRIPT
A
D
A
PTER-y
U
se
C...
interfaces
awesome application #codemotion @liuggio
awesome application #codemotion @liuggio
Application
presentation
Domain model
REST
adapter
WEB
SCRIPT
A
D
A
PTER-y
U
se
C...
awesome application #codemotion @liuggio
Describe the
behaviours for each
`verb` and ‘noun’
Create the class
and the public
methods
Write a business
example
Explod...
FAIL
FAIL
FAIL
Describe the
behaviours for each
`verb` and ‘noun’
4
Create the class
and the public
methods
5
PASS
awesome application #codemotion @liuggio
Application
presentation
Domain model
WEB
Class EmitBill
WWW
The best programming language
will not save you
to write horrible code.
awesome application #codemotion @liuggio
BUSINESS
awesome application #codemotion @liuggio
be a passionate developer
awesome application #codemotion @liuggio
Questions?
ps: see the references I didn’t write any books (yet).
awesome application #codemotion @liuggio
Nächste SlideShare
Wird geladen in …5
×

really really really awesome php application with bdd behat and iterfaces

1.667 Aufrufe

Veröffentlicht am

How to satisfy business and be a gread developer with BDD / DDD and ... PHP

Veröffentlicht in: Software, Ingenieurwesen
  • Nice !! Download 100 % Free Ebooks, PPts, Study Notes, Novels, etc @ https://www.ThesisScientist.com
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Hello! Get Your Professional Job-Winning Resume Here - Check our website! https://vk.cc/818RFv
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

really really really awesome php application with bdd behat and iterfaces

  1. 1. #codemotion @liuggio awesome PHP application in 2014 really really really really
  2. 2. I’m @liuggio a programmer<?php awesome application #codemotion @liuggio
  3. 3. Language design is hard … the most famous computer scientists are also language designers. BUT none of them ever worked on PHP -- codinghorror awesome application #codemotion @liuggio
  4. 4. LANGUAGE SUCKS7.380.000 results Java sucks 6.030.000 results Ruby sucks 3.400.000 Python sucks results awesome application #codemotion @liuggio Search “{language} SUCKS” on google:
  5. 5. 61.526.124 Search “PHP SUCKS” on google: TIMES awesome application #codemotion @liuggio
  6. 6. WHY PHP SUCKS not real objects big gap between the community and the un-polite core-team inconsistency lot-ot-underscore stream_get_line disk_free_space is_object mcal_day_of_week set_error_handler snmp_get_quick_print get_browser base64_encode image_type_to_mime_type msql_num_fields php_uname strip_tags bind_textdomain_codeset cal_to_jd str_rot13 no-underscore readline diskfreespace isset jddayofweek setlocale snmpget getallheaders urlencode imagetypes mysql_numfields phpversion stripslashes bindtextdomain gregoriantojd strpos awesome application #codemotion @liuggio
  7. 7. LOT OF GREAT COMPANIES USES IT WordpressFacebook awesome application #codemotion @liuggio
  8. 8. IS NOT THE OLD PLAIN-PHP THE ECOSYSTEM IS GREAT GIT COMPOSER SYMFONY2 DDD/TDD/BDD PHP-FIG BEST PRACTICES awesome application #codemotion @liuggio
  9. 9. The best programming language will not save you to write horrible code. awesome application #codemotion @liuggio
  10. 10. Sufficiently talented coders can write great applications in terrible languages awesome application #codemotion @liuggio
  11. 11. f**king awesome application really really really really really
  12. 12. @liuggiowelcometothebundle.com
  13. 13. f**king awesome application really really really really really
  14. 14. Coding is 10% of the job Communication and understanding Read/Study Coffee and related . awesome application #codemotion @liuggio
  15. 15. developer = worker with knowledge awesome application #codemotion @liuggio
  16. 16. - Modular code - Version Control System (git) - Eager: conferences/books/code - Use frameworks - Contribute famous projects code - Live in the open-source ecosystem - Favourite the discussion - Study design trends (DDD BDD…?) - Live in a community, local user group - Test Driven Development talented developers awesome application #codemotion @liuggio
  17. 17. TDD REFACTOR PASSFAIL awesome application #codemotion @liuggio
  18. 18. - Modular code - Version Control System (git) - Eager: conferences/books/code - Use frameworks - Contribute famous projects code - Live in the open-source ecosystem - Favourite the discussion - Study design trends (DDD BDD…?) - Live in a community, local user group - Test Driven Development TalentedNot talented
  19. 19. Innovation fuel growth
  20. 20. TALENTED CODERS Have a passion driven mindset && Satisfy business with the best technology = awesome application #codemotion @liuggio
  21. 21. awesome application #codemotion @liuggio After the first iteration with the client:
  22. 22. YOU BLACK HOLE After the second iteration with the client:
  23. 23. awesome application #codemotion @liuggio After the third iteration with the client:
  24. 24. $$ function awesome application #codemotion @liuggio Translation problems
  25. 25. Application presentation awesome application #codemotion @liuggio Domain model REST adapter WEB SCRIPT A D A PTER-y U se Case A Use Case B
  26. 26. interfaces awesome application #codemotion @liuggio
  27. 27. awesome application #codemotion @liuggio Application presentation Domain model REST adapter WEB SCRIPT A D A PTER-y U se Case A Use Case B
  28. 28. awesome application #codemotion @liuggio
  29. 29. Describe the behaviours for each `verb` and ‘noun’ Create the class and the public methods Write a business example Explode the example in lines Given/When/Then Discover and visualize `verbs`, `nouns` and behaviours awesome application #codemotion @liuggio a new cycle1 2 3 4 5
  30. 30. FAIL
  31. 31. FAIL
  32. 32. FAIL
  33. 33. Describe the behaviours for each `verb` and ‘noun’ 4
  34. 34. Create the class and the public methods 5
  35. 35. PASS awesome application #codemotion @liuggio
  36. 36. Application presentation Domain model WEB Class EmitBill WWW
  37. 37. The best programming language will not save you to write horrible code. awesome application #codemotion @liuggio
  38. 38. BUSINESS awesome application #codemotion @liuggio
  39. 39. be a passionate developer awesome application #codemotion @liuggio
  40. 40. Questions? ps: see the references I didn’t write any books (yet). awesome application #codemotion @liuggio

×