I'm looking around at python web frameworks and I've heard some good
stuff about django. I mostly need something to do the presentation
level.

In general I like the declarative style of tag libraries like jsp and
asp .net. They don't mix code and html (which encourages separation
between presentation and application logic), and the xml tags allow me
to define controls separately (like say, a navigation bar) and reuse
them in various pages, and within other more complicated widgets.

Is there something like this in python web programming? I was looking
a little bit at the django templating langauge, and while it clearly
doesn't use xml, it does seem at least *quasi* declarative. Can
someone with familiarity clue me in? There's no actual python code and
state manipulation going on in django templating right?

The other thing I'm wondering is whether has a convenient equivalent
to tag libraries, i.e. can I code up some control and reuse it all
over the place?

So could I have a calendar control defined in some file
<div blah blah blah>
a bunch of html and other controls
</div>

and then do something equivalent to:

<my_tag_lib_namespace:my_calendar_control>
</my_tag_lib_namespace:my_calendar_control>

It doens't look like you use xml tags for such things, but is there an
equivalent?

If not, is there a python web presentation framework that has such
capabilities?

Thanks,
Brendan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to