ProtoChart: Using Canvas to give you good looking charts (14)
share
digg
by
Dion Almaer (687)
on
Ajaxian » Front Page (797)
1 month, 1 week
ago
permalink
ProtoChart is a new opensource library using Prototype and Canvas to create good looking charts. Features Line, bar, pie, curve, mix, and area charts available Multiple data series on same graph Legend support Customizable grid, grid border, background Customizable axis-tick values (both x and y) Check out a live demo of ProtoChart at work.
-
Pozsi said:
Hat de hol a kontent aminek a canvas a prezentacioja?
Performance Research, Part 6: Less is More — Serving Files Faster by Combining Them (14)
share
digg
by
Tenni Theurer (1)
on
Yahoo! User Interface Blog (63)
1 month, 2 weeks
ago
permalink
This article is the sixth in a series of YUIBlog articles describing experiments conducted to learn more about optimizing web page performance (Part 1, Part 2, Part 3, Part 4, Part 5). In Performance Research Part 1, we discussed how reducing the number of HTTP requests has the biggest impact on improving the response time and is often the easiest performance improvement to make. One technique without having to simplify the page design is to ...
John Resig - DOM DocumentFragments (43)
share
digg
by
John Resig (202)
on
John Resig (197)
1 month, 2 weeks
ago
permalink
I was playing around with DOM DocumentFragments recently, in JavaScript, seeing what I could make with them. Roughly speaking, a DocumentFragment is a lightweight container that can hold DOM nodes. It's part of the DOM 1 specification and is supported in all modern browsers (it was added to Internet Explorer in version 6). In reading up on them I came across an interesting point, from the specification: Furthermore, various operations -- such as inserting nodes ...
-
mca said:
DocumentFragments - sweet!
-
Puck said:
Koniecznie do przeczytania razem z komentarzami
-
Sheng said:
不过它无法用于XML
-
AlexCheng said:
使用DocumentFragment来提高DOM插入的性能,应该说早就为人所知了吧。cloneNode的使用以前不知道。
Lightweight Grid Control for jQuery (27)
share
digg
by
Rey Bango (86)
on
Ajaxian » Front Page (797)
1 month, 2 weeks
ago
permalink
Developers are always looking for a great grid control that is easy to use, customizable and, of course, feature-rich. Paulo Mariñas has created just that for jQuery developers. Flexigrid is an extremely flexible grid control with provides many of the features highly-desired by developers. These include: Resizable columns Resizable height and width Sortable column headers Cool theme Can convert an ordinary table Ability to connect to an ajax data source (XML and JSON[new]) Paging Show/hide ...
-
Niels said:
Looks really good
YUI’s Combo Handler CDN Service (2)
share
digg
by
Steve Souders (3)
on
High Performance Web Sites (2)
1 month, 3 weeks
ago
permalink
Eric Miraglia wrote a post yesterday called Combo Handler Service Available for Yahoo-hosted JS. One of the advantages of YUI over other JavaScript frameworks is its à la carte capabilities. Developers can choose just the parts they want, rather than being saddled with the whole kit and caboodle. It’s great to download fewer bytes, but choosing a subset of modules results in downloading multiple external scripts, something that’s bad for performance and costs YSlow points. ...
-
Niels said:
Yahoo is now doing the same thing as OpenX... Combining Javascript to prevent opening connections to the server.
JavaScript Micro-Templating (33)
share
digg
by
John Resig (202)
on
John Resig (197)
1 month, 3 weeks
ago
permalink
I've had a little utility that I've been kicking around for some time now that I've found to be quite useful in my JavaScript application-building endeavors. It's a super-simple templating function that is fast, caches quickly, and is easy to use. I have a couple tricks that I use to make it real fun to mess with. Here's the source code to the templating function (a more-refined version of this code will be in my ...
String Formatting in JavaScript (1)
share
digg
by
Benjamin Smedberg (0)
on
BSBlog (0)
1 month, 3 weeks
ago
permalink
I am a relative newcomer to python, and have been blown away by the flexibility of some operations in Python. The string-formatting operator, %, is really wonderful and flexible. This is my attempt at implementing something similar in JavaScript. Obviously, you can’t create a new operator in JavaScript, and in addition you can’t use % as a JavaScript identifier. So I went for the next-best thing: String.prototype.format = function string_format(d) { // there are two ...
Multilingual Websites with PHP - ThinkPHP /dev/blog (6)
share
digg
by
ThinkPHP /dev/blog - PHP (3)
on
Planet PHP (80)
1 month, 3 weeks
ago
permalink
A basic walkthrough to avoid having problems with "funny characters" on your website. Why think about multilingualism? Most developers bring up this question when asked about their websites. The common problem is that you do not matter about that stuff until someone fills in your comment form and his name suddenly displays funny characters (question marks, squares or other funny characters) in between. Now you have to think about it! The biggest problem is that ...
A safety fence for your property lookups (7)
share
digg
by
Dion Almaer (687)
on
Ajaxian » Front Page (797)
1 month, 3 weeks
ago
permalink
Michal Till posted a little JavaScript tip that he uses to create a safety fence for accessing properties: As we all know, null not only does not have any properties, but their existence also can not be tested. So null.property retuns error instead of undefined. You can end up with something like this: PLAIN TEXT JAVASCRIPT: if ( (node) && (node.nextSibling) && (node.nextSibling.className == ...) ... ) { ... There is a neat trick that ...
Making Firebug even better… (1)
share
digg
by
Stickman (0)
on
Stickblog (0)
1 month, 4 weeks
ago
permalink
…yes, I know, I go on about Firebug a bit. OK, a lot. But good as it is it can still be improved, as this list of Firebug extensions proves. There were several on the list that I hadn’t heard of before and have already installed.
Ajaxian: The Pencil Project (5)
share
digg
by
Dion Almaer (687)
on
Planet Ajaxian (37)
2 months
ago
permalink
José Jeria pointed us to a great looking XUL application that allows you to sketch GUI's and then export them to PNG: With the power of the underlying Mozilla Gecko engine, Pencil turns your excellent Firefox 3 browser into a sketching tool with just a 400-kilobyte installation package. Pencil will always be free and can run on virtually all platforms that Firefox 3 supports. Always good to see people using the power of XUL that ...
Why does the OK Button say OK? (1)
share
digg
by
info@usernomics.com (Usernomics) (18)
on
Usability In The News (16)
2 months
ago
permalink
Words are critical to task completion on websites and in applications. Yet they are still chosen carelessly. "Should the OK button come before or after the Cancel button?" Jakob Nielsen asked in his excellent Alertbox in May 2008. I have two questions here: Why do we need a Cancel button in most situations? Why is the OK button called OK?Some time ago, I was entering a number into a web form. Let's say I entered ...
Don't hide or disable menu items (10)
share
digg
by
Joel Spolsky (98)
on
Joel on Software (96)
2 months, 1 week
ago
permalink
A long time ago, it became fashionable, even recommended, to disable menu items when they could not be used. Don't do this. Users see the disabled menu item that they want to click on, and are left entirely without a clue of what they are supposed to do to get the menu item to work. Instead, leave the menu item enabled. If there's some reason you can't complete the action, the menu item can display ...
-
AlexCheng said:
hmmm...似乎有点道理,有似乎有悖惯例
-
Stanton said:
Outstanding usability idea.
-
Niels said:
That sounds like really bad advise to me... First let the user perform an action and then simply refuse to do it an show an error message... Yeah that's real user friendly :/
-
kirsty said:
grey them out *but* let them be clicked to explain why they're greyed out would be my preferred model here.
JSON Diff Released (3)
share
digg
by
Dion Almaer (687)
on
Ajaxian » Front Page (797)
2 months, 1 week
ago
permalink
Tom Robinson has built a useful utility, JSON Diff, which gives you a graphical look at the difference. Changed portions are displayed in yellow. Additions are displayed in green. Deletions are displayed in red. The visualization is live itself, so you can move around the nodes using the triangles.
JavaScript Protocol Fuzzer (1)
share
digg
by
Dion Almaer (687)
on
Ajaxian » Front Page (797)
2 months, 1 week
ago
permalink
Gareth Heyes has written a JavaScript protocol fuzzer which has the goal of "producing every variation of javascript execution from links." If you check out the demo you see all of the options available to fuzz: Number of characters - This inserts between 1 and 10 characters in the chosen position Character position - The string position of the characters chosen. E.g. if you choose “0″ then the “j” will be replaced or appended. Replace ...
WordPress 2.6 to Disable Remote Access by Default (1)
share
digg
by
John Gruber (1310)
on
Daring Fireball (975)
2 months, 2 weeks
ago
permalink
MarsEdit author Daniel Jalkut on the WordPress team’s decision to disable remote API access by default in the name of security: Also worth considering: if a service is disabled by default for security considerations, what message does that send to people who choose to, or who are encouraged to turn the service back on? It sets up a perception of insecurity which may not even be warranted. If the remote publishing interfaces are insecure, they ...
jsTree: jQuery-based JavaScript tree component (2)
share
digg
by
Ben Galbraith (42)
on
Ajaxian » Front Page (797)
2 months, 2 weeks
ago
permalink
Ivan Bozhanov walked us through his jQuery-based tree component recently. The state of trees out there is interesting. YUI! has a nice, stable tree control but Dojo's once feature-rich tree has been replaced with a fairly basic tree (i.e., doesn't appear to have in-line editing and drag-and-drop still seems flakey; Dojo guys, correct me if I'm wrong) at the moment and jQuery UI lacks an official tree component (though a few tree plug-ins are out ...