Hello Sir, I like theses idea less and less evertime. > > What is your usecase for a smarter rendering engine ? You can already > compute complex things in the view, store it in the rendering context and > simply display it in the template. > > The first idea was only slightly in the wrong direction, but could produce > some valuable work. Producing HTML using python is awkward. But producing > interface is another matter. If your library provide ban interface like "on > the left there is a listView widget, connected to this queryset. When an > item is selected, it will use that function to generate a rich widget for > editing the model and display the widget on the right". > > That kind of library would be a lot more like writing gtk or Qt > application. There are other webframework doing that, I'm thinking of > nitrogen, an Erlang framework. Maybe toga-django already try to produce > such library >
I simply intend to create an option for the developer to use python for templating rather than DTL or jinja. Is Python fast compared to any other templating language? Yes. Why do we need to process the data using any other language when we are building our app in python. Sure DTL or Jinja are python-like, but they are not python. I intend to develop every functionality offered by jinja or DTL in my python library and to make it more flexible to use. Plus the advantage over the current templating system would be speed. Returning an HTML page with large data is faster than rendering it using DTL. And templating in python would give an upper hand over templating in DTL. Yes, the Django templating language has been developed over years but making another option for the developer to choose from does not have any harm. On the Google Summer of Codes submit application page, Django is asking to choose from two option. 1. Optimization 2. Add new feature This is the new feature I wish to add. It has advantages over the previous one. For now, I'm not asking Django to replace DTL, I'm simply asking to consider my idea and provide me with an opportunity of developing it under the guidance and experience of a mentor. There will be three evaluations of the project, reject the idea in any of the evaluation if doesn't seem to be promising. But at least provide with an opportunity to prove it at least. Regards, Manasvi Saxena -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/d33cf67b-658e-4891-9da5-3e56cbcbc068%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
