This document discusses migrating the NASA science website (science.nasa.gov) from its existing manually maintained HTML format to the Repoze BFG content management system. Repoze BFG provides a lightweight and fast Python-based system using the same Zope Object Database and catalog search as Plone. The document outlines how the NASA site content could be modeled as objects in the ZODB and rendered using traversal and templates in Repoze BFG.
3. science@nasa
• science.nasa.gov
• 13 years of stories
• 1.8 million visits/month
• manually maintained
• varying HTML formats over time
• no built-in search
10. Repoze BFG?
• Same Zope Object Database
• Similar ZPT Templates
• Same Catalog index, search
• Tiny
• Fast
• Easy to learn
11. Repoze BFG
• http://bfg.repoze.org/
• “Zope with the serial numbers filed off”
• Chris McDonough’s 4th implementation
• 100% test coverage
• Excellent, complete documenation
• Good fit for CMS-shaped data
• ZODB
• Traversal
12. ZODB
• Persistent object store
• Python objects
• Dictionaries, attributes
• children = page.items()
• parent = page.__parent__
14. ZODB: flexible
recipes
Spanish seafood
paella sangria grouper squid
on bbq cava red
tasting
photo
notes
15. Traversal:
the way we think
/recipes/Spanish/sangria/cava recipes
/recipes/seafood/squid
Spanish seafood
paella sangria grouper squid
on bbq cava red