SlideShare une entreprise Scribd logo
1  sur  23
Разработка web-приложений с помощью Python феймворка tipfyи Google App Engine DevTime #4 13апреля 2011 Колодяжный Иван 1из20
Agenda Что такое Google App Engine и с чем его едят? Почему не стоит использовать Django? Преимущества и недостатки tipfy Быстрая разработка веб-приложений с помощью tipfy Расширяем tipfy или "после сборке доработать напильником" DevTime #4 2из20
Google App Engine (GAE) Cloud (облако) Поддержка Python & Java Кроссплатформенность Free для приложений с небольшой нагрузкой Это Google! DevTime #4 3из20
GAE & Python Для тех, кто не знает Java Простой и удобный язык Поддержка всехAPI от Google Официально - Python 2.5 (on Deck – 2.7), в будущем – 3.x DevTime #4 4из20
GAE & Django Оффициально – теперь только django-nonrel Для истинных фанатов Django Большой и не поворотливый Много лишнего ... DevTime #4 5из20
Вы ещё хотите использовать Django + GAE? DevTime #4 6из20 +
tipfy tipfy is a small but powerful framework made specifically for Google App Engine.  DevTime #4 7из20 Current version: 1.0b1
Особенности tipfy Написан специально для Google App Engine Маленький и быстрый Модульная архитектура ~20 стандартных модулей Это не Django DevTime #4 8из20
Архитектура tipfy Структура папок DevTime #4 9из20
Model – View – Controller (MVC) DevTime #4 10из20
Конфигурация buildout.cfg – extentions, зависимости app.yaml – стандартный конфиг приложения наGAE config.py – настройки вашего приложения остальное используется редко DevTime #4 11из20
urls.py – настраиваем URL mapping DevTime #4 12из20
TODO: слайд о request handlers DevTime #4 13из13
handlers.py – request handlers DevTime #4 14из20
templates По умолчанию – jinja2 “Из коробки”: Genshi Mako JSON Template (by community) Можно подключить другой DevTime #4 15из20
jinja2: пример шаблона DevTime #4 16из20
demo DevTime #4 17из20
buildout.cfg – настраиваем расширения или «после сборки доработать напильником» DevTime #4 18из20
Вопросы? DevTime #4 19из20
Спасибо! http://www.tipfy.org/ http://code.google.com/appengine/ http://blog.e0ne.info/ http://www.vurt.ru/2011/04/Tipfy DevTime #4 20из20 E-mail: e0ne@e0ne.info Twitter: @e0ne
DevTime #4 21из20
DevTime #4 22из 20
Afterparty? DevTime #4 23из20

Contenu connexe

Dernier

2023 Q4. The Ransomware report. [RU].pdf
2023 Q4. The Ransomware report. [RU].pdf2023 Q4. The Ransomware report. [RU].pdf
2023 Q4. The Ransomware report. [RU].pdf
Хроники кибер-безопасника
 
Cyberprint. Dark Pink Apt Group [RU].pdf
Cyberprint. Dark Pink Apt Group [RU].pdfCyberprint. Dark Pink Apt Group [RU].pdf
Cyberprint. Dark Pink Apt Group [RU].pdf
Хроники кибер-безопасника
 
ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...
ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...
ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...
Ирония безопасности
 
CVE. The Fortra's GoAnywhere MFT [RU].pdf
CVE. The Fortra's GoAnywhere MFT [RU].pdfCVE. The Fortra's GoAnywhere MFT [RU].pdf
CVE. The Fortra's GoAnywhere MFT [RU].pdf
Хроники кибер-безопасника
 
СИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdf
СИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdfСИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdf
СИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdf
Хроники кибер-безопасника
 
Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...
Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...
Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...
Ирония безопасности
 

Dernier (9)

2023 Q4. The Ransomware report. [RU].pdf
2023 Q4. The Ransomware report. [RU].pdf2023 Q4. The Ransomware report. [RU].pdf
2023 Q4. The Ransomware report. [RU].pdf
 
Malware. DCRAT (DARK CRYSTAL RAT) [RU].pdf
Malware. DCRAT (DARK CRYSTAL RAT) [RU].pdfMalware. DCRAT (DARK CRYSTAL RAT) [RU].pdf
Malware. DCRAT (DARK CRYSTAL RAT) [RU].pdf
 
Ransomware_Q3 2023. The report [RU].pdf
Ransomware_Q3 2023.  The report [RU].pdfRansomware_Q3 2023.  The report [RU].pdf
Ransomware_Q3 2023. The report [RU].pdf
 
