Re: Ajax replacement in django

2011-10-17 Thread Kevin
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.

Re: Ajax replacement in django

2011-10-14 Thread Phang Mulianto
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

Re: Ajax replacement in django

2011-10-14 Thread Babatunde Akinyanmi
>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 wrote: >> On Wed, Oct 12, 2011 at 9:17 AM, lankesh87 wrote: >> >  I am developing a

RE: Ajax replacement in django

2011-10-13 Thread Sells, Fred
> On Wed, Oct 12, 2011 at 9:17 AM, lankesh87 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

Re: Ajax replacement in django

2011-10-12 Thread Russell Keith-Magee
A good thing you did. For everyone's benefit -- this kind of language and sentiment *will not* be tolerated on django-users. If you can't keep a civil tongue, you will be asked to leave. Yours, Russ Magee %-) On Wed, Oct 12, 2011 at 11:32 PM, Chandrakant Kumar wrote: > > I am sorry everybody and

Re: Ajax replacement in django

2011-10-12 Thread Micky Hulse
On Wed, Oct 12, 2011 at 9:54 AM, Chandrakant Kumar wrote: > But, isn't HTML5 is still work in progress? I mean, how will it behave on > older browsers? Good point. I guess it depends on the requirements of the project. >From what I read, this sounds like a school project, so why not take the tim

Re: Ajax replacement in django

2011-10-12 Thread Sultan Imanhodjaev
Hello, Did you look at dajax and dajaxice extensions for django so far? It might help. On Oct 12, 2011 10:40 PM, "lankesh87" wrote: > thank you all for your support. > I learnt my lessons. > I have to go back to AJAX. > > Thank you again I really needed your help. > > I guess I'll be hanging aro

Re: Ajax replacement in django

2011-10-12 Thread Chandrakant Kumar
But, isn't HTML5 is still work in progress? I mean, how will it behave on older browsers? On 10/12/2011 10:10 PM, Micky Hulse wrote: On Wed, Oct 12, 2011 at 7:39 AM, lankesh87 wrote: Actually my project guide is asking me to search for ajax replacement in django. So that way we dont have to

Re: Ajax replacement in django

2011-10-12 Thread lankesh87
thank you to all for your support. I learnt my lessons. I have to go back to AJAX. Thanks again for your help. It was much needed. On Oct 12, 8:42 pm, william ratcliff wrote: > I think the OP should ask his manager why they wish to avoid using ajax. > For example, is it sufficient if the page de

Re: Ajax replacement in django

2011-10-12 Thread Micky Hulse
On Wed, Oct 12, 2011 at 7:39 AM, lankesh87 wrote: > Actually my project guide is asking me to search for ajax replacement > in django. So that way we dont have to use ajax. Perhaps it's a trick question? Maybe you project guide does not like the "Ajax" buzzword? :) Just call it XHR:

Re: Ajax replacement in django

2011-10-12 Thread lankesh87
thank you all for your support. I learnt my lessons. I have to go back to AJAX. Thank you again I really needed your help. I guess I'll be hanging around as I am starting to like python and django. On Oct 12, 8:42 pm, william ratcliff wrote: > I think the OP should ask his manager why they wish

Re: Ajax replacement in django

2011-10-12 Thread william ratcliff
I think the OP should ask his manager why they wish to avoid using ajax. For example, is it sufficient if the page degrades gracefully for those not running javascript? On Wed, Oct 12, 2011 at 11:40 AM, Tom Evans wrote: > On Wed, Oct 12, 2011 at 3:24 PM, Javier Guerra Giraldez > wrote: > > On We

Re: Ajax replacement in django

2011-10-12 Thread Kurtis Mullins
You could also use Javascript to just hide and display information as you need it. No Ajax involved -- just need to give all of the data to the browser up front. On Wed, Oct 12, 2011 at 11:38 AM, Javier Guerra Giraldez wrote: > On Wed, Oct 12, 2011 at 9:39 AM, lankesh87 wrote: > > I mean if we

Re: Ajax replacement in django

2011-10-12 Thread Tom Evans
On Wed, Oct 12, 2011 at 3:24 PM, Javier Guerra Giraldez wrote: > On Wed, Oct 12, 2011 at 9:17 AM, lankesh87 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 djan

Re: Ajax replacement in django

2011-10-12 Thread Javier Guerra Giraldez
On Wed, Oct 12, 2011 at 9:39 AM, lankesh87 wrote: > I mean if we could only refrsh particular part in our web page without > refreshing the whole page "using django". i think you really need to check how HTTP works. in HTTP, the server can't "push" anything to the browser. the browser has to as

Re: Ajax replacement in django

2011-10-12 Thread Brian Schott
This is a bit old-school, but you could do this by using meta-refresh on a frame. I think that should still work in most browsers. http://en.wikipedia.org/wiki/Meta_refresh Basically, you can place an iframe inside your base.html template that includes an link to your dynamic content. htt

Re: Ajax replacement in django

2011-10-12 Thread Chandrakant Kumar
I am sorry everybody and especially lankesh87, I should not have used those words. I had just got into an argument with my dean. Sorry again. On 10/12/2011 08:25 PM, Donald Stufft wrote: I don't think there's any reason to insult anyone, let's be civil. On Wednesday, October 12, 2011 at 10:5

Re: Ajax replacement in django

2011-10-12 Thread lankesh87
As far I can understand from ur opinions is that to load contents without refreshing the web page we will have to use ajax and as python being server side scripting language will not be helpful in this case. So anyhow I will have to use ajax.. do correct me if i'm wrong.. once again thank u all f

Re: Ajax replacement in django

2011-10-12 Thread Phang Mulianto
but for the web html standart you need ajax. maybe you can use some javascript framework like prototype+scripatoulus or jquery to simply work with ajax and browser compatibility issue. On Oct 12, 2011 10:55 PM, "Donald Stufft" wrote: > I don't think there's any reason to insult anyone, let's be

Re: Ajax replacement in django

2011-10-12 Thread Donald Stufft
I don't think there's any reason to insult anyone, let's be civil. On Wednesday, October 12, 2011 at 10:50 AM, Chandrakant Kumar wrote: > > You are another 'garbage' product of our country's shitty education system. > > On 10/12/2011 08:09 PM, lankesh87 wrote: > > Actually my project guide i

Re: Ajax replacement in django

2011-10-12 Thread Markus Gattol
If you don't want to do AJAX but still need to have a bidirectional link between client and server then websockets is probably what you want. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://grou

Re: Ajax replacement in django

2011-10-12 Thread Chandrakant Kumar
You are another 'garbage' product of our country's shitty education system. On 10/12/2011 08:09 PM, lankesh87 wrote: Actually my project guide is asking me to search for ajax replacement in django. So that way we dont have to use ajax. I mean if we could only refrsh particular part in our web

Re: Ajax replacement in django

2011-10-12 Thread lankesh87
Actually my project guide is asking me to search for ajax replacement in django. So that way we dont have to use ajax. I mean if we could only refrsh particular part in our web page without refreshing the whole page "using django". Thanx in advance and pardone me for my foolish questions as i am

Re: Ajax replacement in django

2011-10-12 Thread Javier Guerra Giraldez
On Wed, Oct 12, 2011 at 9:17 AM, lankesh87 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?" that kind of specifications (ajax-like but no ajax) sound very