7Masters - Bootstrap no ZF2

878 views
784 views

Published on

Apresentação de Anderson Casemiro durante o 7Masters - Encontro iMasters de Especialistas em Zend Framework

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
878
On SlideShare
0
From Embeds
0
Number of Embeds
179
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

7Masters - Bootstrap no ZF2

  1. 1. Bootstrap no ZF2Bootstrap no ZF2 DuodracoDuodraco PHPSPPHPSP OLXOLX
  2. 2. Bootstrap no ZF2Bootstrap no ZF2 (em 7 minutos)(em 7 minutos) DuodracoDuodraco PHPSPPHPSP OLXOLX
  3. 3. Quem sou?Quem sou? ● Development Tech Leader - OLXDevelopment Tech Leader - OLX ● Organizador – PHPSPOrganizador – PHPSP ● Rocker, Gamer...Rocker, Gamer...
  4. 4. Quem sou?Quem sou? ● Development Tech Leader - OLXDevelopment Tech Leader - OLX ● Organizador – PHPSPOrganizador – PHPSP ● Rocker, Gamer...Rocker, Gamer... ● Não gosto de ZFNão gosto de ZF – Sim, sou um intruso aqui :DSim, sou um intruso aqui :D
  5. 5. Bootstrap?Bootstrap? Para um leigo em ZF, é facil de começar?Para um leigo em ZF, é facil de começar?
  6. 6. Tudo começa aquiTudo começa aqui
  7. 7. Tudo começa aquiTudo começa aqui RTFM
  8. 8. Configurando o ApacheConfigurando o Apache
  9. 9. Começando no shell...Começando no shell... duodraco@tiamat:~/Projects> cd myApp/duodraco@tiamat:~/Projects> cd myApp/ duodraco@tiamat:~/Projects/myApp> cp ../zf2/composer.phar .duodraco@tiamat:~/Projects/myApp> cp ../zf2/composer.phar . duodraco@tiamat:~/Projects/myApp> lsduodraco@tiamat:~/Projects/myApp> ls composer.pharcomposer.phar duodraco@tiamat:~/Projects/myApp>duodraco@tiamat:~/Projects/myApp> phpphp composer.pharcomposer.phar requirerequire zendframework/zftool:dev-masterzendframework/zftool:dev-master composer.json has been updatedcomposer.json has been updated Loading composer repositories with package informationLoading composer repositories with package information Updating dependencies (including require-dev)Updating dependencies (including require-dev) ......
  10. 10. Facilitando...Facilitando... ln -s vendor/bin/zf.phpln -s vendor/bin/zf.php ./zf.php version./zf.php version ./zf.php create project app./zf.php create project app cd app/cd app/ php composer.phar installphp composer.phar install
  11. 11. Facilitando...Facilitando... ln -s vendor/bin/zf.phpln -s vendor/bin/zf.php ./zf.php version./zf.php version ./zf.php create project app./zf.php create project app cd app/cd app/ COMPOSER_PROCESS_TIMEOUT=5000COMPOSER_PROCESS_TIMEOUT=5000 php composer.phar installphp composer.phar install
  12. 12. app/composer.jsonapp/composer.json
  13. 13. Do que seu PHP precisa?Do que seu PHP precisa? ● bcmathbcmath ● bz2bz2 ● CoreCore ● ctypectype ● curlcurl ● datedate ● domdom ● eregereg ● exifexif ● mysqlndmysqlnd ● opensslopenssl ● pcntlpcntl ● pcrepcre ● PDOPDO ● pdo_mysqlpdo_mysql ● pdo_sqlitepdo_sqlite ● PharPhar ● readlinereadline
  14. 14. Obrigado duodra.co phpsp.org.br github.com/duodraco

×