More Related Content
PDF
Pylons ユーザのための Pyramid 移行ガイド PDF
PDF
PDF
PDF
PDF
Bot Framework v4 開発 Tips 2018-11 KEY
Bundler kanazawa.rb meetup #2 2012/09/19 PDF
What's hot
PPTX
SPAセキュリティ入門~PHP Conference Japan 2021 PDF
Spring Boot の Web アプリケーションを Docker に載せて AWS ECS で動かしている話 PDF
Javaで1から10まで書いた話(sanitized) PDF
[使い倒し]GitHubのIssueとTFS/VSOのWorkItem連動に挑む(2015/08/26) PPTX
やさしいGitの内部構造 - yapcasia2013 PPTX
PDF
PDF
OpenJDK コミュニティに参加してみよう #jjug PDF
PDF
CIツールのまとめとSide CI - CIツール勉強会@福岡 PPT
第4回勉強会 Groovyの文法からSpockまで PDF
PDF
WildFly Swarmではじめる「パーツとしてのJavaEE」 PDF
KEY
PDF
Jjug 20140430 gradle_basic PPT
PDF
PDF
Spring in-summer-gradle-hands on-withanswers Similar to What makes pyramid unique
PDF
PDF
Spring Data RESTを利用したAPIの設計と、作り直しまでの道のり PDF
PDF
PDF
PDF
PDF
Skinny Framework で始めた Scala PPTX
Pyramidのrendererをカスタマイズする PDF
PDF
PPTX
PDF
How to modularize Pyramid/Cornice/Colander codes -- PyCon JP 2016 LT PDF
ユーザ・デザイナーから見たPlone CMSのアピールポイント PPTX
PDF
Ocs2013 tokyo spring_plone PDF
PDF
Ocs2012 tokyo/spring plone PDF
PDF
Plone features and trends PDF
RESTful開発フロントエンド編(SPA・AltJS・フレームワーク) More from Atsushi Odagiri
PDF
Pythonでの開発を効率的に進めるためのツール設定 PDF
PDF
PDF
eggとはなんだったのか 栄光のsetuptools PDF
パッケージングの呼び声 Python Charity Talks in Japan 2021.02 PDF
パッケージングを支える技術 pyconjp2016 PDF
async/await の向こう側 PyCon Kyushu 2022 PDF
PDF
PPTX
PDF
PDF
PDF
みんなのPython勉強会#77 パッケージングしよう PDF
PDF
PDF
PDF
pyconjp 2019 LT 今日のsetuptools PDF
PDF
PDF
Pyconjp2012 memory-of-europython What makes pyramid unique
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
view predicate
name xhr
context accept
route_name header
request_type path_info
request_method custom_predicate
request_param
match_param
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
よく使うライブラリ、ツール
ZODB3 distribute
SQLAlchemy zc.buildout
zope.sqlalchemy nose
deform/colander alembic
WebHelpers
cliff
- 28.
- 29.
- 30.
- 31.
- 32.
- 33.
- 34.
- 35.
- 36.
- 37.
- 38.
- 39.
pshellでモデルデータを登録
$ pshell development.ini
>>>from pyconjp2012.models import
Document
>>> doc = Document('test-document', 'this-is-
document')
>>> root[doc.__name__] = doc
>>> doc.__parent__ = root
>>> import transaction
>>> transaction.commit()
- 40.
- 41.
- 42.
- 43.
ユーザー入力(実装)
class AddDocumentView(FormView):
schema = AddDocumentSchema()
buttons = ('save',)
def save_success(self, params):
doc = Document(**params)
self.request.context[doc.__name__] = doc
doc.__parent__ = self.request.context
return HTTPFound(self.request.
resource_url(doc))
- 44.
- 45.
- 46.
- 47.
- 48.
- 49.
- 50.
- 51.
参考URL
The Pylons ProjectDocumentation http://docs.
pylonsproject.org/en/latest/index.html
Pyramid Documentation http://docs.
pylonsproject.org/en/latest/docs/pyramid.html
Defending Pyramid's Design http://docs.
pylonsproject.
org/projects/pyramid/en/master/designdefense.
html