A useful interactive UX for searching the jQuery API: http://oscarotero.com/jquery/ Nic
Date: Fri, 20 Jul 2012 09:57:43 +0800 Subject: Re: ASP.NET modal dialog effect From: michael.minuti...@gmail.com To: ozdotnet@ozdotnet.com jQuery is Javascript in the same way that Rails is Ruby. jQuery provides you with a higher level of abstraction to work with. I know lots of people who wouldn't know how to begin writing JavaScript but a 30 minute primer on jQuery and they can write powerful and flexible client-side code. I think it is well worth spending a few hours looking into it. You can probably get 200 free minutes of PluralSight and watch the start of http://www.pluralsight-training.net/microsoft/Courses/TableOfContents/jquery-fundamentals I think the issues between integrating javascript and webforms lie squarely in webforms court. WebForms was designed explicitly to hide the details of the web from the developer. Once you move away from WebForms you start to be able to have multiple forms, you don't have to round-trip your controls (which are an abstraction over html anyway) and client-side integration becomes way easier. It starts to boil down to "Request a page from a server which contains all of the interaction logic required for a single use case. Submit results of user interaction back to the server." The server only gets involved at the beginning and at the end. Michael M. Minutillo Indiscriminate Information Sponge http://codermike.com On Thu, Jul 19, 2012 at 8:35 AM, Heinrich Breedt <heinrichbre...@gmail.com> wrote: I think it is important to understand that JQuery *IS* javascript. You write javascript when you use JQuery. Jquery is a library that helps with cross browser issues in manipulating the DOM. I think that is what you meant. I just wanted to emphasize the point. On Thu, Jul 19, 2012 at 10:24 AM, Greg Low (GregLow.com) <g...@greglow.com> wrote: I think that was my point. From my (limited) experience with this, I found that jquery fixed most of my cross-browser issues on these sorts of things, much better than I could have. I can’t imagine having to write the javascript all by hand nowadays, and having any chance of cross-browser success. Regards, Greg Dr Greg Low 1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax SQL Down Under | Web: www.sqldownunder.com From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Heinrich Breedt Sent: Thursday, 19 July 2012 9:33 AM To: ozDotNet Subject: Re: ASP.NET modal dialog effect really curious to hear what browser compatibilty issues you are referring to with regards to javascript and/or jquery. I write js and jquery a lot. The server is exclusively to get/save/update data. webpage handles all html layout interactions etc with js, jquery. Even back in the day when I wrote webforms I used jquery a lot. Intelisense these days is really great. I honestly find it hard to even think of producing websites without client side scripting. The maintenance issues of doing everything serverside must be a nightmare. Case in point: producing a modal dialog effect - trivial with jquery ui , seems like a nightmare with the all server side approach On Thu, Jul 19, 2012 at 9:12 AM, Greg Keogh <g...@mira.net> wrote:>Are you writing the javascript directly or using jquery? Sorry for the late reply, yes I occasionally code JavaScript by hand when I need it. I have never found a suitable tool that helps me write reliable cross-browser friendly JavaScript. Although I haven’t looked very hard due to my natural aversion to the horrors of client scripting. If there are people in here who actually like writing JavaScript by one means or another, then I’m curious to hear what tools or techniques they use. Are there people who can knock-up or generate reliable JavaScript with the ease that I write C# code in the IDE? I get depressed because I actually admire the JavaScript language a lot, but I can never get to use it in anger because of frustrating issues about how it’s hosted, browser compatibility issues, tool support, intellisense, etc. I’m happy to study something like jQuery if people think it’s a valuable investment of my time. Greg -- Heinrich Breedt “Do not wait to strike till the iron is hot; but make it hot by striking.” - William B. Sprague -- Heinrich Breedt “Do not wait to strike till the iron is hot; but make it hot by striking.” - William B. Sprague