Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Desenvolvendo 
Aplicações com 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 1 / 34 
2
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Er Galvão Abbott é Presidente da ABRAPHP – Associação 
Brasileira de Profissionais PHP e Diretor da PHP Conference Brasil, 
o principal evento de PHP da América Latina. 
Trabalha há 20 anos desenvolvendo sistemas e aplicações 
com interface web, sendo 15 destes com PHP e 7 com Zend 
Framework. Trabalhou com diversas empresas de grande porte, 
tanto nacionais como internacionais. 
Palestra em eventos, ministra cursos presenciais e a distância 
e é o fundador e líder do GU PHPBR, Grupo de Usuários de 
abrangência nacional, que hoje conta com mais de 1.200 
usuários cadastrados. 
Site: http://www.galvao.eti.br/ 
Twitter: @galvao 
Slides e Documentos: http://slideshare.net/ergalvao 
https://speakerdeck.com/galvao 
Github: http://github.com/galvao 
Quem?! 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 2 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Objetivo 
Apresentar detalhes Básicos → Intermediários sobre o 
Zend Framework 2, detalhando conceitos envolvidos no 
desenvolvimento de uma aplicação. 
Serão apresentados os seguintes tópicos: 
→ Porque escolher o ZF2? 
→ Setup inicial, “Instalação” e Configuração 
→ Ambientes 
→ Rotas 
→ Models, Controllers e Views 
→ Validação 
→ CRUD 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 3 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Por quê ZF2? 
Open Source PHP >= 5.3 
> 2 anos e meio namespaces 
> 2.000 changesets closures 
> 200 profissionais late static binding 
Microsoft, Google, et al. 
Composer Github 
PHAR PHPUnit 
100% OO TravisCI 
S.O.L.I.D. 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 4 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Por quê ZF2? 
Modular 
modules.zendframework.com 
Flexível 
Dependency Injection, 
application.config.php, 
Module.php, 
module.config.php 
Eventos 
Serviços 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 5 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Skeleton Application – Instalação 
github.com/zendframework/ZendSkeletonApplication 
Composer git clone git submodule download 
composer create-project 
-sdev 
--repository-url="https://packages.zendframework.com" 
zendframework/skeleton-application 
path/to/install 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 6 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Skeleton Application – Estrutura 
Configuração a nível de aplicação 
Dados da aplicação 
Módulos da aplicação 
Raiz web 
Componentes/Módulos externos 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 7 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Skeleton Application – Estrutura 
Configuração “global” da Aplicação 
Configuração do “ambiente” 
Configuração a nível de aplicação 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 8 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Skeleton Application – Estrutura 
Raiz do Módulo 
Configuração do Módulo 
i18n 
Fonte do Módulo 
Inicialização do Módulo 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 9 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Skeleton Application – Estrutura 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 10 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Skeleton Application – Estrutura 
Zend Framework 2 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 11 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
MVC – ZF2 Style 
Requisição 
Inicialização 
do Módulo Bootstrap 
Roteamento Dispatch 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 12 / 34 
Execução da 
Aplicação 
Resposta
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Setup inicial 
public/index.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 13 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 14 / 34 
Setup inicial 
config/autoload/global.php
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 15 / 34 
Setup inicial 
config/autoload/local.php
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 16 / 34 
Setup inicial 
module/Application/Module.php
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Setup inicial 
config/application.config.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 17 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
module/Application/config/module.config.php … ?!?! 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 18 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
module/Application/config/module.config.php … ?!?! 
Muita calma nessa hora! 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 19 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Ufa! 
module/Application/config/module.config.php 
Rotas 
Serviços 
Controllers “disponíveis” 
Questões sobre a camada de view 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 20 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Rotas 
Literais 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 21 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Rotas 
Com rotas filhas / com segmentos (≃ ZF1) 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 22 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Controllers 
module/Application/src/Application/Controller/IndexController.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 23 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Dados Externos: Forms 
module/Application/src/Application/Form/User/Register.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 24 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Dados Externos: Filtros 
module/Application/src/Application/Filter/User/Register.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 25 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Models 
module/Application/src/Application/Model/User.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 26 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Models 
module/Application/src/Application/Model/UserTable.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 27 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Models 
module/Application/src/Application/Module.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 28 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Models - CRUD 
module/Application/src/Application/Model/UserTable.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 29 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Models - CRUD 
module/Application/src/Application/Model/UserTable.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 30 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Models - CRUD 
module/Application/src/Application/Model/UserTable.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 31 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Unindo as partes na Controller 
module/Application/src/Application/Controller/UserController.php 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 32 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Concluindo... 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 33 / 34
Desenvolvendo Aplicações com ZF2 www.galvao.eti.br 
Obrigado! 
? Dúvidas? 
↓ Críticas? 
↑ Elogios?! 
CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 34 / 34

