Your SlideShare is downloading. ×
0
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
django-meio-easytags Lightining Talk @ DjangoCon US 2011
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

django-meio-easytags Lightining Talk @ DjangoCon US 2011

723

Published on

My Lightning Talk at DjangoCon US 2011 about django-meio-easytags.

My Lightning Talk at DjangoCon US 2011 about django-meio-easytags.

Published in: Technology, News & Politics
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
723
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
2
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

Transcript

  • 1. django-meio-easytags As easy way to create templatetags in DjangoWednesday, September 7, 2011
  • 2. Who am I? • My name is Vinicius Mendes; • I work with Python and Django for 3 years; • I live in Rio de Janeiro, Brazil; • I work for globo.com; • django-brasil community co-manager.Wednesday, September 7, 2011
  • 3. Why? • Django templatetags demands too much work to write, mainly parsing; • It’s not DRY; • There’s a pattern that many template tags follow.Wednesday, September 7, 2011
  • 4. Templatetags Patterns • {% tag_name %} • {% tag_name var %} • {% tag_name “val” %} • {% tag_name arg=var %} • {% tag_name var “val” arg=var arg2=”val” %} • {% tag_name as var_name %}Wednesday, September 7, 2011
  • 5. What? • A layer that abstracts templatetags parsing; • Make writing templatetags as easy as writing a Python function.Wednesday, September 7, 2011
  • 6. Wednesday, September 7, 2011
  • 7. Current wayWednesday, September 7, 2011
  • 8. Simple easytagWednesday, September 7, 2011
  • 9. Variables & LiteralsWednesday, September 7, 2011
  • 10. Simple easyastagWednesday, September 7, 2011
  • 11. Like it? • meiocodigo.com/projects/django-meio- easytags • github.com/vbmendes/django-meio-easytags • readthedocs.org/docs/django-meio-easytagsWednesday, September 7, 2011
  • 12. Thanks! • Vinicius Mendes • github.com/vbmendes • @vbmendesWednesday, September 7, 2011

×