I'm slowly digesting all the pieces involved in this whole GAE thing (not to mention the ins and outs of web apps in general). Python is such a treat to work with. I recently read some article on Django/ Python that talked about the emphasis on code reuse woven into the technology. This is approach is something I really like.
To illustrate my question I'll give an example. Lets say I want to build a competitor to gmail (on GAE... how funny would that be?!). Now, similar to gmail, I'd like to have a calender "widget" appear all throughout the the views the user gets on my app. So, when they view the inbox its on the bottom left. And maybe when they view their "preferences" its on the top right. And maybe if there's a family calender they would like to always see then both personal and family calenders would appear stacked all throughout the view on the app. So, my question is, is there some sort of "code reuse" like approach to producing the html/look for that calender (wherever its placed, however many different ones there are)? So that I can have multiple templates that I render (inbox,preferences, etc.) that will all have a calender in them, but without having to re-write the template code that creates the calender html/markup? Is this something I'd do with javascript, where I have javascript that implements the widget and just call that script into whatever templates I want it? Thanks in advance. Stu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
