Web Info & Tutorials

September 4th, 2007

JSONPATH: XPATH FOR JSON STRUCTURES

Stefan Gössner thought that there should be a benefit in having some kind of XPath4JSON. He ended up creating JSONPath, "a lightweight component that allows to find and extract relevant portions out of JSON structures on the client as well as on the server."

Given the JSON structure:

JSON:
    { "store": {
        "book": [
          { "category": "reference",
            "author": "Nigel Rees",
            "title": "Sayings of the Century",
            "price": 8.95
          },
          { "category": "fiction",
            "author": "Evelyn Waugh",
            "title": "Sword of Honour",
            "price": 12.99
          { "category": "fiction",
            "author": "J. R. R. Tolkien",
            "title": "The Lord of the Rings",
            "isbn": "0-395-19395-8",
            "price": 22.99
          }
        ],
        "bicycle": {
          "color": "red",
          "price": 19.95
        }
      }
    }

You could query data out such as:

JSONPath

September 4th, 2007

PRIMARY & SECONDARY ACTIONS IN WEB FORMS

Luke Wroblewski has been doing some research for his new book and took a look at some eye-tracking and usability studies to do with web form design.

He wrote up his findings in Primary & Secondary Actions in Web Forms, where he discusses alignment, differentiating paths, and placement of various pieces of the form layout:

While the primary goal of most Web form designs is to get people through a form as quickly and painlessly as possible, there are situations where slowing people down is advisable. When choosing between primary and secondary actions, visual distinctions are a useful method for helping people make good choices.

Should this distinction be more prominent like the button vs. link in Option A or a bit more subtle like the two different colored buttons in Option C? Option A fared a bit better in time to completion, average number of fixations, and average total length of fixations indicating people completed the form faster but not by much.

The need for these distinctions becomes moot, of course, when no secondary actions are present. Make sure you really need each secondary action on a form and don’t add them indiscriminately.

Conversely, the alignment of actions with a form’s input elements provides a clear path to completion that helps people complete forms faster. Be conscious of where you place form actions as primary actions directly aligned with input fields tend to increase completion rates and the less time people have to spend on your forms, the happier they will be.

September 4th, 2007

LET’S COMPILE A LIST OF AJAX, CSS, DOM AND JS-RELATED RESOURCES

I see new folks getting into JavaScript, CSS, DOM and Ajax development everyday and a lot of them have a real hard time finding good information to learn by. So I thought it would be a good idea to start building a list of resources that can help developers get up to speed with these great technologies. I'll start it off with sites that really helped me out but I would love to have the Ajaxian community join in by submitting links to sites that have dramatically helped you in becoming a better developer. These are some of the sites that have influenced me:

While I could list a lot more, I'll stop there so that the rest of the community can join in. I think this could be a REALLY good thing for those new to these technologies and even beneficial to developers who have been doing it for awhile.

September 4th, 2007

OPERA 9.5 ALPHA RELEASE REVIEWED. GETS SOME NICE GOODIES.

CyberNet News has got a review of the alpha promulgation of Opera 9.5, which is cod discover Tuesday, Sept. 4th:

It looks same the Opera aggroup rattling convergent on the performance engine, with whatever alacritous results displayed during CyberNet’s review. Ryan, CyberNet’s reviewier:

…decided to do a kinda summary pace effort to wager how alacritous the assorted browsers surpass in cost of weight our place (with an blank cache). I did threesome tests for apiece application and averaged discover the instance it took for apiece to completely alluviation our site. Here are the results with the slowest browsers first:

  • Internet Explorer 7: 18 seconds
  • Firefox 2: 15 seconds
  • Opera 9.23: 12 seconds
  • Firefox 3 Nightly: 11 seconds
  • Opera 9.5 Alpha: 8 seconds

In addition, it looks same availableness is bounteous on the itemize of enhancements with enhanced hold for Window-Eyes, Jaws, and VoiceOver on OS X as substantially as updated keyboard shortcuts to attain guidance easier. You crapper intend more content at the Opera Desktop Team’s recent journal entry most the release.