Time for changes..

I guess I moved to WordPress, which makes perfect sense since I’m a PHP guy. And so far I like it better although I don’t see too many feature differences. I must confess that I’m not addicted to blogs though.

I also moved to Dreamhost. These guys rock!

I would like to thank Bruno Pedro for providing me hosting for my blog until now…

Novo Passaporte electrónico Português

Já há uns meses que ouvi falar do novo passaporte electrónico português, que estará disponível a partir de amanhã. Foi na Sic Notícias e disseram na reportagem que com o novo passaporte já não era preciso visto para ir aos USA.

Hoje foi notícia em todo o lado e mais uma vez ouvi nas notícias (RTP1) que com o novo passaporte deixará de ser necessário visto para ir aos USA. Pior ainda, no video de apresentação do PEP também menciona que não é preciso visto com o novo passaporte electrónico para ir aos USA mas de uma forma ambígua, que induz que até agora seria necessário visto.

O visto deixou de ser necessário pelo menos desde 2003 (já lá fui umas 6 vezes desde essa altura e não tenho visto). Pelo menos desde 2003 que um cidadão português não necessita de visto tendo que para tal possuir um passaporte óptico.

Será que os jornalistas não conseguem fazer o trabalho de casa em condições?

O Mundial já acabou…

Parece que o mundial já acabou… ou que não é preciso chegar a acontecer..

Aqui ficam os resultados:
http://www.negocios.pt/default.asp?CpContentId=277341

A selecção portuguesa é eliminada pela Holanda nos oitavos-de-final do Campeonato do Mundo de futebol Alemanha2006, numa competição em que o Brasil conquista o «hexa», de acordo com as contas travessas do «ranking» oficial da FIFA.

(…)

A equipa portuguesa alcança o segundo lugar de um grupo conquistado pelo México (quarto do «ranking») e apenas vence os jogos com Angola (57º) e Irão (23º).

New SAPO Webmail

Some people complained that I don’t update my blog for a long time.

Well, I can say that I haven’t updated my blog since I started working on a new project that was launched a couple of minutes ago. It’s the new SAPO Webmail (beta) – http://mail.sapo.pt/.

Jan Schneider already mentioned this project in his blog some weeks ago. So you can read there all the techy bits. I’ll just summarize them in one paragraph.

It’s completely AJAX based and it uses all the new hype tecnhologies that we all read about everyday.
The development cycle started last October, so in my opinion it took 5 months to become the best Webmail around. 🙂

The new Webmail is still not for everyone. Most active SAPO ADSL users are going to be the first ones to have access to the new beta Webmail (130k email addresses for now), although everyone else is free to ask for access. Just login into the new Webmail (check the beta checkbox) and you’ll be redirected to a request access form.

Zend Certification

Bruno and I took the Zend Certification exam here at the conference and I’m glad to announce that we both passed and we’re both ZCE now… 🙂

Here’s my certification authentication.

The exam had some tricky questions and it covers pretty much all of the aspects of PHP but I can’t say it was difficult.

For the ones who want to take this certification I really advise them to read the book: “The Zend PHP Certification Practice Book” written by John Coggeshall and Marco Tabini. You can buy it here.

PHP and Unicode

PHP and Unicode
Andi Gutmans from Zend, Andrei Zmievski from Yahoo!

– Definitions
. Character Encoding Form: representation of a character set using a number of integer codes (code values)

– Multi-i18n-what?
. Dealing with multiple encodings is a pain
. Different algorithms, conversion, detection, validation, processing… understanding
. Dealing with multiple languages is a pain too
. But cannot be avoided in this day and age
Continue reading

Techniques for Building Enterprise PHP Applications

Techniques for Building Enterprise PHP Applications
by Chuck Hagenbuch, John Coggeshall, Rock Mutchler from Zend

Problem: client’s site was slow

Resolutions:
– Profile site lloking for slow pages/functions in current system
. Patch this bottle necks with a faster solution:
for example caching dynamic content with zend platform or fixing poorly written code

– Identify small changes that causae large effect on site performance
. indexing tables properly
. removing large download from apache (with ZDS)
. Rewritting expensive PHP processes
Continue reading

Object Caching for high-performance, scalable web applications

Object Caching for high-performance, scalable web applications
by Johann Schleier-Smith, CTO, Tagged LLC
http://corp.tagged.com/obj-cache-zip

– load balancer
– ZP (30 PHP servers)
– memcached (livejournal) (4 servers) (hash based on keys to decide the storage server)
. Oracle 10g RAC

– Low level cache architecture
. Object serialization
. Basic cache operations
– SET($key, $value, [$lifetime])
– GET($key)
– DELETE($key)
– GETANDWAIT($key)
. Advice: pick something
Continue reading