Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Why I liked Mezzanine CMS

13,403 views

Published on

My presentation for PUG-MY, April 2012.

Published in: Technology
  • Be the first to comment

Why I liked Mezzanine CMS

  1. 1. Mezzanine CMS
  2. 2. Dependencies• Python 2.5 - Python 2.7• Django 1.3x
  3. 3. Optional• Python Image Library (PIL)• South• Grappelli-safe• FileBrowser-safe• django-mailer• django-compressor
  4. 4. Mezzanine Features• Hierarchical page navigation• Scheduled publishing• WYSIWYG Editor• Twitter Bootstrap• SEO friendly URL, Metadata
  5. 5. More Features• Configurable Admin Widgets• Shopping Cart (Cartidge)• Tagging• Disqus, Google Analytics, bit.ly integration• User Account with email verification• ... (more here, http://mezzanine.jupo.org/)
  6. 6. Why I like Mezzanine
  7. 7. 1) Most dependencies built-in• Blog• Gallery• Twitter Feed• Rating, Tagging, Threaded Comments• Twitter Bootstrap• Mobile Theme
  8. 8. 2) Models Mixin• class Slugged(models.Model):• class MetaData(models.Model):• class Displayable(Slugged, MetaData):• class RichText(models.Model):• class Ownable(models.Model):
  9. 9. Example Mixin• class BlogPost(Displayable, Ownable, RichText):• class BlogCategory(Slugged):
  10. 10. 3) Content Architecture• Page Model • parent • in_navigation • in_footer • titles • content_model • login_required
  11. 11. Example• from mezzanine.pages.models import Page• class Gallery(Page, RichText):• class GalleryImage(Orderable): • gallery = Gallery() • file = FileField() • description = CharField()
  12. 12. 4) Build in generic types• class ThreadedComment(Comment):• class Rating(models.Model):
  13. 13. 4) Mobile theme• mezzanine.core.middleware.DeviceAwareU pdateCacheMiddleware• mezzanine.core.middleware.TemplateForDe viceMiddleware• mezzanine.core.middleware.TemplateForH ostMiddleware
  14. 14. Why I liked mezzanine (summary)• Most dependencies built-in• Models Mixin• Content Architecture• Built-in generic types• Twitter Bootstrap/Mobile Theme• ofcourse.... because it’s python• and because it’s django
  15. 15. Try it ....• >> mezzanine-project test_project

×