Mais conteúdo relacionado

PDF
Apresentacao frameworks
PDF
Latinoware 2019 - DEsenvolvimento mobile em Nivel jedi
PDF
Testando uma aplicação com Arquitetura Hexagonal e Spring Boot
PDF
MVC com Zend Framework - PHP Conference Brasil 2010
ODP
PHP e Open Source
PDF
ABRAPHP: Conquistas e Realizações - 2012-2014
PDF
DRYing the Skeleton: Reducing code repetition in ZF2
PDF
Como manter a qualidade do seu projeto sem perder a sua sanidade!
Apresentacao frameworks
Latinoware 2019 - DEsenvolvimento mobile em Nivel jedi
Testando uma aplicação com Arquitetura Hexagonal e Spring Boot
MVC com Zend Framework - PHP Conference Brasil 2010
PHP e Open Source
ABRAPHP: Conquistas e Realizações - 2012-2014
DRYing the Skeleton: Reducing code repetition in ZF2
Como manter a qualidade do seu projeto sem perder a sua sanidade!

Destaque (6)

PDF
Tudo o que você precisa saber sobre o php7
PDF
Le livre blanc de l'expérience client - Vol 1
PDF
Metodologias ágeis interativas
PDF
CK 10 - Automate all the things 2.0
PDF
6 questões que levam à inovação
PDF
De Padawan a Jedi - Versão 2016
Tudo o que você precisa saber sobre o php7
Le livre blanc de l'expérience client - Vol 1
Metodologias ágeis interativas
CK 10 - Automate all the things 2.0
6 questões que levam à inovação
De Padawan a Jedi - Versão 2016
Anúncio

Semelhante a Desenvolvendo aplicações com ZF2 (20)

ODP
Otimizando a execução de código-fonte PHP
PDF
Unbreakeable php
ODP
Php7 esta chgando! O que você precisa saber
PDF
Zend framework 3 Hangout 2016
ODP
Web: funcionamento, evolução e mercado
PDF
PHP: Evolução
PDF
ZF2 Menor, melhor e mais poderoso
ODP
OSS, Comunidade, Eventos e como sua empresa ganha com isso
PDF
Misturando Demoiselle, Nuvem e Mobilidade no Latinoware 2012
PPT
.NET Core e ASP.NET Core: Presente e Futuro - .NET Conf Local 2018 - Campinas...
PPT
.NET Core e ASP.NET Core: Presente e Futuro - .NET Conf Local 2018 - .NET SP ...
PDF
Composer dependency manager - TDC - POA 2017
PDF
2290494 integrando-flex-com-php
PDF
Ligação do Flex a um backend LAMP usando AMFPHP
ODP
Implementando rotinas de geolocalização
PPT
W2py pyconpe
PPT
.NET Core e ASP.NET Core: Presente e Futuro - .NET SP - Novembro/2018
PDF
Tutorial sobre Bootstrap
PDF
Dockerizando aplicações em uma fintech o bom, o mau e o feio as surpresas
PPT
CEPUG 2 - Bem-vindo a Framework CodeIgniter
Otimizando a execução de código-fonte PHP
Unbreakeable php
Php7 esta chgando! O que você precisa saber
Zend framework 3 Hangout 2016
Web: funcionamento, evolução e mercado
PHP: Evolução
ZF2 Menor, melhor e mais poderoso
OSS, Comunidade, Eventos e como sua empresa ganha com isso
Misturando Demoiselle, Nuvem e Mobilidade no Latinoware 2012
.NET Core e ASP.NET Core: Presente e Futuro - .NET Conf Local 2018 - Campinas...
.NET Core e ASP.NET Core: Presente e Futuro - .NET Conf Local 2018 - .NET SP ...
Composer dependency manager - TDC - POA 2017
2290494 integrando-flex-com-php
Ligação do Flex a um backend LAMP usando AMFPHP
Implementando rotinas de geolocalização
W2py pyconpe
.NET Core e ASP.NET Core: Presente e Futuro - .NET SP - Novembro/2018
Tutorial sobre Bootstrap
Dockerizando aplicações em uma fintech o bom, o mau e o feio as surpresas
CEPUG 2 - Bem-vindo a Framework CodeIgniter
Anúncio

