Bootstrap your app in 45 seconds

3,035 views
2,896 views

Published on

Published in: Technology, Business
1 Comment
8 Likes
Statistics
Notes
No Downloads
Views
Total views
3,035
On SlideShare
0
From Embeds
0
Number of Embeds
60
Actions
Shares
0
Downloads
16
Comments
1
Likes
8
Embeds 0
No embeds

No notes for slide

Bootstrap your app in 45 seconds

  1. 1. How to bootstrap your app in 45 seconds
  2. 2. all y o u need i s
  3. 3. all y o u need i s
  4. 4. fa.bootstrap - paster script★ five easy steps:$ pip install fa.bootstrap$ paster create -t pyramid_fa_bootstrap myapp$ cd myapp$ python setup.py develop$ paster serve development.ini
  5. 5. fa. bootstrap
  6. 6. fa. bootstrap
  7. 7. fa.bootstrap - demo app★ model definition byclass MyModel(Base):    __tablename__ = models    id = Column(Integer, primary_key=True)    name = Column(Unicode(255), unique=True)    value = Column(Integer)
  8. 8. fa.bootstrap - demo app★ model definition by★ include it in your applicationconfig.include(pyramid_formalchemy)config.include(fa.bootstrap)config.formalchemy_admin("/admin",                         models=models,                         forms=forms,                         session_factory=models.DBSession,                         view="myapp.forms.ModelView")
  9. 9. fa.bootstrap - links★ pyramid_formalchemy docs http://docs.formalchemy.org/pyramid_formalchemy★ download http://pypi.python.org/pypi/fa.bootstrap★ GitHub https://github.com/RedTurtle/fa.bootstrap
  10. 10. Qu est i ons? Andrew Mleczko Software Integrator Ferrara (Italy) amleczko amleczko@redturtle.it

×