Re: Dajax, what do you think about it?

2011-04-02 Thread Ronghui Yu
I like it very much, it helps me a lot. I believe it's worthy of using it
for every Django based project.

On Sat, Apr 2, 2011 at 9:54 PM, Eric Hutchinson <
eric.hutchin...@burgopakusa.com> wrote:

> I don't see the advantage of writing your own ajax views. the examples
> save maybe one, two lines over manually writing your own using plain
> jquery. you still need to write javascript to submit the forms and
> what not, so nothing is gained there. you still need to write a 'view'
> only it's not quite a view, so you can't use the new class based
> views, (check me on this i might be wrong) so that's a net loss.
>
> for myself at least, i'd rather have a good understanding of whats
> going on in my app than to trust it to magic ajax url generation.
>
> On Mar 31, 12:55 am, Sameer Rahmani  wrote:
> > What do you think about using Dajax and Dajaxice in Django? is it worth?
> or
> > you like to write your own ajax code?
>
> --
> 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.
>
>


-- 
===
Regards
Ronghui Yu

-- 
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.



Re: Dajax, what do you think about it?

2011-04-02 Thread Eric Hutchinson
I don't see the advantage of writing your own ajax views. the examples
save maybe one, two lines over manually writing your own using plain
jquery. you still need to write javascript to submit the forms and
what not, so nothing is gained there. you still need to write a 'view'
only it's not quite a view, so you can't use the new class based
views, (check me on this i might be wrong) so that's a net loss.

for myself at least, i'd rather have a good understanding of whats
going on in my app than to trust it to magic ajax url generation.

On Mar 31, 12:55 am, Sameer Rahmani  wrote:
> What do you think about using Dajax and Dajaxice in Django? is it worth? or
> you like to write your own ajax code?

-- 
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.



Re: Dajax, what do you think about it?

2011-04-02 Thread Jorge Bastida
Hi Sameer,


> What do you think about using Dajax and Dajaxice in Django? is it worth? or
> you like to write your own ajax code?


Probably the answer is... "It depends".

If you have 2 o 3 ajax functions and you doesn't want to add another
dependency, probably you should create your own views and call them from
your favorite JS framework (jQuery, Prototype... ).

Instead if you have tons of ajax functionality in your project probably
dajaxice could help you saving time creating tons of urls and provides you
an uniform way of doing that stuff, handling erros, debugging...

Hope this  helps you,

Jorge Bastida.

-- 
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.



Re: Dajax, what do you think about it?

2011-03-31 Thread LJ
My opinion would be to add it in.  But, I am not as experienced with
Dajaxice as others may be.  I just know it took me a long time to
figure out how to manually add it and get it working.
It wasn't until I learned how to use virtualenv that I was able to get
Dajaxice installed and working correctly.

On Mar 30, 10:55 pm, Sameer Rahmani  wrote:
> What do you think about using Dajax and Dajaxice in Django? is it worth? or
> you like to write your own ajax code?

-- 
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.



Dajax, what do you think about it?

2011-03-30 Thread Sameer Rahmani
What do you think about using Dajax and Dajaxice in Django? is it worth? or
you like to write your own ajax code?

-- 
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.