Mais de Er Galvão Abbott (12)

PDF
Segurança PHP em 2016
ODP
Implementing security routines with zf2
ODP
OWASP: O que, Por que e Como
PDF
Além da autenticação: Permissões de acesso com Zend Framework
PDF
Proposta de Boas Práticas e Padrões de Desenvolvimento Web
PDF
PHPBR TestFest
PDF
Preto, Branco e as Sombras de Cinza
PDF
Top 10 OWASP com PHP
PDF
Aplicacoes Web Com AJAX
PDF
Implementando Segurança Em Sua Aplicação PHP
PDF
Prevenindo XSS: Execute apenas o SEU código
PDF
PHP e Segurança - Uma união possível
Segurança PHP em 2016
Implementing security routines with zf2
OWASP: O que, Por que e Como
Além da autenticação: Permissões de acesso com Zend Framework
Proposta de Boas Práticas e Padrões de Desenvolvimento Web
PHPBR TestFest
Preto, Branco e as Sombras de Cinza
Top 10 OWASP com PHP
Aplicacoes Web Com AJAX
Implementando Segurança Em Sua Aplicação PHP
Prevenindo XSS: Execute apenas o SEU código
PHP e Segurança - Uma união possível

Último (12)

PDF
Termos utilizados na designação de relação entre pessoa e uma obra.pdf
PDF
Processos no SAP Extended Warehouse Management, EWM100 Col26
PDF
Jira Software projetos completos com scrum
PPTX
Analise Estatica de Compiladores para criar uma nova LP
PPTX
Viasol Energia Solar -Soluções para geração e economia de energia
PPT
Conceitos básicos de Redes Neurais Artificiais
PDF
Manejo integrado de pragas na cultura do algodão
PPTX
Tipos de servidor em redes de computador.pptx
PDF
eBook - GUIA DE CONSULTA RAPIDA EM ROTEADORES E SWITCHES CISCO - VOL I.pdf
PPTX
Utilizando code blockes por andre backes
PPTX
Aula 9 - Funções em Python (Introdução à Ciência da Computação)
PPTX
Proposta de Implementação de uma Rede de Computador Cabeada.pptx
Termos utilizados na designação de relação entre pessoa e uma obra.pdf
Processos no SAP Extended Warehouse Management, EWM100 Col26
Jira Software projetos completos com scrum
Analise Estatica de Compiladores para criar uma nova LP
Viasol Energia Solar -Soluções para geração e economia de energia
Conceitos básicos de Redes Neurais Artificiais
Manejo integrado de pragas na cultura do algodão
Tipos de servidor em redes de computador.pptx
eBook - GUIA DE CONSULTA RAPIDA EM ROTEADORES E SWITCHES CISCO - VOL I.pdf
Utilizando code blockes por andre backes
Aula 9 - Funções em Python (Introdução à Ciência da Computação)
Proposta de Implementação de uma Rede de Computador Cabeada.pptx

