Why I liked Mezzanine CMS

10,112 views
10,021 views

Published on

My presentation for PUG-MY, April 2012.

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
10,112
On SlideShare
0
From Embeds
0
Number of Embeds
2,351
Actions
Shares
0
Downloads
45
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 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

    ×