Javascript come fare a meno di with

Esce fuori che non posso fare a meno di with usando strict mode, mi sono chiesto come faccio a non avere effetti collatorali per via della closure, la soluzione che ho trovato รจ stata:   for(esaid in myarr) { var getter = function () { console.log(‘this is THIIIS’,this); return function(success) { if(success.error) { $scope.errorMessage = […]

php composer: npm like tool

A good introduction to the php composer: http://www.phpclasses.org/blog/post/221-Speedup-Your-Web-Deployments-Using-Composer-to-Install-PHP-Classes-Packages.html The site https://packagist.org is where to post package. It is almost a clone of npm and I like it. Image: it came from getcomposer site, from http://wizardcat.com/