Desenvolvendo aplicações com ZF2

  • 1. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Desenvolvendo Aplicações com CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 1 / 34 2
  • 2. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Er Galvão Abbott é Presidente da ABRAPHP – Associação Brasileira de Profissionais PHP e Diretor da PHP Conference Brasil, o principal evento de PHP da América Latina. Trabalha há 20 anos desenvolvendo sistemas e aplicações com interface web, sendo 15 destes com PHP e 7 com Zend Framework. Trabalhou com diversas empresas de grande porte, tanto nacionais como internacionais. Palestra em eventos, ministra cursos presenciais e a distância e é o fundador e líder do GU PHPBR, Grupo de Usuários de abrangência nacional, que hoje conta com mais de 1.200 usuários cadastrados. Site: http://www.galvao.eti.br/ Twitter: @galvao Slides e Documentos: http://slideshare.net/ergalvao https://speakerdeck.com/galvao Github: http://github.com/galvao Quem?! CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 2 / 34
  • 3. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Objetivo Apresentar detalhes Básicos → Intermediários sobre o Zend Framework 2, detalhando conceitos envolvidos no desenvolvimento de uma aplicação. Serão apresentados os seguintes tópicos: → Porque escolher o ZF2? → Setup inicial, “Instalação” e Configuração → Ambientes → Rotas → Models, Controllers e Views → Validação → CRUD CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 3 / 34
  • 4. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Por quê ZF2? Open Source PHP >= 5.3 > 2 anos e meio namespaces > 2.000 changesets closures > 200 profissionais late static binding Microsoft, Google, et al. Composer Github PHAR PHPUnit 100% OO TravisCI S.O.L.I.D. CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 4 / 34
  • 5. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Por quê ZF2? Modular modules.zendframework.com Flexível Dependency Injection, application.config.php, Module.php, module.config.php Eventos Serviços CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 5 / 34
  • 6. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Skeleton Application – Instalação github.com/zendframework/ZendSkeletonApplication Composer git clone git submodule download composer create-project -sdev --repository-url="https://packages.zendframework.com" zendframework/skeleton-application path/to/install CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 6 / 34
  • 7. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Skeleton Application – Estrutura Configuração a nível de aplicação Dados da aplicação Módulos da aplicação Raiz web Componentes/Módulos externos CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 7 / 34
  • 8. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Skeleton Application – Estrutura Configuração “global” da Aplicação Configuração do “ambiente” Configuração a nível de aplicação CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 8 / 34
  • 9. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Skeleton Application – Estrutura Raiz do Módulo Configuração do Módulo i18n Fonte do Módulo Inicialização do Módulo CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 9 / 34
  • 10. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Skeleton Application – Estrutura CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 10 / 34
  • 11. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Skeleton Application – Estrutura Zend Framework 2 CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 11 / 34
  • 12. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br MVC – ZF2 Style Requisição Inicialização do Módulo Bootstrap Roteamento Dispatch CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 12 / 34 Execução da Aplicação Resposta
  • 13. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Setup inicial public/index.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 13 / 34
  • 14. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 14 / 34 Setup inicial config/autoload/global.php
  • 15. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 15 / 34 Setup inicial config/autoload/local.php
  • 16. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 16 / 34 Setup inicial module/Application/Module.php
  • 17. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Setup inicial config/application.config.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 17 / 34
  • 18. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br module/Application/config/module.config.php … ?!?! CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 18 / 34
  • 19. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br module/Application/config/module.config.php … ?!?! Muita calma nessa hora! CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 19 / 34
  • 20. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Ufa! module/Application/config/module.config.php Rotas Serviços Controllers “disponíveis” Questões sobre a camada de view CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 20 / 34
  • 21. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Rotas Literais CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 21 / 34
  • 22. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Rotas Com rotas filhas / com segmentos (≃ ZF1) CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 22 / 34
  • 23. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Controllers module/Application/src/Application/Controller/IndexController.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 23 / 34
  • 24. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Dados Externos: Forms module/Application/src/Application/Form/User/Register.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 24 / 34
  • 25. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Dados Externos: Filtros module/Application/src/Application/Filter/User/Register.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 25 / 34
  • 26. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Models module/Application/src/Application/Model/User.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 26 / 34
  • 27. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Models module/Application/src/Application/Model/UserTable.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 27 / 34
  • 28. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Models module/Application/src/Application/Module.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 28 / 34
  • 29. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Models - CRUD module/Application/src/Application/Model/UserTable.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 29 / 34
  • 30. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Models - CRUD module/Application/src/Application/Model/UserTable.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 30 / 34
  • 31. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Models - CRUD module/Application/src/Application/Model/UserTable.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 31 / 34
  • 32. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Unindo as partes na Controller module/Application/src/Application/Controller/UserController.php CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 32 / 34
  • 33. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Concluindo... CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 33 / 34
  • 34. Desenvolvendo Aplicações com ZF2 www.galvao.eti.br Obrigado! ? Dúvidas? ↓ Críticas? ↑ Elogios?! CC Attribution-ShareAlike 3.0 Unported License by Er Galvão Abbott - 9/27/14 - 34 / 34