-
Using Mocha with ES6 spec files
posted in JavaScript on 2015-12-23 mocha babel es6 package json file es5 babel preset es2015 tests test results javascript mocha reading spec files written -
The new ES6 specification of JavaScript simply works better for me. It helps expressing my ideas in a shorter and cleaner way. So, I want to write ES6 everywhere. Even while I’m testing my applications.
read more
-
Fun playing with npm, dependencies and postinstall script
posted in Nodejs on 2015-01-07 c module package json npm runme js node_modules b installed index dependencies -
I like npm and the fact that I can install tons of stuff. It’s great piece of software and helps me solve problems everyday. Yesterday I had to use a
read morepostinstall
script and hit a problem.
-
Usersnap - the holy grail of bug reporting
posted in Must-see on 2014-07-15 usersnap data xmlhttp json function script project client s page -
The bug reporting is something very important for us. As developers, we produce code that should work everywhere. Not only on our machines. No matter how many times we test our application it often happens that it does not work properly for the client. We all know how helpful is an email with text “It does not work. Fix it ASAP!”. Usersnap is amazing tool that removes the gap between you (the developer) and the non-techy guy from the other side.
read more
-
AJAX request doesn't work in IE (url encoding problem)
posted in JavaScript on 2013-08-08 url api works json stringify parameter fixed -
The good old Internet Explorer. It's full with surprises. I just fixed a bug happening only in IE. Everything works just great in every other browser.
read more
-
A strange IOErrorEvent.IO_ERROR event dispatched
posted in ActionScript on 2013-06-11 urlrequest var urlloader addeventlistener json encode obj string http site urlstring string http var urlstring string problem -
Really simple GET request from a flex based application. However it fails if GET parameters are passed.
read more
-
MySQL vs JSON file data storing
posted in PHP on 2012-02-12 records requests data json ms time request mysql res count array function -
I'm not exactly a performance perfectionist, but currently I'm working on a tool which will be used in a large system. It will deliver texts to a multi-language environment and there will be several sites/apps which will performe big amount of request to it. It is the right moment for me to choose how to speed up my code and the work of the tool overall.
read more
-
AS3: converting XML to JSON object
posted in ActionScript on 2011-04-02 label url image xml id img cdata node var version xml2json class http site int childnode object -
I'm absolutely sure that you are using external data in your flash/flex applications. It is a good practice to transfer information in XML format. Most of the projects that I'm working on also use XML and in most of them I have a class that converts the data to JSON object. The problem with this workflow is that the parser's logic is always different because the XML is different. These days I wrote a class that solved this problem and directly converted every given XML file to a JSON object.
read more