Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Python, Google App Engine e Webapp-CE

2,028 views

Published on

Pequena apresentação sobre o uso do Webapp-CE na infra do Google App Engine

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Python, Google App Engine e Webapp-CE

  1. 1. Google App Engine e Python Renzo Nuccitelli Engenheiro de Computação – ITA renzo@nuccitec.com.br
  2. 2. ObjetivoExplicar a infra do Google App Engine utilizando o framework Python Webapp-CE
  3. 3. Roteiro• Google App Engine• Webapp-CE• Problema Base: Cadastro de Pessoas• Controller• Modelo• View• Formulário e Validação• Aplicação Comercial: Revelação Virtual• Conclusões
  4. 4. Google App Engine• Cloud do Google• Suporte a 3 linguagens: Java, Python e Go• Modelo SaaS (Software as a Service)• https://appengine.google.com/• GAE para os mais íntimos
  5. 5. Google App Engine : Vantagens• Escalável• Centralizada e excelente documentação• Excelente API• “Pay as you go”, com cota grátis• Abstração da camada de persistência• Definição dos dados na própria linguagem.
  6. 6. Google App Engine: Desvantagens• Lock-in da API e dos dados• Restrições nas pesquisas• Restrições na duração de requisições• Adaptação de desenvs acostumados a outros ambientes
  7. 7. Webapp-CE• Framework web• Mapeamento de urls ao estilo PHP• Validação de formulários• Transformação de dados para o modelo• Instalação através da simples cópia de arquivos a setup de arquivo app.yaml• http://code.google.com/p/webapp-ce/
  8. 8. Problema Base• Construir Applicativo Web para cadastro de pessoas• Ferramentas: Google Launcher + Pydev (Plugin Python para Eclipse)• Será que fazemos em 30 minutos?
  9. 9. Controller• Criar controller na pasta private• Delegar handler para cehandler no app.yaml• Mapear links com cengine
  10. 10. Modelo• Big Table – Banco de Dados não relacional• Módulo db do GAE• Criar Classe User com Nome (name) e Telefone (phone) e Id do Google (googleid)• Criar método estático para achar usuário corrente logado (getCurrent)
  11. 11. View• Templates Django• Utilizar classe Form do pacote ce.forms para gerar o formulário básico• Criar formulário para cadastro de usuário (módulo ce.forms)• Criar lista de usuários cadastrados• Criar classe para renderizar templates
  12. 12. Formulário e Validação• Classe Form de ce.forms já faz validação básica• Método validate• Método transform• Possível extender com suas regras de validação e transformação
  13. 13. Aplicação Comercial• Site Revelação Virtual www.revelacaovirtual.com.br• Mais de 200 mil fotos transmitidas em 2010• Desenvolvido com equipe enxuta
  14. 14. Conclusões• Apenas introdução, faltou muito coisa (Segurança, Filtros, Cache e etc)• Ambdev simples• Administração via web• Framework enxuto e open source• Opção barata para startups de tecnologia (cota grátis e custo variável)
  15. 15. Roteiro• Google App Engine• Webapp-CE• Problema Base: Cadastro de Pessoas• Controller• Modelo• View• Formulário e Validação• Aplicação Comercial Real: Revelação Virtual• Conclusões
  16. 16. ObjetivoExplicar a infra do Google App Engine utilizando o framework Python Webapp-CE
  17. 17. Obrigado pela atenção! Perguntas?

×