django-meio-easytags                           As easy way to create templatetags in DjangoWednesday, September 7, 2011
Who am I?                   • My name is Vinicius Mendes;                   • I work with Python and Django for 3 years;  ...
Why?                   • Django templatetags demands too much                          work to write, mainly parsing;     ...
Templatetags Patterns                   •      {% tag_name %}                   •      {% tag_name var %}                 ...
What?                   • A layer that abstracts templatetags parsing;                   • Make writing templatetags as ea...
Wednesday, September 7, 2011
Current wayWednesday, September 7, 2011
Simple easytagWednesday, September 7, 2011
Variables & LiteralsWednesday, September 7, 2011
Simple easyastagWednesday, September 7, 2011
Like it?                   • meiocodigo.com/projects/django-meio-                          easytags                   • gi...
Thanks!                   • Vinicius Mendes                   • github.com/vbmendes                   • @vbmendesWednesday...
Upcoming SlideShare
Loading in …5
×

django-meio-easytags Lightining Talk @ DjangoCon US 2011

860 views
814 views

Published on

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

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

No Downloads
Views
Total views
860
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

django-meio-easytags Lightining Talk @ DjangoCon US 2011

  1. 1. django-meio-easytags As easy way to create templatetags in DjangoWednesday, September 7, 2011
  2. 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. 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. 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. 5. What? • A layer that abstracts templatetags parsing; • Make writing templatetags as easy as writing a Python function.Wednesday, September 7, 2011
  6. 6. Wednesday, September 7, 2011
  7. 7. Current wayWednesday, September 7, 2011
  8. 8. Simple easytagWednesday, September 7, 2011
  9. 9. Variables & LiteralsWednesday, September 7, 2011
  10. 10. Simple easyastagWednesday, September 7, 2011
  11. 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. 12. Thanks! • Vinicius Mendes • github.com/vbmendes • @vbmendesWednesday, September 7, 2011

×