Cyberprint. Dark Pink Apt Group [RU].pdf
Cyberprint. Dark Pink Apt Group [RU].pdfCyberprint. Dark Pink Apt Group [RU].pdf
Cyberprint. Dark Pink Apt Group [RU].pdf
 
MS Navigating Incident Response [RU].pdf
MS Navigating Incident Response [RU].pdfMS Navigating Incident Response [RU].pdf
MS Navigating Incident Response [RU].pdf
 
ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...
ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...
ИСТОЧНИКИ ИННОВАЦИОННОСТИ КИТАЯ (ПО ВЕРСИИ DGAP) | The Sources of China’s Inn...
 
CVE. The Fortra's GoAnywhere MFT [RU].pdf
CVE. The Fortra's GoAnywhere MFT [RU].pdfCVE. The Fortra's GoAnywhere MFT [RU].pdf
CVE. The Fortra's GoAnywhere MFT [RU].pdf
 
СИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdf
СИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdfСИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdf
СИСТЕМА ОЦЕНКИ УЯЗВИМОСТЕЙ CVSS 4.0 / CVSS v4.0 [RU].pdf
 
Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...
Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...
Cyber Defense Doctrine Managing the Risk Full Applied Guide to Organizational...
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Разработка web-приложений с помощью Python феймворка tipfy и Google App Engine

Notes de l'éditeur

  1. http://twitter.com/#!/mikashkin/status/55336125094572033@mikashkinMikhail Kashkin@gotFreshIdeas Java — это не решение проблемы, это сама проблема :)http://code.google.com/appengine/docs/whatisgoogleappengine.htmlКоротко про облака, особенности GAE.Разработка под разные ОС. Описания модели оплаты за GAE.Если большая часть аудитории не знает ничего про GAE(сомневаюсь что таоке), коротко (5мин) рассказать о разработке под него, небольшой пример “hello world”http://code.google.com/appengine/docs/quotas.htmlhttp://code.google.com/appengine/docs/billing.html
  2. -Холливар Pythonvs Java – нафиг, не нужно его устраиватьПочему я люблю pythonDatastore, memcache, tasks, url fetch, mail, contactsIde: eclipse plugin, pycharmweb application framework, called webapp,
  3. Нет офф. ПоддержкиНе заточен под nosqlбазыdjango-nonrel – ещё сыройЕсть много ресурсовНельзя использовать часть фреймворка, т.к. он завязан на то, что будет использоваться всё вместе. Пример: модель, админкаhttp://blip.tv/file/4881543 - PyCon 2011: Running Django Apps on Google App Engine
  4. Подразумевается, что все ответят «да» и уйдут  и сразу преход к слайду #20. Если кто-то останется – переход к слайду #7
  5. На сайте http://pypi.python.org/pypi?%3Aaction=search&term=tipfy&submit=search пока всего 3, но это только началоExtension Builder (http://www.tipfy.org/extension-builder) – делает шаблон для вашего расширения
  6. Что за файлы, папки, зачем они нужны. Что нужно для разработки. Как хранить исходники в репозитарии (только папка app или всё).Скрин нормальный сделать не получилось, покажу вживую
  7. Патерн. Классика жанра.
  8. Коротко о том, зчем нужны эти файлы и когда и как использовать. Показать пример конфигов. Builout.cfgоставить «на потом»
  9. Что такое Rule, name, handlerПоказать пример в IDE
  10. Слайд 13 из 13. всё-таки 13-е чилсо будет, нужен какой-то маленький fail
  11. В отличии от джанги, хэндлеры – классы со всемы вытикающими последствиями (наследование и т.д.). Примеры :- хэндлеров, требующих авторизацию. Создание базового классаmiddlewareПоказать пример в IDE
  12. Template engines. На вкус и цвет – фломастеры (Template engines) – разные, можно выбирать. Если какой-то не саппортится из коробки – написать для него обвёртку для tipfy
  13. Показать пример из hello world и «живого» проекта
  14. Показать немного раширенное “hello world” приложение
  15. Пример конфига. Добавление и удаление расширений. Если будет инет – показать процесс сборки.Если не будет – запустить видео.Если будет инет – показать extension builder, если нет – показать готовый zip-файл
  16. Вдруг будут вопросы, которые еще не задали
  17. «всем спасибо, все свободны» (с) 
  18. Ну и для тех, кто доживёт до 20-го слайда из 19!