SlideShare a Scribd company logo
How to   bootstrap your   app
         in 45 seconds
all y o u need i s
all y o u need i s
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
fa. bootstrap
fa. bootstrap
fa.bootstrap - demo app
★   model definition by

class MyModel(Base):
    __tablename__ = 'models'
    id = Column(Integer, primary_key=True)
    name = Column(Unicode(255), unique=True)
    value = Column(Integer)
fa.bootstrap - demo app
★   model definition by

★   include it in your     application


config.include('pyramid_formalchemy')
config.include('fa.bootstrap')
config.formalchemy_admin("/admin",
                         models=models,
                         forms=forms,
                         session_factory=models.DBSession,
                         view="myapp.forms.ModelView")
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
Qu est i ons?

                Andrew Mleczko
                Software Integrator
                Ferrara (Italy)
                   amleczko
                   amleczko@redturtle.it

More Related Content

KEY
Guru-Campinas - Continuous integration
PPS
10 tips for great presentation fernando2011
PDF
PloneConf2012 - Are you in a hole and still digging? Or how to become an agil...
PDF
Project management software of your dreams
PDF
Lost in o auth? learn velruse and get your life back
PDF
Celery and the social networks
PDF
Pyramid Deployment and Maintenance
PDF
Why should C-Level care about APIs? It's the new economy, stupid.
Guru-Campinas - Continuous integration
10 tips for great presentation fernando2011
PloneConf2012 - Are you in a hole and still digging? Or how to become an agil...
Project management software of your dreams
Lost in o auth? learn velruse and get your life back
Celery and the social networks
Pyramid Deployment and Maintenance
Why should C-Level care about APIs? It's the new economy, stupid.

More from Andrew Mleczko (6)

PDF
PyconUA - How to build ERP application having fun?
PDF
EuroPython 2011 - How to build complex web applications having fun?
PDF
Future is bright, future is Plone
PDF
Needle in an enterprise haystack
KEY
Fast content import in Plone
PDF
Plone TuneUp challenges
PyconUA - How to build ERP application having fun?
EuroPython 2011 - How to build complex web applications having fun?
Future is bright, future is Plone
Needle in an enterprise haystack
Fast content import in Plone
Plone TuneUp challenges
Ad

Recently uploaded (20)

PDF
Hybrid model detection and classification of lung cancer
PPTX
A Presentation on Artificial Intelligence
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
TLE Review Electricity (Electricity).pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Mushroom cultivation and it's methods.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Enhancing emotion recognition model for a student engagement use case through...
Hybrid model detection and classification of lung cancer
A Presentation on Artificial Intelligence
1 - Historical Antecedents, Social Consideration.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Unlocking AI with Model Context Protocol (MCP)
TLE Review Electricity (Electricity).pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Mushroom cultivation and it's methods.pdf
A comparative analysis of optical character recognition models for extracting...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
NewMind AI Weekly Chronicles - August'25-Week II
WOOl fibre morphology and structure.pdf for textiles
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Assigned Numbers - 2025 - Bluetooth® Document
MIND Revenue Release Quarter 2 2025 Press Release
Digital-Transformation-Roadmap-for-Companies.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Chapter 5: Probability Theory and Statistics
Enhancing emotion recognition model for a student engagement use case through...
Ad

Bootstrap your app in 45 seconds

  • 1. How to bootstrap your app in 45 seconds
  • 2. all y o u need i s
  • 3. all y o u need i s
  • 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
  • 7. fa.bootstrap - demo app ★ model definition by class MyModel(Base):     __tablename__ = 'models'     id = Column(Integer, primary_key=True)     name = Column(Unicode(255), unique=True)     value = Column(Integer)
  • 8. fa.bootstrap - demo app ★ model definition by ★ include it in your application config.include('pyramid_formalchemy') config.include('fa.bootstrap') config.formalchemy_admin("/admin",                          models=models,                          forms=forms,                          session_factory=models.DBSession,                          view="myapp.forms.ModelView")
  • 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. Qu est i ons? Andrew Mleczko Software Integrator Ferrara (Italy) amleczko amleczko@redturtle.it