Re: Ajax Helpers

2006-09-13 Thread [EMAIL PROTECTED]
There are python rails-like helpers: http://pylonshq.com/WebHelpers/module-index.html But they aren't used by django. (Pylons for example uses them) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Ajax Helpers

2006-09-13 Thread James Bennett
On 9/13/06, npverni <[EMAIL PROTECTED]> wrote: > Coming from Rails...haven't seen much about Ajax helpers built in to > Django, are there any? No, thankfully :) -- "May the forces of evil become confused on the way to your hous

Ajax Helpers

2006-09-13 Thread npverni
Coming from Rails...haven't seen much about Ajax helpers built in to Django, are there any? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: RoR Ajax helpers port to Django tags?

2006-01-26 Thread Eugene Lazutkin
Louis wrote: Ben, Eugene: I think one of the difference between "helper" approach and "widget" (especially dojo.widget) approach is whether you want to specify "parameters or behaviors" of elements in the page using (proprietary) DOM attributes or using parameters to helper tags. So Widgets

Re: RoR Ajax helpers port to Django tags?

2006-01-26 Thread Louis
Hi, I just noticed there's a lot of postings on this thread. Ian: I only spent half an hour or so to make a bridge between Django and Ben's RailHelpers. Thanks for the concern, but don't worry about it. My code is public domain and anybody can use and modify if they like. I did a bit more of Aj

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Max Battcher
Eugene Lazutkin wrote: Look at Dojo. I did a small how-to on creating widgets here: http://lazutkin.com/blog/2005/dec/24/live-filtering/. Some people, who read it, missed my point: it was not about Ajax functionality (you can do it with any library), it was about creation of self-contained gen

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Eugene Lazutkin
Ben Bangert wrote: Louis that made the Django adaptation stuff, I just ported it from Ruby. :) In this case I want to see the packaging. Thanks, Eugene

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
Louis that made the Django adaptation stuff, I just ported it from Ruby. :) The RJS style stuff is going to take some thinking about the best style of usage within Django, any volunteers? I'll be happy to go over the details. - Ben

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Eugene Lazutkin
Ben Bangert wrote: Eugene Lazutkin wrote: A lot of people who use list boxes, radio buttons, and other widgets don't know X11/Win32 graphics APIs and event systems. My point is there are many ways to minimize exposure to js. Agreed, I have yet to see anyone come up with clear cases for widget

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
Eugene Lazutkin wrote: > A lot of people who use list boxes, radio buttons, and other widgets > don't know X11/Win32 graphics APIs and event systems. My point is there > are many ways to minimize exposure to js. Agreed, I have yet to see anyone come up with clear cases for widgets within web prog

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Eugene Lazutkin
Ben Bangert wrote: I think its actually rather high level, in that you don't really need to know any Javascript what-so-ever. Obviously not knowing any Javascript will be a limitation to exactly what you can do, but the helpers and RJS meet a lot of people's needs with a very minimal amount of

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
Eugene Lazutkin wrote: > My only problem with RoR's approach in general regardless of underlying > library is it is very low level. Essentially it is a way to propagate > some events to the server. I am not sure I like the idea of callbacks > for every sneeze. David (of RoR) really dislikes progra

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Eugene Lazutkin
I wrote below is not directly related to what you guys were doing with RoR's Ajax helpers. Thank you for the job well done.) My only problem with RoR's approach in general regardless of underlying library is it is very low level. Essentially it is a way to propagate some events to the

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
I'd think the most reasonable approach would be to have the frameworks reference the module. Myghty doesn't require an API, as the names are just imported and attached to a template global helper object, ie, <% h.observe_field(.) %>. TurboGears may likely require a bunch of API's for the vari

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ian Holsman
That sounds like a great idea (working together), and personally I'm not too hung up about which AJAX library I use, as long as it can do the job (which most seem too for my simple things) I like the idea of having one way of doing this across frameworks, it makes them all simpler to learn and in

Re: RoR Ajax helpers port to Django tags?

2006-01-25 Thread Ben Bangert
For those concerned about the fact that these helpers use ProtoType and Scriptaculous, it should be noted that Mochikit 1.3 will include equivalent functionality. This should make it seamless to use Mochikit instead with no or minimal changes to the helper functions. There's several people now wo

Re: RoR Ajax helpers port to Django tags?

2006-01-22 Thread Louis
It's in http://code.djangoproject.com/ticket/1262 .

Re: RoR Ajax helpers port to Django tags?

2006-01-21 Thread [EMAIL PROTECTED]
can you share your code? i'd like to take a peek. :P

Re: RoR Ajax helpers port to Django tags?

2006-01-21 Thread Louis
Thanks! It helped a lot. I only had to write small bridging Django tag to use his Rails Helpers. It saved a lot of time. -Louis

Re: RoR Ajax helpers port to Django tags?

2006-01-20 Thread ToddG
For a head start take a look here: http://pylonshq.com/project/pylons/browser/RailsHelpers Pylons being an in-development python "mega" framework (not a fan of that term!). I don't know anything of licensing or credit issues, but they're ported from Rails, so... maybe ask Ben over there, he did

RoR Ajax helpers port to Django tags?

2006-01-20 Thread Louis
Hi, Has anybody ported RoR's JavascriptHelper functions to Django's tag library? Just want to make sure before I begin. Thanks.