On Tue, May 13, 2008 at 6:07 PM, lasizoillo <[EMAIL PROTECTED]> wrote: > > Hi > > 2008/5/11 <[EMAIL PROTECTED]>: > > > > > i am new to pylons and found the webhelpers are quite handy. i need to > > program on other javascript lib(dhtml calendar) which is not include > > in webhelpers. if i want to make something reusable other than > > hardcode the js everytime, i can think of marco of the template > > system or extend the webhelpers myself. > > > > can anyone please show me some lights? any example or sample > > available? > > The problem is enterely in presentation layer. Why not resolve it in this > layer. > I believe this is true, although for this matter I'll prefer the webhelpers approach as it's template agnostic. That said the only advantage either of them is to centralize JS calls because as Christoph said you just can't make JQuery calls smaller.
> http://www.makotemplates.org/docs/defs.html#defs_remotedefs > > You can write your custom mako library for write your things (form > elements whith tooltips, microformats, ...). > > But maybe a better option make your own jquery plugin. It's a great > thing to reuse js code ;-) > agreed there too. > Excuse my poor english > > Reggards > > Javi > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
