Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Programação também é mágica Abdala Cerqueira
Slide 2
Slide 2 text
Agenda • Motivação • Magic functions/methods • SPL • Reflection • Show me the code!
Slide 3
Slide 3 text
Motivação
Slide 4
Slide 4 text
Microframework Manifest
Slide 5
Slide 5 text
http://microphp.org
Slide 6
Slide 6 text
Quanto mais códigos, mais problemas
Slide 7
Slide 7 text
JQuery
Slide 8
Slide 8 text
DRY
Slide 9
Slide 9 text
Magic functions
Slide 10
Slide 10 text
Clássicos • __construct • __get • __set
Slide 11
Slide 11 text
Irados • __call • __callStatic • __toString • __invoke
Slide 12
Slide 12 text
SPL
Slide 13
Slide 13 text
SPL • ArrayAccess • Countable • ArrayIterator • JsonSerializable
Slide 14
Slide 14 text
Reflection
Slide 15
Slide 15 text
http://fatfreeframework.com/magic
Slide 16
Slide 16 text
http://notorm.com
Slide 17
Slide 17 text
Outras linguagens • Python • Ruby • Javascript
Slide 18
Slide 18 text
Show me the code!
Slide 19
Slide 19 text
Dias 3 e 4 de outubro, João Pessoa
Slide 20
Slide 20 text
Obrigado! Twitter: @abdalac Github: @abdala Site: abda.la