Why I liked Mezzanine CMS

  • 7,698 views
Uploaded on

My presentation for PUG-MY, April 2012.

My presentation for PUG-MY, April 2012.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
7,698
On Slideshare
0
From Embeds
0
Number of Embeds
6

Actions

Shares
Downloads
28
Comments
0
Likes
3

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. Mezzanine CMS
  • 2. Dependencies• Python 2.5 - Python 2.7• Django 1.3x
  • 3. Optional• Python Image Library (PIL)• South• Grappelli-safe• FileBrowser-safe• django-mailer• django-compressor
  • 4. Mezzanine Features• Hierarchical page navigation• Scheduled publishing• WYSIWYG Editor• Twitter Bootstrap• SEO friendly URL, Metadata
  • 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. Why I like Mezzanine
  • 7. 1) Most dependencies built-in• Blog• Gallery• Twitter Feed• Rating, Tagging, Threaded Comments• Twitter Bootstrap• Mobile Theme
  • 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. Example Mixin• class BlogPost(Displayable, Ownable, RichText):• class BlogCategory(Slugged):
  • 10. 3) Content Architecture• Page Model • parent • in_navigation • in_footer • titles • content_model • login_required
  • 11. Example• from mezzanine.pages.models import Page• class Gallery(Page, RichText):• class GalleryImage(Orderable): • gallery = Gallery() • file = FileField() • description = CharField()
  • 12. 4) Build in generic types• class ThreadedComment(Comment):• class Rating(models.Model):
  • 13. 4) Mobile theme• mezzanine.core.middleware.DeviceAwareU pdateCacheMiddleware• mezzanine.core.middleware.TemplateForDe viceMiddleware• mezzanine.core.middleware.TemplateForH ostMiddleware
  • 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. Try it ....• >> mezzanine-project test_project