12 March, 2010 (02:09) | PHP | By: Pablo Viquez
I’ve been wanting to do this for quite some time now, so here it’s. Go to the downloads As you might now, you can view and download the Zend Framework reference manual from the Zend Framework site and download it from the download section, however what I wanted was the Windows compiled version of it [...]
Tags: chm, documentation, PHP, Zend Framework
Comments: 10
25 November, 2009 (16:23) | PHP, debug, tech | By: Pablo Viquez
I wanted to enable logging of exceptions to my PHP log file and also display them using FireBug. On a standard setup of Zend Framework, the Zend error handler plugin (Zend_Controller_Plugin_ErrorHandler) enable by default and it was designed for: Errors due to missing controllers or actions Errors occurring within action controllers I wanted to keep [...]
Tags: debug, firebug, firephp, PHP, Zend Framework
Comments: 7
24 August, 2009 (14:04) | PHP, Web Development, tech | By: Pablo Viquez
Last week, I had to allow the user to export a given report into an MS Excel file format. The application uses Zend Framework 1.9.1 and so far ZF does not support for “Office” formats, so after searching for a nice implementation, I found a PEAR module called Spreadsheet Excel Writter, which looked pretty good, [...]
Tags: Excel Spreadsheets, pear, PHP, Zend Framework
Comments: 11
5 August, 2009 (16:54) | General, PHP, costa rica php | By: Pablo Viquez
Ya se anunció la próxima reunión del grupo de PHP. (Ver anuncio) Esta es la información del evento: Donde: Auditorio Universidad Latina de Costa Rica Cuando: Martes 11 de Agosto, 7:00pm El tema de Unit Testing e Integración Continua la verdad está muy bueno, recomendado.
Tags: costa rica, PHP
Comments: -
31 July, 2009 (12:04) | PHP, Web Development, iso 8859-1, utf-8 | By: Pablo Viquez
To continue with the previous post. Problem: Function json_encode does not support ISO-8859-1 encoded data. One solution that I did, in order to preserve the character set was to encode the data before using the json_encode function to use just A-Z, a-z and 0-9 characters, instead of sending text with accents or symbols. One encoding [...]
Tags: ajax, i18n, iso 8859-1, jquery, json, json_encode, PHP, utf-8
Comments: 7
17 July, 2009 (13:51) | PHP, Web Development, debug, iso 8859-1, utf-8 | By: Pablo Viquez
Download the demo files While I was looking at some AJAX calls, I started to have a problem, for some reason, when I tried to query a JSON service I did using JQuery, the result was null for some fields. Going a little deeper, I notice that the records from the DB were OK, and [...]
Tags: ajax, i18n, iso 8859-1, jquery, json, json_encode, PHP, utf-8
Comments: 2
14 June, 2009 (19:22) | PHP, Web Development, debug, errors | By: Pablo Viquez
After a while struggling with the php function set_include_path() on windows, became to my attention that using the windows registry to set php configuration values they are set using the php_admin_value which forbids overriding it on run time. So for example, if you set the include_path on the windows registry and then you call the [...]
Tags: debug, PHP, set_include_path, windows registry
Comments: -
8 June, 2009 (11:10) | PHP | By: Pablo Viquez
Hoy se cumplen 14 años desde que Rasmus Lerdorf sacó la primera versión de PHP.
Tags: PHP
Comments: -
23 April, 2009 (15:08) | General | By: Pablo Viquez
APC Rocks! Implemente unas clases para internalización y localización usando Zend Framework y el core que basicamente cargaba y parseaba los diccionarios en XML le hice cache con APC para poder tener una unica instancia por servidor del mismo “objeto” y funciono muy bien. Espero poner la arquitectura que se uso pronto por aqui.
Tags: APC, i18n, l10n, PHP, utf-8, Zend Framework
Comments: -
4 September, 2008 (17:01) | PHP, Web Development | By: Pablo Viquez
Hace unos dias tuve un problema tratando de desplegar tildes en una aplicación, el problema surgió cuando quise hacer que toda la aplicación fuera UTF-8. Es decir, que la DB hablara UTF-8 y las paginas desplegaran UTF-8: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> Ahora, cuando hice el despliegue en la página, en vez de ver caracteres [...]
Tags: i18n, iso 8859-1, l10n, PHP, utf-8
Comments: 9