Skip to main content

Posts

Showing posts from December, 2011

PHPUnit from sources in WAMPServer and NetBeans

Tutorial how to install PHPUnit in WAMPServer on Windows and how to make it working in NetBeans 7.1


Disclaimer: If You can use PEAR it would be much easier! :)


1: Install WAMPServer: http://www.wampserver.com/

2: Checkout repositories mentioned at the bottom of page: https://github.com/sebastianbergmann/phpunit

I created folder "includes" in PHP directory.

mkdir phpunit && cd phpunit git clone git://github.com/sebastianbergmann/phpunit.git git clone git://github.com/sebastianbergmann/dbunit.git git clone git://github.com/sebastianbergmann/php-file-iterator.git git clone git://github.com/sebastianbergmann/php-text-template.git git clone git://github.com/sebastianbergmann/php-code-coverage.git git clone git://github.com/sebastianbergmann/php-token-stream.git git clone git://github.com/sebastianbergmann/php-timer.git git clone git://github.com/sebastianbergmann/phpunit-mock-objects.git git clone git://github.com/sebastianbergmann/phpunit-selenium.git git clone git://gith…

JavaScript - Performance and Style.

MDN Holiday Calendar: http://thewebrocks.com/calendar/
Read every of 24 articles before Holidays! Very nice idea to get used to read something new every day!

Edit: I realized that last post was from another calendar!
Performance Calendar: http://calendar.perfplanet.com/2011/

Efficient JavaScript: http://dev.opera.com/articles/view/efficient-javascript/
Just like in title, big bunch of good practices and advises how to make JavaScript fast.

Idiomatic JavaScript: https://github.com/rwldrn/idiomatic.js
How to write beautiful JavaScript with suggestion about writing with others. Really recommended reading.

Annotated ECMAScript 5.1: http://es5.github.com/
Based on ECMAScript Language specification but with hyperlinks and annotations. This should be more friendly than original PDF.

Local Storage read performance: http://calendar.perfplanet.com/2011/localstorage-read-performance/
Local storage is much slower than what I would expect.

innerWidth, InstaCSS, zepto.js, Binary Data

To post less I include more links, but still has problem with title :)

innerWidth of mobile devices: https://gist.github.com/1410787

Typed Arrays in JavaScript: http://blogs.msdn.com/b/ie/archive/2011/12/01/working-with-binary-data-using-typed-arrays.aspx
This is longest post about binary data that I've seen.

Awesome HTML, JavaScript and CSS documentation: http://instacss.com/
This site is really impressive! I've just added it to bookmarks.

Zepto.js is a small library mostly for mobile devices with jQuery compatible syntax. New version came with Opera and Firefox support.  http://zeptojs.com/