60 Comments
- jggube, on 09/16/2008, -0/+22I LOL'ed... and then cried.
- Zacko, on 09/16/2008, -2/+18Some nice stuff. jQuery is a big win in my book, awesome JS Lib!
- TheWindBlows, on 09/16/2008, -0/+16Just as bad as building a site on flash if not worse do to accessability issue's.
- iericg, on 09/16/2008, -1/+13That was funny
- malechite, on 09/16/2008, -2/+14Autotab is kind of annoying when you are used to tabbing... So when you hit it is skips 2 fields and you end up typing in the wrong field.
- wlk125, on 09/16/2008, -0/+10I just cried
- sancho, on 09/16/2008, -1/+10What's worse--many forms won't let you shift-tab backwards. So if I mistype the last character in the field, I have to use the mouse to go backwards.
Don't change the operation of standard UI elements that aren't broken. - diggproof, on 09/16/2008, -1/+9I couldn't see your comment because I don't have the plugin installed
- HonoredMule, on 09/16/2008, -0/+6Or avoid programs/sites that break consistency or try to implement predictive automations that are neither help the uninitiated nor improve efficiency of interaction for the experienced.
- djcraze, on 09/16/2008, -2/+8Shouldnt of stopped at 10.. I was getting excited :(
- tony23, on 09/16/2008, -1/+6If you actually know javascript, you don't need one of those libraries to do these things.
And a well-known javascript expert once said "Prototype was written by people who don't know javascript for people who don't know javascript."
And speaking of javascript, what ***** up framework is Digg using that makes this stupid input form bounce around while I'm typing? Come on, Digg, fix it already! - Hobo97, on 09/16/2008, -1/+6This is not a list of 'JavaScript techniques'. This is a list of plugins in all practicality, some of which emphasize UI ideas.
- caltheos, on 09/16/2008, -0/+5Totally agree, auto-tabbing is a pain in the ass. Either you end up skipping a tab, not being able to go back a tab, or having to clear delete a tab in order to type over what you accidently entered. Also, it limits the internationalization of stuff like phone numbers which don't always fit a set format.
- rpong1981, on 09/16/2008, -0/+4I agree 100%.
- svivian, on 09/17/2008, -0/+4The sliding top panel is a cool idea, but the demo on that site is obscene with the panel bouncing up and down when it opens. What on earth does that achieve? It doesn't even replicate any kind of real-world behaviour (y'know like window blinds or something).
- lynx44, on 09/16/2008, -0/+4And they're completely useless for most fields. Phone numbers and zip codes are the exception, not the rule. They won't help on addresses, names, email addresses, etc. because there's no way to know when the user wants to move on, so it makes the form feel inconsistent.
- RickyTheRiot, on 09/17/2008, -0/+3zantos, man, I am talking about the article, not the .NET stuff you posted. Of course .NET can use xmlhttprequests because it's on the server. There are a lot of techniques in this dug link that are purely client side based, thus not ajax.
Personally I find the .NET ajax controls to be completely bloated as well. I use my own code, and while they might not integrate as neatly into the VS IDE, I know they are more efficient than MS's versions because I wrote them. - actionscripted, on 09/16/2008, -0/+3Ugh, trolling is lame in a community that doesn't even know what that means.
- theblt, on 09/17/2008, -1/+4We're not hating on Prototype. Prototype was great in it's time. Now that there are other more powerful and higher performance libraries like jQuery, Prototype is quickly losing its popularity. Prototype works in an odd way, inefficient if you ask me. It extends any DOM element passed into it (adding helper methods, etc.) which has inherent performance hits, whereas jQuery does not do this. And most benchmarks show this.
jQuery also has its own flaws and can be inefficient at times. In an application I was developing I found it making several hundred JavaScript calls when I wanted to use the relatively simple $.html() method. I ended up just using innerHTML which cut the execution time down a couple hundred milliseconds.
Side note:
I'm sort of confused as to when people decided to interchange the words framework and library. They're two very different things. Prototype calls itself a framework...which it is not. It's a library. Ruby on Rails is a Ruby framework. CakePHP is a PHP framework. Cappuccino is a JS framework. Prototype is not.
http://en.wikipedia.org/wiki/Software_framework
http://en.wikipedia.org/wiki/Software_library
I don't mean to be a word nazi, but as a developer it bugs me when things like this happen. - picpak, on 09/17/2008, -0/+3We're just 10 comments away from a front page screenshot.
- MrTea, on 09/17/2008, -0/+3judging from the generated page source, it seems to be jquery
- tikal2k, on 09/17/2008, -1/+4Digg for Dugg
- Ryosen, on 09/17/2008, -0/+3I fear for the children.
- AyaJulia, on 09/16/2008, -0/+2You beat me to this comment. :(
- jaygeeze, on 12/10/2008, -0/+2Magic zoom really looks awesome.
- gmhafiz, on 09/17/2008, -0/+2I instantly burst into laughter! Nice remedy after a horrible examination.
- Pyrrish, on 09/18/2008, -0/+2If we're being nitpicky, this could've been written a little better....
Nothing like stating the exact same thing 3 times in a row:
"Being able to crop photos after you upload them is a feature that more web applications could use. Cropping images is a much-needed function when it comes to uploading images, and many web applications could benefit from adding this useful feature. Honestly, I think that nearly all image uploads could use a basic crop function." - GSnake, on 09/16/2008, -3/+5jQuery is solid. I've been learning more and more JavaScript as the internet continues to become more dynamic. Something as relatively simple as a lightbox adds such a valuable element to a website that users tend to gravitate towards, and even the most novice of users can implement these JavaScript elements fairly easily.
I like the sliding top panel feature, I've integrated a built-in flash mp3 player (pulling from a playlist) on one of my sites that visitors can use and it's relatively simple and works great on all modern browsers. - batonrye, on 09/19/2008, -0/+1Sure, the AjaxToolKit controls are easy the implement and feature-rich. We have used them many times in the past to create rapid prototype front-ends for our web applications.
At final release however, almost every web application's front-end is redesigned and coded by hand to get the responsiveness and minimized load times our clients require. - RickyTheRiot, on 09/16/2008, -1/+2These aren't really AJAX though. The majority of them are simple UI tweaks, not xml requests. The uploader no doubt uses some element of that, and perhaps the login, but that's just a minority.
- RickyTheRiot, on 09/19/2008, -0/+1Zantos..
"both of you have no idea what you're talking about."
Sorry mate but you are way off there. With respect I know exactly what I am talking about. I have no problems with open source software (and let's face it without any sensible way of encrypting your client side JS, you are effectively giving away the source). What I don't like doing is taking a whole toolbox when all I need is a screwdriver. - smylie, on 09/17/2008, -0/+1Yeah, noticed this the other day - makes it virtually impossible to type anything with out having the urge to throw things at the monitor.
Seems to be pretty sporadic though - this input field is working just fine =) - while1dan, on 04/20/2009, -0/+1Autotab is rarely used for anything besides phone numbers and that's only because of some weird convention. There's no reason to separate the parts of a phone number. This just distracts users who are very new to the Internet. Better to allow the user to input the number into one field and then format it using onblur or server-side code. This is user friendly and it improves internationalization.
- rpong1981, on 09/17/2008, -0/+1I fixed the HTML but you need to nuke the icky vile ugly invasive inline event handler onClick
Event.observe('status1', 'click', function(event) { changeOpacity(1); });
Event.observe('status2', 'click', function(event) { changeOpacity(2); });
Event.observe('status3', 'click', function(event) { changeOpacity(3); }); - rpong1981, on 09/17/2008, -1/+2I'm a Computer Science major with a background in Java. I'm just starting to use prototype to separate my structure (HTML) from Behavior(JavaScript). I really like Prototype.
- tikal2k, on 09/18/2008, -0/+1hot diggity
- findhostcoupons, on 03/22/2009, -0/+1Thanks for sharing the smartest Java technologies!
- Endpoint, on 09/17/2008, -0/+1The method for detecting which sites you've visited was an eye-opener for me . Okay it's not fool-proof, but it's an interesting technique.
- zantos420, on 09/17/2008, -0/+1batonrye do you even know what you're talking about? obviously not. The controls themselves are there to make it easier for you, upon compile time they are converted to their natural state, which happens to be pure javascript.
@rickytheriot: the ajax library is an open source project that i'm sure uses anything but 'bloated' methods for implementing their javascript. that is why open source is so great, because it allows for the constant optimization of code.
both of you have no idea what you're talking about. - TheWindBlows, on 09/17/2008, -0/+1you can do all that in HTML/Javascript with better performance and video with the explosion of HTML 5, soon to come. ( Which will through IE off its rocker until they have to give in and release IE 9 with video tag support. )
- Vich, on 09/17/2008, -0/+1I'll digg to that!
- zantos420, on 09/17/2008, -0/+1simple ui tweaks? they are controls which are comprised of sets of prebuilt javascript for you to use so that you don't have to reinvent the wheel. not ajax? correct me if i'm wrong but ajax stands for asynchronous javascript and xml. the ajax controls use partial page postbacks, which is, in fact, ajax requests. driven by javascript. maybe you should read about it before making an uninformed comment.
- ftyuv, on 09/17/2008, -0/+1It's even worse if those tabs are for some reason autofilled. For instance, I have the PasswordMaker extension for FF, which automatically generates a password per site and fills it in when it sees a password field. That means that if a site asks for my SSN using three password fields, they get autocompleted... okay no big whoop, but with autotab, as soon as I delete one char it clips the field down to 3, 2 or 4 chars (as appropriate) and autotabs. This means I have to use the mouse (to select the whole field) for each field, rather than filling the first, tabbing to the second, deleting the chars, then tabbing to the third.
- jono10, on 09/17/2008, -0/+1Dig Dug
- rpong1981, on 09/17/2008, -1/+1the prototype nazis are burying our praise for prototype. they must not use javascript or are still doing the old fashion way of creating ugly invasive inline event handlers
- pyronik, on 09/17/2008, -2/+2I used prototype in a intranet site I built. It's very nice and it made the ajax much less of a pain to deal with.
- padiq, on 09/19/2008, -1/+1I think he just really wanted to put the point across ...
- batonrye, on 09/17/2008, -1/+1The .NET ASP controls are slow and clunky - kind of a dissapointment really.
We have had MUCH better results using raw JavaScript and frameworks... -
Show 51 - 62 of 62 discussions



What is Digg?
Browsing Digg on your phone just got easier with our enhancements to the