Posts

Showing posts from January, 2012

JavaScript UnitTesting with JSDev

JSDev is shiny new project from Douglas Crockford.
With JSDev it is easy to write UnitTest within file that will be tested.

JSDev uses comments and command line scripts to uncomment your test code and run tests.
This is in my opinion interesting and easy. Only disadvantage is coding within comments (or comment test code when it's ready). But if editors will understand this comment it would be really powerful.

With Node.js it will be easy to execute JS without browser.

Watch screencast at NetTuts+ to see it in action:
http://net.tutsplus.com/tutorials/javascript-ajax/meet-crockfords-jsdev/

Description: https://plus.google.com/118095276221607585885/posts/CTZ7BNx7a8z
Repository: https://github.com/douglascrockford/JSDev

Better Do Not Use MP3 in HTML5 Games

MP3 is a format with fee if game is above 5000 copies. So if game has 5000 views layers can interpret that as 5000 copies...

It can be tricky so better use MP4.

More at Scirca blog: http://www.scirra.com/blog/64/why-you-shouldnt-use-mp3-in-your-html5-games

HTML5 Game Devs Blog

There is new awesome blog about HTML5 Games Development: http://www.html5gamedevs.com/

I'm really impressed with amount of great posts that are published.

CSS After IE6 Era

Nice list of CSS selectors and properties that can be used after dropping IE6 support.

http://www.bennadel.com/blog/2306-What-CSS-Properties-Are-Supported-When-You-Drop-IE6-Support.htm

Can I Use

http://www.caniuse.com/

Nice compatibility tables with browsers that supports that feature.

Eg. http://www.caniuse.com/#feat=svg-html5 - SVG support.

What Should Every Programmer Know About Web Development