Posted by david on 24. March 2009 22:48
“Once the program is on the client's computer, the client can do many nasty things to the code itself before sending it back to the server. As with any other Web programming, you should never trust any data coming back from the client. Even if you've used JavaScript functions to validate the contents of forms, you still must validate this input again when it gets to the server.” [1]
I was trying to use the asp.net ajax control toolkit accordion for my BuyThisMiata.com site. Man was it freakin slow. When an accordion panel was expanded, it would stutter open. Not good. So I then took a look at the Tab control. Might have been OK, but I was having to seriously dig for instructions on how to style it.
Jquery is in the air everywhere, lately … & my friend sez it’s super easy. So, I’ve taken a look at that. Looks good, the controls are all there & it forces me to go ahead and get on top of javascript. I’ve been avoiding it for months now – particularly with the mapsite, instead trying to use the ASP.NET C# control. I still think that’s a valid direction – for the mapsite … I’ll have better data control using the C# in back end code. But it seems that, for presentation, the ajax controls are just clunky & pure javascript, through JQuery, just does things a lot better and more efficiently. I currently understand it like this: javascript is for presentation – it lives in the page - it’s client side.
So picked up a new book [2] & am also reading Learning jQuery 1.3 [3] through Books24x7.
Picking my way through the jQuery site … i begin to understand that Jquery UI is a separate beast. Very cool – effects & widgets … and even better, choose a theme & download the css files … plug em into your page
The themeroller looked very cool – but it seems to be generating bad zip files. Turns out that it works fine in Firefox, not IE.
Smugmug Flash Slideshow help: Flash Slideshow - SmugMug Wiki
OK – I don’t have versions on this page like I had on the mapsite … but I took it from not working at all, fumbled around with the jQueryUI stuff for a while – and, after a few iterations, got it working with all the previous elements there too, like my slideshow and all the page layout divs. I was even able to easily go in & tweak the theme to customize it. Freakin cool.
asd
1. Suehring, Steve. "Chapter 1 - JavaScript Is More Than You Might Think". JavaScript Step by Step. Microsoft Press. © 2008. Books24x7.
2. McFarland, David Sawyer. JavaScript: The Missing Manual. O’reilly. 2008
3. Chaffer, Jonathan, and Karl Swedberg. Learning jQuery 1.3: Better Interaction Design and Web Development with Simple JavaScript Techniques. Packt Publishing. © 2009. Books24x7.
Comments: 34
Filed Under:
Tags: