This site is in pre-alpha, please bear with us. Thank you.
technews.am is a new community for breaking news across the technology sector. We are still in Alpha, so please bear with us.

JsContract: Design by Contract library

Ajaxian  Feb 04 10

Fan of Eiffel or the design by contract pattern that it espouses? Øyvind Kinsey is, and he just created jsContract an alpha library to give you some pre and post condition abilities. Here is an example: PLAIN TEXT JAVASCRIPT:   function _internalMethod(a, b){     Contract.expectNumber(a);     Contract.expectNumber(b);     Contract.expectWhen(config.mode === "divide", b> 0, "Divisor cannot be 0");     Contract.expectWhen(config.mode === "multiply", [...] Full story...

More stories from ajaxian »

Mozilla Labs releases alpha version of contacts in the browser

Ajaxian  6 hours ago

Michael Hanson and a team at Mozilla Labs have been doing some really interesting work with Identity in the browser (and taking ownership back from services).

Jetpack SDK: The reboot of the extensions

Ajaxian  8 hours ago

The Jetpack project over at Mozilla Labs has been rethinking what it is to extend the browser (as has Chrome Extensions).

Talking about Douglas Crockford’s good parts

Ajaxian  less than a day ago

It was St. Patricks Day last night, and I have a funny feeling that some green beer and Guiness lead to Brian LeRoux and Rob Ellis creating Crockford Facts.

RequireJS: Asynchronous JavaScript loading

Ajaxian  less than a day ago

A certain someone was talking to me about how they find it interesting that node.js, the JavaScript server framework du jour which loves all things async, starts life with a bunch of synchronous require() calls.

A typeface created in CSS

Ajaxian  2 days ago

David Desandro has developed a newtypeface family named Curtis and done so in an interesting way....

Hot Apps: Using $1M to reward 440 mobile Web developers

Ajaxian  2 days ago

Disclaimer: Ben and I work for Palm and created this program. I wanted to make sure that you were aware of it over here, since Web developers have a great chance of getting some $ :) At Palm we wanted to reward the mobile Web developers who build great applications that our users can enjoy.

Microsoft

Ajaxian  3 days ago

Rey Bango (Ajaxian and now Microsoft employee) will do a post that rounds up the news from MIX today where the IE9 team shared a first preview release of IE9 that comes with new features from HTML5+ (video, SVG, CSS3, addEventListener, JavaScript compilation spread across multicore, and more).

Sputnik gets more tests; How compliant are the browsers?

Ajaxian  3 days ago

The Chromium folk have posted about JavaScript conformance as they release a test runner for Sputnik, that allows you to easily run the complete test suite from within your browser: Sputnik touches all aspects of the JavaScript language defined in the 3rd edition of the ECMA-262 spec.

A Better Mobile Web; What else?

Ajaxian  4 days ago

Cedric Dugas feels so passionate about fixed positioning in WebKit that he created A Better Mobile Web to talk about it: The Problem It is impossible to have an element fixed in CSS on the page in the mobile Webkit browser.

A deep dive and analysis of the JavaScript Module pattern

Ajaxian  4 days ago

Ben Cherry has a really nice detailed analysis of the module pattern. He starts with the simple pattern that Crock-y documented back in the day.



Most read today »

Most read this week »

What's New on TechNews.AM