21 de septiembre de 2013

PHP: Implementing timed-out remote calls

 In the PHP programming languages there are a set of method calls that might make you web application unresponsive. For example, in the case of requesting a file from a remote site, the resource might not exist, be broken or be just too large.

In order to avoid the unresponsive, halt or idle scenarios, all web applications must be designed to respond in the time interval it takes for a user to decide whether to give up or try again. Here's one work around that maybe helpful for PHP users.

   $get_resource= function( $uri, $timeout=2 ){
     set_time_limit( $timeout );
     return get_file_contents( $uri );
   };
   $image= $get_resource( 'http://tinyurl.com/nkkgk8d' );

16 de julio de 2013

the MVC right from scratch !

After a long time without (hardcore) web development, I find myself in the seat of an intern trying to give some live to a static web application intended to handle thousands of data records stored somewhere in the cloud.

 The final work is hard to predict at the moment, and the reason for that is the challenge of having to take every decision concerning the architecture of the website. Let's go back to the beginning.

Scenario:
- intranet application / front-end layout provided
- data services via a public API
- stateless user session control
- back-end routing management

21 de diciembre de 2012

The Epic Software Testing Experience

So, I've been working as a test engineer for almost a year now and I had never found a way to explain how does it feel to do this job. It's been an amazing experience that I want to sum up like this:


27 de mayo de 2012

then again << Hello World !

Después de muchisimos meses fuera del blog, regreso con un nuevo diseño, más integración con las redes sociales y con mucho más experiencia !