Category: Senza categoria

  • Why not to use remove link

    This is my experience: I have to rewrite administration page where there is remove button (in a form) with only javascript confirm. I thought: “no one had problem with no limitation in the past, why they should now? I’ll use a link with javascript confirm. It happened I have a dashboard page where is listed…

  • Google Chrome no-cache and Login throw oauth services

    I found this very annoying, it seem chrome optimization make it not works things like “login via facebook” or “login via twitter” button with this browser and make it wait forever. I implemented oauth support for http://www.cellularmagazine.it/recensioni/inserisci.php and had a similar problem: Expires setted to access plus 10 minute (via .htaccess , this happen to…

  • php goodies: filter

    Filter is in php by default from 5.2.0 and is a usefull library for web developer, so it is the time to make use of it. It was created for validation and sanitization of foreign input, that is GET, POST, COOKIE, or anything that you can’t trust on. With php filter one can tests if…

  • wwwsqldesigner short review

    Install Download from http://code.google.com/p/wwwsqldesigner/ Very easy installation: you need a webserver running, unpack wwwsqldesigner it in a folder, setup your virtual host (I use personal domain for my pc), all done! Use There is a small tool bar to the right, very simple and intuitive to use, it is grouped in 4 areas: Save/load Table…

  • WordPress Category external feed plugin

    This wordpress plugin is for show custom external rss feed in category page. For example if you want a category page list rss feed from another site category page, this is for you. It is my first wordpress plugin (ok, maybe not exactly the very first hello world like 😉 It use simplepie because I…

  • Defer javascript execution using data

    Due to page performance you should load javascript at the end of page (see http://developer.yahoo.com/performance/rules.html), at least all javascript you can defer to load. There are script that have to load at the very begin of page. But are you sure there is no option? Well, actually this is a critical consideration on my own…

  • Simplepie and CodeIgniter

    yes, found: http://www.haughin.com/code/simplepie/ and tried with php 5.3 installation … simply do not work I recalled there was a problem in simplepie for assign new by reference, just downloaded newer code from http://simplepie.org/ … still same problem. So {syntaxhighlighter brush:bash} sed ‘s/=&\ new/=\ new/’ simplepie.inc > Simplepie.php {/syntaxhighlighter} adding if ( ! defined(‘BASEPATH’)) exit(‘No direct…

  • Introduzione a JavaScript – Terza parte

    Una video introduzione al linguaggio javascript e le sue principali caratteristiche In questa terza parte: gli eventi. Nota: gli eventi si propagano dal document fino al target e dal target fino al document (non al body) La documentazione di call e apply da mozilla Oggetti e ereditarietà in javascript sono presentati in http://www.howtocreate.co.uk/tutorials/javascript/objects Un semplice…

  • Introduzione a JavaScript – Seconda parte

    Una video introduzione al linguaggio javascript e le sue principali caratteristiche In questa seconda parte: oggetti, il DOM, un esempio concreto, le closure La documentazione di call e apply da mozilla Oggetti e ereditarietà in javascript sono presentati in http://www.howtocreate.co.uk/tutorials/javascript/objects Un semplice esempio che usa prototype in http://snippets.dzone.com/posts/show/899 DOM Level 2 Event Model è documentato…

  • Introduzione a JavaScript – Prima parte

    Una breve introduzione al linguaggio e le principali caratteristiche dello scripting client side per il web Presentati sinteticamente: sintassi, JSON, Object, DOM, Eventi Oggetti e ereditarietà in javascript sono presentati in http://www.howtocreate.co.uk/tutorials/javascript/objects Un semplice esempio che usa prototype in http://snippets.dzone.com/posts/show/899 DOM Level 2 Event Model è documentato in http://www.w3.org/TR/DOM-Level-2-Events/events.html Un ottima e completa guida e…