Just a simple thought, if you'd prefer to avoid JavaScript/client-side scripting entirely, and only code using Python. It might be an idea to look at Pyjamas to generate your page. It technically uses Ajax, but from the programmers point of view, it feels more like coding a desktop application. The exposed functions on the django server are mapped as Python functions in pyjamas, so coding Ajax in this method seems very natural for a python programmer. Depending on what type of web application you are attempting to build, this might be a good solution for you. The tools you use all come down to what the end result should be. Is it a website or a web application? Should the look and feel be more like a desktop app, or a newspaper? Pyjamas also strives for cross-platform/browser compatibility for a true code once, run anywhere feeling without the Java. Pyjamas also supports some HTML5 features such as the canvas to further a desktop app like feeling for the end user. One can also mix traditional HTML and a Pyjamas app onto a single page. If, for example, your project requires a small widget which updates from the server constantly(news feed/chatbox), you can make the entire site using standard HTML/CSS and embed a Pyjamas app into a DIV tag on the site.
Hopefully this gives you some ideas. On Oct 14, 7:41 am, Phang Mulianto <braveh...@gmail.com> wrote: > ajax use usualy load a div part of html with new content fetch from the > server when user do something,like click a submit button. and django process > the request as a simple usual request. > > i have using prototype+scriptocolous for the simple syntax to make an ajax > form. > i see the jquery version also but a bit trouble coz need to add the event > manually. > > and remember the crsf token when using ajax request..will need it generated > properly.. > > anyone using prototype to? > > or anyone have better way with ajax > On Oct 14, 2011 7:47 PM, "Babatunde Akinyanmi" <tundeba...@gmail.com> wrote: > > > > > > > > > From what Iankesh said initially, I think he is having problems using > > ajax to load part of a page not ajax as a whole. > > Iankesh, it is possible to load only a portion of a page with ajax. > > > On 10/13/11, Sells, Fred <fred.se...@adventistcare.org> wrote: > > >> On Wed, Oct 12, 2011 at 9:17 AM, lankesh87 <lankesh...@gmail.com> > > wrote: > > >> > I am developing a web application where i need ajax like features. > > >> > But I don't want to use ajax, so my question is- "is there any way to > > >> > perform ajax like functions in django?" > > > > Use Flex, it's easier. > > > > -- > > > 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 > > > django-users+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/django-users?hl=en. > > > -- > > Sent from my mobile device > > > -- > > 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 > > django-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.