
Application Metrics
- May 25, 2019
We all know not to poke at alien life forms in another planet, right? But what about metrics, do you know how to pick, measure and draw conclusions from them? In this talk we will cover various Site Reliability Engineering topics, such as SLIs and SLOs while we explore real life examples of defining and implementing metrics in a system with examples using Prometheus, an open-source system monitoring and alert platform, to demonstrate implementation. Let’s get back to some real science.
Read More
Writing code you won’t hate tomorrow
- October 28, 2018
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Application metrics with Prometheus
- June 8, 2018
We all know not to poke at alien life forms in another planet, right? But what about metrics, do you know how to pick, measure and draw conclusions from them? In this talk we will cover Service Level Indicators (SLI), Objectives (SLO), and how to use Prometheus, an open-source system monitoring and alert platform, to measure and make sense of them. Let’s get back to some real science.
Read More
“Writing code that lasts” … or writing code you won’t hate tomorrow
- May 20, 2017
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
“Writing code that lasts” … or writing code you won’t hate tomorrow
- May 12, 2017
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Solving conflicts in composer.lock
- November 28, 2016
We have all been there:
CONFLICT (content): Merge conflict in composer.lock Automatic merge failed; fix conflicts and then commit the result.
Don’t panic, breathe, let’s walk through this.
Read More
Composer The Right Way
- November 13, 2016
Composer has triggered a renaissance in the PHP community, it has changed the way we deal with other people’s code and it has changed the way we share our code. We are all slowly moving to using Composer, from Wordpress to Joomla and Drupal and frameworks in between. But many of us mistreat composer, follow outdated practices or simply lack a few tricks. In this session i’ll get you the low down on how to use composer the right way.
Read More
Writing code that lasts
- October 23, 2016
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Composer the Right Way
- May 29, 2016
Composer has triggered a renaissance in the PHP community, it has changed the way we deal with other people’s code and it has changed the way we share our code. We are all slowly moving to using Composer, from Wordpress to Joomla and Drupal and frameworks in between. But many of us mistreat composer, follow outdated practices or simply lack a few tricks. In this session i’ll get you the low down on how to use composer the right way.
Read More
“Writing code that lasts” … or writing code you won’t hate tomorrow.
- May 28, 2016
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Composer the Right Way
- May 13, 2016
Composer has triggered a renaissance in the PHP community, it has changed the way we deal with other people’s code and it has changed the way we share our code. We are all slowly moving to using Composer, from Wordpress to Joomla and Drupal and frameworks in between. But many of us mistreat composer, follow outdated practices or simply lack a few tricks. In this session i’ll get you the low down on how to use composer the right way.
Read More
Composer The Right Way
- April 14, 2016
Composer has triggered a renaissance in the PHP community, it has changed the way we deal with other people’s code and it has changed the way we share our code. We are all slowly moving to using Composer, from Wordpress to Joomla and Drupal and frameworks in between. But many of us mistreat composer, follow outdated practices or simply lack a few tricks. In this session i’ll get you the low down on how to use composer the right way.
Read More
“Writing code that lasts” … or writing code you won’t hate tomorrow.
- January 29, 2016
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
“Writing code that lasts” … or writing code you won’t hate tomorrow.
- November 24, 2015
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
“Writing code that lasts” … or writing code you won’t hate tomorrow.
- October 6, 2015
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Journey into your Lizard Brain
- October 2, 2015
Languages and syntax are the easy part of programming, the real challenge is in knowing how to solve a problem and how to find and understand which paths can take you to the solution, the moving parts. This talk will dive into this thought process, give you insights to train your lizard brain and expand your knowledge base.
Read More
A journey into your Lizard Brain
- June 27, 2015
Languages and syntax are the easy part of programming, the real challenge is in knowing how to solve a problem and how to find and understand which paths can take you to the solution, the moving parts. This talk will dive into this thought process, give you insights to train your lizard brain and expand your knowledge base.
Read More
A journey into your Lizard Brain
- June 26, 2015
Languages and syntax are the easy part of programming, the real challenge is in knowing how to solve a problem and how to find and understand which paths can take you to the solution, the moving parts. This talk will dive into this thought process, give you insights to train your lizard brain and expand your knowledge base.
Read More
20 Years of PHP, and how I got on this train
- June 8, 2015
PHP, the most loved and hated language on the internet turns 20 today, 20 years ago Rasmus released Personal HomePages to the public, what happened next will blow you away™.
Read More
Composer the right way
- March 19, 2015
Composer has triggered a renaissance in the PHP community, it has changed the way we deal with other people’s code and it has changed the way we share our code. We are all slowly moving to using Composer, from Wordpress to Joomla and Drupal and frameworks in between. But many of us mistreat composer, follow outdated practices or simply lack a few tricks. In this session i’ll get you the low down on how to use composer the right way.
Read More
Why I support "The League"
- March 10, 2015
There has been a lot of drama and press around it lately, but which does it really deserve?
Read More
Composer the right way
- December 2, 2014
Composer has triggered a renaissance in the PHP community, it has changed the way we deal with other people’s code and it has changed the way we share our code. We are all slowly moving to using Composer, from Wordpress to Joomla and Drupal and frameworks in between. But many of us mistreat composer, follow outdated practices or simply lack a few tricks. In this session i’ll get you the low down on how to use composer the right way.
Read More
The AmsterdamPHP ElePHPant Project
- December 2, 2014
Ever since I started building User Groups and getting involved in the PHP community I always had a dream of introducing a new color to the ElePHPant collection. Always wanted to make more elePHPants available and to make sure everyone had access to them. With Kickstarter and the example of php[arch] and PHPWomen, the time has finally come.

Writing code you won't hate tomorrow
- November 12, 2014
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Writing code you won't hate tomorrow
- November 8, 2014
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
Installing Composer Packages
- October 13, 2014
I have been putting together a new talk about Composer, and that means looking around the community, doing loads of research and trying to identify the items that need to be covered in a talk. Mostly I have been trying to identify things that people do on a regular basis that according to composer internals is either wrong or not ideal.
Read More
Annotations in PHP, They Exist.
- August 30, 2014
Annotations are more than phpdoc comments, they’re a fully-featured way of including additional information alongside your code. We might have rejected an RFC to add support into the PHP core, but the community has embraced this tool anyway! This session shows you who is doing what with annotations, and will give you some ideas on how to use the existing tools in your own projects to keep life simple. Developers, architects and anyone responsible for the technical direction of an application should attend this session.
Read More
Writing code you won't hate tomorrow
- August 23, 2014
As developers we write code everyday, only to frown at it a week after that. Why do we have such a hard time with code written by others and ourselves, this raging desire to rewrite everything we see? Writing code that survives the test of time and self judgment is a matter of clarity and simplicity. Let’s talk about growing, learning and improving our code with calisthenics, readability and good design.
Read More
J and Beyond 2014: An Overview
- June 3, 2014
The past weekend marked a very important moment for me. After almost a year on the sidelines dealing with personal matters, I finally had the opportunity to go talk to and teach another community.
Read More
Using Git Hooks to delegate routine tasks
- November 15, 2013
My team currently uses GitHub as the center of our development process, taking full advantage of Pull Requests and all that. That means we use git and our process is to always develop using feature-branches, making PRs for each feature and then merging them in after code review.
Read More
Composer for busy developers
- June 8, 2013
Managing dependencies and third-party code in PHP applications is a daily challenge, keeping everyone on the same versions during development and at deploy time a struggle. Meet Composer a tool designed to help you maintain a consistent set of dependencies as well as share and discover new libraries. Let’s see how you can use this tool in your Applications and Libraries to wrangle your dependencies with a simple json configuration file and a command line interface.
Read More
Composer, putting dependencies on the score
- March 1, 2013
As PHP projects grow and mature so does their list of dependencies and third party code. Managing all these external packages during development and especially deploy is not an easy task and can be very error prone. Enter Composer, a tool that allows you to keep a consistent list of dependencies and versions across your whole team and all your environments, managing and making discovery of new libraries a breeze. Let’s see how Composer can solve all your problems with a simple command line interface and a json configuration file.
Read More
Of Creating User Groups and Physics
- February 14, 2013
Note: This article was originally published on the october/2011 issue of php-architect. If you like it keep a close eye on the Community Column in the magazine, where I get the chance to write alongside other awesome community people.
Read More
Annotations in PHP: They Exist
- January 25, 2013
Annotations are more than phpdoc comments, they’re a fully-featured way of including additional information alongside your code. We might have rejected an RFC to add support into the PHP core, but the community has embraced this tool anyway! This session shows you who is doing what with annotations, and will give you some ideas on how to use the existing tools in your own projects to keep life simple. Developers, architects and anyone responsible for the technical direction of an application should attend this session.
Read More
We are all PHP Evangelists
- January 4, 2013
Note: This article was originally published on the april/2012 issue of php-architect. If you like it subscribe to the magazine and keep a close eye on the Community Column in the magazine, where I get the chance to write alongside other awesome community people.
Read More
Your code sucks, let's fix it
- December 21, 2012
Performance and testing are just one aspect of code, to really be successful your code needs to be readable, maintainable and generally easier to comprehend and work with. This talk draws from my own experience in applying the techniques of object calisthenics and code readability, within an existing team. It will help you identify trouble areas, learn how to refactor them and train you to write better code in future projects avoiding common pitfalls.
Read More
Being an Enabler
- December 19, 2012
When you look around at user groups you will notice that many groups have “leaders” or “managers”, this is usually the person who started the group and is not really calling the shots, but usually is giving direction to the group. This is an usual model and it works pretty well in most cases, however I have ran into situations where this causes some misconceptions.
Read More
Your code sucks, let's fix it
- December 9, 2012
Performance and testing are just one aspect of code, to really be successful your code needs to be readable, maintainable and generally easier to comprehend and work with. This talk draws from my own experience in applying the techniques of object calisthenics and code readability, within an existing team. It will help you identify trouble areas, learn how to refactor them and train you to write better code in future projects avoiding common pitfalls.
Read More
Your code sucks, let's fix it
- December 3, 2012
Performance and testing are just one aspect of code, to really be successful your code needs to be readable, maintainable and generally easier to comprehend and work with. This talk draws from my own experience in applying the techniques of object calisthenics and code readability, within an existing team. It will help you identify trouble areas, learn how to refactor them and train you to write better code in future projects avoiding common pitfalls.
Read More
The DMSTwigExtensionBundle
- November 30, 2012
When I started using Symfony one of the aspects that really caught my eye was Twig, it really got me back into using a template engine and I don’t think i can ever go back to mixing my HTML and PHP again.
Read More
Annotating with Annotations
- November 3, 2012
Annotations are more than phpdoc comments, they’re a fully-featured way of including additional information alongside your code. We might have rejected an RFC to add support into the PHP core, but the community has embraced this tool anyway! This session shows you who is doing what with annotations, and will give you some ideas on how to use the existing tools in your own projects to keep life simple. Developers, architects and anyone responsible for the technical direction of an application should attend this session.
Read More
Your code sucks, let's fix it
- November 2, 2012
Performance and testing are just one aspect of code, to really be successful your code needs to be readable, maintainable and generally easier to comprehend and work with. This talk draws from my own experience in applying the techniques of object calisthenics and code readability, within an existing team. It will help you identify trouble areas, learn how to refactor them and train you to write better code in future projects avoiding common pitfalls.
Read More
Composer, putting dependencies on the score
- October 6, 2012
As PHP projects grow and mature so does their list of dependencies and third party code. Managing all these external packages during development and especially deploy is not an easy task and can be very error prone. Enter Composer, a tool that allows you to keep a consistent list of dependencies and versions across your whole team and all your environments, managing and making discovery of new libraries a breeze. Let’s see how Composer can solve all your problems with a simple command line interface and a json configuration file.
Read More
Treading the PHPath
- September 15, 2012
If you are a great developer, its no use unless other people know this as well. This talk is a guide/logbook of how to take your career into the next level, take advantage of Open Source and the PHP Community to grow as a professional.
Read More
Composer, putting dependencies on the score
- September 2, 2012
As PHP projects grow and mature so does their list of dependencies and third party code. Managing all these external packages during development and especially deploy is not an easy task and can be very error prone. Enter Composer, a tool that allows you to keep a consistent list of dependencies and versions across your whole team and all your environments, managing and making discovery of new libraries a breeze. Let’s see how Composer can solve all your problems with a simple command line interface and a json configuration file.
Read More
Your code sucks, let's fix it
- September 2, 2012
How do you measure the quality of your code? Performance and testing are just one aspect of code, in order to meet deadlines and make maintenance quicker you also need your code to be readable, decoupled and generally easier to comprehend and work with. This talk will go over tips and exercises to help you identify trouble areas, refactor them and train you to write better code in future projects. Come make your code look and function better.
Read More
Composer: putting dependencies on the score
- August 8, 2012
As PHP projects grow and mature so does their list of dependencies and third party code. Managing all these external packages during development and especially deploy is not an easy task and can be very error prone. Enter Composer, a tool that allows you to keep a consistent list of dependencies and versions across your whole team and all your environments, managing and making discovery of new libraries a breeze. Let’s see how Composer can solve all your problems with a simple command line interface and a json configuration file.
Read More
Annotating with Annotations
- June 19, 2012
What exactly are annotations? How can they change the way you code and make life simpler? Annotations allow you to implement new functionality into code using “notes” this allows you to easily maintain your own architecture but benefit from external tools. Let’s look at how annotations are used today in PHP and how we can develop our own solutions based on the existing libraries.
Read More
Annotating with Annotations
- June 8, 2012
What exactly are annotations? How can they change the way you code and make life simpler? Annotations allow you to implement new functionality into code using “notes” this allows you to easily maintain your own architecture but benefit from external tools. Let’s look at how annotations are used today in PHP and how we can develop our own solutions based on the existing libraries.
Read More
Your code sucks, let's fix it
- June 8, 2012
How do you measure the quality of your code? Performance and testing are just one aspect of code, in order to meet deadlines and make maintenance quicker you also need your code to be readable, decoupled and generally easier to comprehend and work with. This talk will go over tips and exercises to help you identify trouble areas, refactor them and train you to write better code in future projects. Come make your code look and function better.
Read More
Annotating with Annotations
- June 5, 2012
What exactly are annotations? How can they change the way you code and make life simpler? Annotations allow you to implement new functionality into code using “notes” this allows you to easily maintain your own architecture but benefit from external tools. Let’s look at how annotations are used today in PHP and how we can develop our own solutions based on the existing libraries.
Read More
Deploying a Symfony2 and Composer app on PagodaBox
- April 16, 2012
I have been working on a little pet project and wanted to put it up somewhere to show to a few people how it was going. I wanted something really simple so I decided to give the PHP PaaS solutions a try. Its a very simple Symfony 2.1 based app using Composer for vendor management, so I went on a quest to see what could be done and how.
Read More
The IDEs of March
- March 15, 2012
Last Year, Chris Shiflett started the “Ideas of March” movement, and Jon Tangerine quickly coined the “Ides of March” twist and some people followed him. This year, here we are again and while reading my twitter feed I saw Cal Evans’ post with Jon Tangerine’s line. Of course it was early and I read “IDEs”. Since last year I defended the Ideas of March with why you should blog, and I still believe the reasons stand, this year I’ll just make my own twist and talk about IDEs. Yes, its a shameless sorry attempt at a joke.
Read More
You code sucks, let's fix it
- February 28, 2012
How do you measure the quality of your code? Performance and testing are just one aspect of code, in order to meet deadlines and make maintenance quicker you also need your code to be readable, decoupled and generally easier to comprehend and work with. This talk will go over tips and exercises to help you identify trouble areas, refactor them and train you to write better code in future projects. Come make your code look and function better.
Read More
Book Review: The Art of Readable Code
- February 27, 2012
Lately I have been very involved with code quality, not just in terms of testing and actually working, but also on a deeper level, readability and plain good architecture. At my previous employer we had been working for a good while already applying rules from “Object Calisthenics” a concept by Jeff Bay, a simple set of exercises that helped identify bad code and improvements points. Once I saw this book show up at O’Reilly I did not blink and made a purchase.
Read More
PHP Community: Of Leaders, conferences and Union
- February 24, 2012
Note: This article was originally published on the march/2011 issue of php-architect. If you like it keep a close eye on the Community Column in the magazine, where i get the chance to write alongside other awesome community people.
Read More
PHP Benelux 2012 - Learning lessons
- January 31, 2012
After hearing about how great PHP Benelux Conferences were I finally made it over to Belgium to check it out, and i was impressed. To catch you up on the new, I moved to Amsterdam last december and thus had the chance of attending the conference which is now 2 hours away on a train ride.
Read More
Trilhando o caminho PHP 2.5
- December 2, 2011
Construir uma carreira nunca é uma tarefa fácil e cada caminho tem suas trilhas e atalhos. As vezes é necessario contar com um GPS para que você possa subir cada vez mais na comunidade PHP. Uma carreira baseada em PHP possui várias placas ao longo do caminho, vamos ver algumas destas escolhas e truques que você pode sempre ter “nas mangas” para deixar de ser apenas mais um desenvolvedor.
Read More
De volta ao Velho Continente
- November 8, 2011
“Your life begins where your comfort zone ends” (@elizabethN’s mother)
Read More
Open a Window, see the clouds
- September 30, 2011
Palestra realizada no TechEd 2011 em São Paulo.
Read More
Como escrever artigos técnicos (melhores) em 10 passos
- September 27, 2011
Blogs. A internet nos últimos anos tem visto o crescimento disparado destes sites, desde o desenvolvedor que escreve no finais de semana até o colunista que ganha para fazer isso. E não é por menos, eles são sim uma ótima ferramenta para divulgar seu trabalho e agregar valor ao seu nome no mercado, porém apenas se utilizado de forma correta. Vou me restringir obviamente a falar de blogs sobre tecnologia e desenvolvimento, embora outras áreas tenham muitas historias de sucesso desta plataforma também. Eu realmente não saberia como comentar por exemplo o mercado de esmaltes e como escrever artigos sobre eles.
Read More
Trilhando o caminho PHP
- August 23, 2011
Construir uma carreira nunca é uma tarefa fácil e cada caminho tem suas trilhas e atalhos. As vezes é necessario contar com um GPS para que você possa subir cada vez mais na comunidade PHP. Uma carreira baseada em PHP possui várias placas ao longo do caminho, vamos ver algumas destas escolhas e truques que você pode sempre ter “nas mangas” para deixar de ser apenas mais um desenvolvedor.
Read More
Filtering objects using annotations
- August 11, 2011
Filtering with Annotations
PHP does not have native Annotations support, however many projects have been using doc blocks to add value and semantics to code, like PHPUnit, Doctrine and Symfony. The Doctrine did a really good job in making available a Annotation parser kit, which allows you to bring the power of annotations into you own project. This opens up a few possibilities.
Read More
PHP Development in the Cloud by Ivo Jansch and Vito Chin
- August 5, 2011
Cloud computing is finally reaching a point of maturity and leaving its early “hype” years behind. Ivo and Vito do a very good job of bringing the topic into a PHP developer’s world in a very concise and objective manner, without leaving important platforms and concepts behind.
Read More
Desinformação na mídia: PHP rotulado como vírus
- July 29, 2011
Recebi hoje pelo twitter (do colega @leoviena) um link para uma matéria da do Jornal Hoje na Rede Globo, ao assitir a matéria fiquei abismado com as informações dadas na matéria. (UPDATE: matéria em texto)
Read More
E no sétimo dia ele escreveu testes
- July 9, 2011
Testes e o TDD estão se tornando uma parte muito importante do nosso dia a dia como desenvolvedores. Veja como os testes se aplicam ao seu trabalho e como seus sistemas e equipe podem se beneficiar com isso. Aprenda também o que é o TDD e quais melhorias ele traz ao processo de desenvolvimento.
Read More
Open a Window, see the clouds
- July 9, 2011
Sua aplicação esta pronta para decolar na nuvem? O que significa isso? Com o que você precisa se preocupar? Quais frameworks e ferramentas são necessários e quais novos conceitos você deve colocar na sua caixa de ferramentas PHP para estar pronto? Conheça um pouco mais sobre a plataforma Windows Azure e suas funcionalidades, além de descobrir mais quais ferramentas e frameworks estão prontos para se beneficiarem deste novo paradigma.
Read More
Open a window, see the clouds
- May 25, 2011
Is your application ready to take off into the cloud? What does this mean? What do you need to worry about? What frameworks and tools do you need to look at and what new concepts do you need to put in your PHP toolbox to prepare? Get acquainted with Microsoft Azure’s platform and features, and discover what tools and frameworks are ready to benefit from this new paradigm.
Read More
The ideas of March
- March 15, 2011
This year my New Year’s resolution was to “write more” just as plain as that, blog more, write articles, maybe even a book can fit in there. Now it seems that resolution is in sync with the rest of the PHP Community and Chris Shifflet has once again caused ripples to roam the community with his Ideas of March initiative.
Read More
Como foi palestrar na Campus Party 2011
- March 14, 2011
Este ano tive a oportunidade de voltar a Campus Party e mais uma vez palestrar na área de Desenvolvimento. Antes de mais nada, obrigado ao David Ruiz e ao Ricardo Martins pela oportunidade novamente.
Read More
Usando o PHP-SDK para rodar FQL na API do Facebook
- February 15, 2011
Desde a migração do Facebook para a nova Graph API e o protocolo OAuth 2.0, sua documentação para desenvolvedores virou uma grande confusão, sem eira nem beira, de artigos depreciados, e isso se eu for otimista. O problema é que muitos artigos antigos ainda apontam para práticas não mais recomendadas e muitos deles não possuem alertas sobre estas mudanças, em casos extremos funções que em breve serão removidas da API ainda não possuem equivalentes nas novas APIs.
Read More
Managing Test Users in Facebook
- February 7, 2011
Recently Facebook implemented a new and more secure way of creating test users for your applications using the new Graph API. This new resource creates test users per application, allowing the developers of these apps to login as these users and test out their app’s functionality without using their own accounts and throwing test information into their live activity feed, this makes it very easy and clean to test new applications.
Read More
Problem solving technique #1: Taking a mental break
- February 4, 2011
Developers are modern day artists whose masterpieces are not hung on walls but stretched out thin on web servers all over the world, yes that is very poetic, but I really try to look at developers as artists and puzzle solvers. To become better developers your skill-set must include creativity and problem solving skills and of course a artistic touch.
Read More
Trilhando o Caminho PHP 2.0
- January 18, 2011
Construir uma carreira nunca é uma tarefa fácil e cada caminho tem suas trilhas e atalhos. As vezes é necessario contar com um GPS para que você possa subir cada vez mais na comunidade PHP. Uma carreira baseada em PHP possui várias placas ao longo do caminho, vamos ver algumas destas escolhas e truques que você pode sempre ter “nas mangas” para deixar de ser apenas mais um desenvolvedor.
Read More
Using the Facebook PHP-SDK to run FQL
- January 12, 2011
As of Facebook’s migration to the new Graph API and its OAuth 2.0 protocols, I can say that their Developer documentation has become a confusing, misleading and generally unstrung pile of semi-deprecated articles, and I’m being optimistic in doing so. Problem is lots of old articles are still in there pointing to old practices and recommendations and most of these do not come with disclaimers pointing to new recommendations, and in some extremes old soon-to-be-deprecated methods do not even have equivalents in the new APIs.
Read More
Como a Microsoft esta facilitando o desenvolvimento com PHP
- January 6, 2011
Recentemente tive a oportunidade de conversar bastante com a Microsoft, junto com outros membros da comunidade PHP. Fomos recebidos por Josh Holmes (Evangelista de Arquitetos / EUA) e Rogério Cordeiro (Evangelista de Desenvolvedores / Brasil) na sede da Microsoft aqui em São Paulo, e fomos encaminhados ao auditório onde iniciamos uma conversa informal, mas muito interessante, por algumas horas. A ideia básica por trás da visita: nos mostrar algumas de suas novas ferramentas e receber um retorno e opiniões do que nós desenvolvedores pensamos de suas ferramentas, o que falta, o que esta quebrado e como arrumar.
Read More
Meme: Seu Ambiente de Desenvolvimento em 7 items
- December 17, 2010
Esta ideia originou com o Duodraco e o Augusto Pascutti. Simples e direta, escreva sobre o seu ambiente de trabalho, suas ferramentas do dia a dia de programador, vamos conhecer um pouco melhor nossas opções, vejam as regras
Read More
How Microsoft is making PHP Development easier
- December 9, 2010
Recently i had an opportunity to have a chat with Microsoft, along with a few PHP community members. We were greeted by Josh Holmes (Architect Evangelist / US) and Rogerio Cordeiro (Developer Evangelist / Brasil) at the Microsoft HQ in São Paulo and headed over to a auditorium where we started off a informal but very interesting talk for a few hours. This was the basic idea behind the visit: to show us a few of their new tools and get feedback from what we developers think or their tools, what is missing, what is broke, how to fix it.
Read More
Review: The Art of Community - Jono Bacon
- August 11, 2010
I must confess that Jono Bacon actually caught me by surprise. While I was following the creation process of the book (O’Reilly invited UG leaders to send feedback) I could have never imagined I would one day have something so useful for someone who deals with communities on a day to day basis. In this universe Jono is a well known figure, with vast experience in managing and participating in online communities, which credits him as a perfect candidate to write a book like this one.
Read More
Review: A Arte das Comunidades Virtuais - Jono Bacon
- July 5, 2010
Devo confessar que Jono Bacon me pegou de surpresa, ao acompanhar o processo de criação do livro jamais imaginei que teria em mãos um material tão útil para quem lida com comunidades virtuais no dia a dia. Jono é figurinha marcada dentro deste mundo, com vasta experiência em gerenciar e participar de comunidades virtuais, o que faz dele realmente um excelente candidato a escrever um livro como este.
Read More
E no Sétimo dia ele escreveu testes
- June 26, 2010
Testes e o TDD estão se tornando uma parte muito importante do nosso dia a dia como desenvolvedores. Veja como os testes se aplicam ao seu trabalho e como seus sistemas e equipe podem se beneficiar com isso. Aprenda também o que é o TDD e quais melhorias ele traz ao processo de desenvolvimento.
Read More
php|tek 2010: Making a difference in your career
- June 9, 2010
Once again php|architect hosted the php|tek, a yearly event held once again in Chicago. Tek’s reputation is that of being the most community centered conference amongst other php conferences, true to its reputation this year’s edition promoted various social activities and gatherings apart from the usual conference activities.
Read More
HipHop for PHP: First look
- February 6, 2010
Just this tuesday Facebook announced a ambitious project called “HipHop for PHP”, if you missed it general opinion says you have been coding PHP in a cave. As I write this review no code has been posted yet, but Facebook has made a great move to open source the project so we can all get our hands on it, use it and contribute to it. So since the code is not out there yet, this is literally a first impression article based on the presentation made by Facebook and various posts from core PHP developers who got a first look at the technology before the release.
Read More
Despertando para o PHP
- January 29, 2010
Um a breve introdução ao mundo PHP, sintaxe, mercado e ecossistema
Read More
2009: Um ano do PHP no Brasil e no mundo
- December 15, 2009
Enquanto sento aqui em frente ao Wordpress e lendo meu post sobre 2008 eu vejo que este ano realmente foi um ano de muita mudança e sucesso. 2008 foi um ano de muito crescimento pessoal/profissional para mim, e 2009 acabou por seguir a mesma linha, mas trilhando por um caminho inesperado.
Read More
Microsoft Web Developer Summit 2009 in review
- December 4, 2009
This year I was honored to be invited to participate as a member of the PHP Community in Microsoft’s Web Developer Summit, so I took it upon myself to represent the huge PHP community in Brazil and bring on our opinions and beliefs.

PHP Community in Brazil
- December 2, 2009
Simple slides for a 10 min. intro i did on PHP and its community
Read More
PHPConfBR09 - Como foi o primeiro dia
- November 29, 2009
Veja minhas impressões do primeiro dia da conference.
Read More
E no Sétimo dia ele escreveu testes
- November 27, 2009
O TDD (Test Driven Development) se torna mais comum a cada dia, mas porque você deve ligar para testes na sua aplicação. Vamos nos aprofundar num mundo de testes cobrindo desde testar o próprio PHP até os testes de sua aplicação. Descubra os benefícios e aprenda a lidar como choque cultural.
Read More
PHP: Movido a Comunidade
- November 27, 2009
Esta palestra apresenta o fator mais poderoso por tras do PHP, a comunidade! Como se formam os Grupos de Usuários? Para que servem? Veja como contribuir com o PHP e quais beneficios terá ao ser um membro ativo da comunidade PHP
Read More
PHP Conference Brasil - Dia 0
- November 26, 2009
Dia de tutoriais, demorou mas a internet não ajudou, o video tem dois pulos, maldito quicktime não esta ajudando.
Read More
PHP Conference Brasil 09 - Day 0
- November 26, 2009
Tutorial day has come and past, sorry i did not get this out earlier, but internet, youtube and quicktime are not playing nice.
Read More
PHP Conference Brasil 09 - Quarta
- November 25, 2009
Um dia e meio antes da iniciar oficialmente a conference deste ano, começo meu relato sobre o dia a dia da conference em formato de video, seguindo os exemplos de nomes como Cal Evans e Eli White.
Read More
PHP Conference Brasil 09 - T minus 1+1/2 Day
- November 25, 2009
So one and a half days before the conference i finally got around to setting up for a video blog about the conference, stealing the idea from Cal Evans and Eli White, let’s see how it goes!
Read More![Trilhando o caminho PHP [2.0]](/images/blog-placeholder-11_hu_7f040ecf8774455a.webp)
Trilhando o caminho PHP [2.0]
- October 31, 2009
Construir uma carreira no ramo da informatica é resultado de uma junção de várias atitudes e ações. Esta palestra procura orientar o desenvolvedor em como contruir sua carreira e projetar seu nome dentro do mercado de trabalho.
Read More
The UG Rollercoaster
- October 15, 2009
User Groups are today one of the greatest driving forces behind PHP, together they form PHP’s greatest triumph, the community. Around the world everyday we see new groups coming together and starting new activities, sharing knowledge, promoting PHP, contributing to PHP Projects, or just plain having fun and drinking. Its really a wonderful environment, especially for the members, who get to experience and benefit from various perks brought to them by the UG.
Read More
Iterating over life with SPL Iterators I: Directories
- October 8, 2009
In the past i have already talked about SPL and how it makes PHP Developers’ life a breeze, since then i have felt a lack of SPL recipes around the web, if you are getting into SPL now, using some of the available classes can be a real mystery, so I decided to add more posts to google’s list of SPL articles. So this is the first in a line that i will be adding as i come by the examples.
Read More
PHP Security: Are you paying attention?
- September 29, 2009
Security is a recurring topic when the talk is about Technology, or any other area for that matter. To take security for granted when you are developing an application, as simple as it may be, is a huge mistake which can take a turn for the worse. I have ran into lots of excuses for ignoring security in the past, one of them is the recurring “This is just a simple application, it has no sensitive data”, this may be a valid point for the person repeating it like a mantra, especially because this person is generally suffering of great pressures , short timeframes and a lack of proper management ready to deal with web development. Cal Evans in his Open Teams session gives a perfect example of this when he tells us about a project with an impossible due date. Upon questioning the due date to the marketing department their reply was straight forward: “Because that’s when the brochures are done”. This is an example of the lack of perception around web development and all the issues we need to take into consideration when developing applications.
Read More
PHPT: Writing tests for PHP
- August 23, 2009
This year the PHP Community promoted the PHPTestFest in various places around the globe and it was a success. I participated in the event promoted by the PHPSP UG which ended up as the team with the most committed tests, after participating in the event I kept on going and have since obtained a SVN account and karma to be a official test commiter to PHP. So if you did not get the chance to learn how to write tests in your local TestFest I will now go over the steps taken so you can be ready for next year.
PHPT is a extremely simple test framework designed to test PHP. Its atomic nature and independent test execution make it perfect for the kind of tests needed, so tests can be really focused and test specific function and/or bugs.
What do I need to know?
The beauty about PHPT is that you need to know very little other than writing PHP code. A little knowledge into the inner workings of PHP will of course help you in finding areas of code that need testing, and how best to test them, but just knowing PHP is enough to start.
I have divided this post into 5 parts so we can get started:
- Preparing the Environment
- Choosing what to test
- Writing a test
- Executing a test
- Submitting a test to PHP

Escrevendo testes com PHPT e contribuindo com o PHP
- August 19, 2009
Este ano esteve em destaque a PHPTestFest09, sendo realizada em vários cantos do mundo e destacando-se a participação do PHPSP que contribuiu com o maior número de testes. Ficou de fora? Então já comece a se preparar para ano que vem.
O PHPT é um framework extremamente simples de testes criado e usado internamente pelos desenvolvedores do core. Ele é extremamente atômico e centrado em testes como os que esperamos do PHP, como testar funções e bugs específicos.
O que preciso saber?
A grande vantagem do PHPT é que para poder escrever um teste, tudo que você precisa saber é: como escrever código PHP. Claro que um pouco de conhecimento interno do funcionamento do PHP vai te ajudar a procurar detalhes para testar, mas sabendo escrever PHP você já pode contribuir com uma grande percentagem dos testes que precisamos.
Vamos então atacar por partes:
- Preparando o ambiente
- Escolhendo um teste
- Escrevendo um teste
- Rodando um teste
- Enviando seu teste para o PHP

Book Review: Guide to Date and Time Programming
- July 6, 2009
This review has been pending for a while, but recently I finished reading Derick Rethans’ book: Date and Time Programming. A first look at the topic (Date and Time) might get you thinking, “Why the hell do I need a book to teach me about time?” But further investigating, and some life experience will show you that dealing with Date and Time is not always as straightforward as “Its twelve o’clock”. Derick’s book gives you an in depth look into handling various factors of date and time such as timezones and days that did not exist, as well as finally delivering something missing from php.net: documentation of the DateTime Object.
Read More
SPL: a hidden gem
- June 3, 2009
By a show of hands, how many people here ever heard of SPL? How many already used it? Chances are most of you didn’t raise your hands, and some might even have a confused look on their faces. Indeed that is the sad reality when it comes to SPL, but What is SPL?
Read More
php|tek 2009: The community in action
- June 1, 2009
This year I was abel to attended the 2009 php|tek conference in Chicago. This conference is hosted by MTACon, the company behind php|architect magazine, one of the most influent PHP publications in the world. php|tek is a unique event in its overall “feel” and purpose - for those that read my post on ZendCon'08 you may be able to pickup this difference yourselves. Tek is a community oriented event, as opposed to ZendCon which is much more aimed at companies. Is this good you ask? Yes, its perfect, it in no way falls short of the content in ZendCon, but on the plus side it gives one many more opportunities to mingle and meet the central PHP Core Developer Team, and most importantly, it inspires attendees to work with and give back to PHP.
Read More
php|tek09: Day #3
- May 22, 2009
The beeping alarm begun another exciting day at php|tek09.
My usual breakfast buddies were around once again for a great meal to start it out right. The first session was High performance APC with Brian Shire from Facebook, and it was really interesting to see the APC improvements and what is in their roadmap, influenced by Facebook and their needs, working as a boost for APC development, defintively gonna kick our testing server into apc mode to run some tests. Parallel to this session Sara Golemon gave a PHP 5.3 session.. and from what i hear, those slides are golden! go find them! (i’ll post a link if i find them myself)
Read More
php|tek09: Day #2
- May 21, 2009
Ok, i might be a little “DUI” as I write this, but bear with me, i can get it done.
Read More
php|tek09: Day #1
- May 20, 2009
Tutorial day at php|tek! The day begun with a PHP Breakfast, where I met guys like Matthew Weier O’Phinney and saw the guys from yesterday as well. After that I moved on to registration and got my tek swag on!
Read More
php|tek09: Dia #1
- May 20, 2009
Dia de tutoriais na php|tek! O dia começou com um café da manha regado a PHP onde pude falar com muitas pessoas do dia anterior e conhecer o Matthew Weier O’Phinney. Depois um rápido registro e la vamos nós para os tutoriais.
Read More
php|tek09: Day #0
- May 19, 2009
First day in Chicago started out early, like 5 o’clock early! Getting to the hotel was a breeze after getting in touch with MTACon’s assistance hotline (thanks guys!), yah.. its a big airport.
Read More
php|tek09: Dia #0
- May 19, 2009
O primeiro dia em Chicago começou cedo, as 5h. Do aeroporto pro hotel foi uma viagem tranquila, após ligar para o excelente supporte da MTACon que prontamente me apontou pro transporte do hotel, sim.. o aeroporto é enorme!
Read More
PHPSPCast: Uma nova iniciativa
- April 2, 2009
Desde que me mudei para São Paulo minha participação na comunidade PHP em geral esta cada vez mais emocionante. Desde que conversei com alguns amigos e decidimos organizar o PHPSP (Grupo de Desenvolvedores PHP de São Paulo) as ídeias não param de surgir, e muitas ideias já estão virando fatos concretos.

Projeto "Eu desenvolvo seu plugin para Wordpress!"
- March 11, 2009
Atualização! Este projeto não está mais ativo. O serviço de desenvolvimento de plugins não é mais oferecido.
Read More
I Encontro|PHPSP e seu real significado
- February 16, 2009
O primeiro encontro do PHPSP foi um sucesso!
Não pela número massivo de presentes, perto de eventos como a PHPConf , 25 pessoas é um número pequeno, mas sob a perspectiva de que foram 25 onde só tinhamos espaço para 30, e que este foi um evento gratuito e por isso sem “compromisso”, o número de presentes foi sim incrível.
Read More
Análise: Essential PHP Security
- January 26, 2009
Embora publicado em 2005, o livro “Essential PHP Security” trata de um assunto que até hoje é muito atual. Escrito por Chris Shiflett o livro trata de todos aspectos de segurança relacionados a uma aplicação em PHP, por isso ainda hoje seu conteúdo pode ser considerado atualizado e aplicável a qualquer situação do dia a dia de um desenvolvedor.

Review: Essential PHP Security
- January 26, 2009
Even having being published in 2005, the book “Essential PHP Security” addresses a very up-to-date topic even today. Written by Chris Shiflett the book goes through various security aspects associated with a PHP application, for that reason even to today its content can be considered updated and applicable to various day to day situations faced by developers.
Read More
PHP Magazine #6
- January 23, 2009
Está disponível para download a sexta edição da PHP Magazine, esta edição conta com os seguintes tópicos:
Read More
Automação Residencial com PHP: Parte 2
- January 12, 2009
Depois de muito prometer, finalmente consegui recuperar os arquivos necessários para escrever esta segunda parte do post sobre meu Projeto Final de Graduação.
Read More
2008: Acontecimentos que mudaram a internet
- January 7, 2009
Este ano for marcado por várias mudanças, muitas em minha vida profissional e muitas na minha vida pessoal. Ok, não vou ficar aqui papeando sobre minha vida pessoal, mas acredito que o que vi ocorrendo na minha vida profissional e com a internet em geral seja bem válido para um artigo.
Read More
PHPSP: 2009 começa com grandes planos!
- January 5, 2009
O Recém formado grupo de desenvolvedores PHP de São Paulo, o PHPSP, já começou a se preparar para começar 2009 com a bola toda e começar o quanto antes a realizar as ações planejadas.
Read More
Analisando a PHP Conference Brasil 2008 e slides da palestra
- December 3, 2008
Mais um ano e mais uma PHPConf, este ano uma nuvem de discussões e #mimimi rodeou a realização de todos eventos de PHP, mas acredito que o resultado final tenha sido positivo o bastante para deixar isto para trás.
Read More
Trilhando o Caminho PHP
- December 3, 2008
Construir uma carreira encima do PHP é um caminho cheio de galhos. Aprenda como não ser mais um no mercado e se prepare para a ZCE
Read More
Trilhando o caminho PHP
- October 31, 2008
Palestra dada ao grupo PHPMS.
A trilha de uma carreira em PHP possui vários galhos, conheça um pouco destes caminhos, desde a formação (ZCE), e veja como foi a ZendCon em 2008.
Read More
PHP e AJAX: do Request ao Framework
- October 30, 2008
Palestra apresentada na Semana ca Computação na UNIDERP em Mato Grosso do Sul
Read More
Palestrando em Mato Grosso do Sul
- October 22, 2008
A convite de meu amigo Bruno “PorKaria”, estarei participando da XI Semana de Computação da UNIDERP e a 5º Jornada de Computação da UNAES no Mato Grosso do Sul.
Read More
ZendCon08 in review
- October 22, 2008
This article was originally posted by me to the MIH/SWAT Blog, at SWAT at ZendCon 2008.
Read More
Brasil: Um só país, mas muito PHP
- October 13, 2008
Todos nós sabemos que o Brasil é um país de dimensões continentais, aprendemos isso cedo nas aulas de geografia. Por isso mesmo acredito que a famosa frase “Esta cidade não é grande o bastante para nós dois” é algo que não deve valer para nós brasileiros.
Read More
ZendCon 08: Day 3
- September 19, 2008
So, Day 3 begins, sorry for the delay, but day 3’s night was spent with ZCE studying and Yahoo partying, so here we go.
Read More
ZendCon 08: Day 4
- September 19, 2008
That’s it, time running out and the sun comes out again for Day 4 of ZendCon.
Read More
ZendCon '08: Day 02
- September 17, 2008
Ok, here we go, end of day 2 and I got a horrible sore throat, and a headache.. but let me try to tell about my day.
Read More
ZendCon '08 - Day One
- September 16, 2008
So its end of Day One here at ZendCon, let’s do a quick re-cap.
Read More
PHP/Zend Conference 2008 - Estarei lá
- August 25, 2008
Aguarde uma semana agitada neste blog! Após grandes mudanças em minha vida este ano, e de um período morno do blog, acho que agora consigo tração para voltar ele a todo gás.

Pequenas mudanças
- August 23, 2008
Caro leitor frequente,
Você que acompanha este blog desde seu início, em 2006 percebeu que ele sempre rondou em torno de assuntos web, mas sempre com um foco em PHP. A hora chegou e este blog irá tomar alguns novos rumos, desta forma acredito que poderei escrever novos artigos de novos assuntos e manter um repertório maior e muito mais interessante.
Read More![AJAX e PHP: Aprendendo a base [Parte 1]](/images/blog-placeholder-3_hu_d04fe23001fe77fe.webp)
AJAX e PHP: Aprendendo a base [Parte 1]
- August 19, 2008
nota: Este artigo foi publicado pela primeira vez na Quarta Edição da Revista PHP Magazine em março de 2008. Estou agora re-publicando ele aqui em duas partes, 1 e 2, para melhor visualização
Neste artigo, pretendo apresentar ao Leitor a tecnologia AJAX, resolvendo algumas confusões sobre o que realmente é, e como e onde deve ser usada. Este artigo apresenta um exemplo de como implementar uma solução AJAX sem auxílio de Frameworks. Após palestrar sobre o assunto no 1º PHPDF RoadShow (E no PHP Conference 2007 em São Paulo) decidi por todo material das palestras em um artigo, que foi publicado pela primeira vez na PHP Magazine, e que agora re-publico aqui em meu Blog. Esta primeira parte esta dividida em duas pois descobri que meu WordPress fica louco com artigos grandes. E e breve este artigo terá uma sequencia que entrará no uso de FrameWorks.
Desde que comecei a pesquisar sobre AJAX devo admitir que me apaixonei pela forma que ele permite executar tarefas simples e avançadas de forma amigável, simples e ágil. Desde então, tenho procurado repassar este conteúdo, contribuindo brevemente com o site AJAX Online (www.ajaxonline.com.br) e publicando diversos artigos em meu blog pessoal.
Read More![AJAX e PHP: Aprendendo a base [Parte 2]](/images/blog-placeholder-3_hu_d04fe23001fe77fe.webp)
AJAX e PHP: Aprendendo a base [Parte 2]
- August 19, 2008
Continuando o post anterior, seguiremos agora para o módulo PHP, HTML e a conclusão do artigo.
Read More
PHP Magazine: Edição 5
- August 12, 2008
Voltando de um período quieto, a PHP Magazine lançou hoje a sua 5a edição. Para quem acompanha a revista sabe que ela é feita por voluntários e sujeita atrasos, como o desta edição. Mas mesmo com atrasos, a revista sempre contribui com artigos de qualidade de contribuidores de alto escalão.
Read More
The road to PHP 5.3: Namespaces
- August 12, 2008
We have all been looking forward to PHP6 and the big changes that were proposed for it, but along the way the PHP Core dudes made a great decision and split the PHP6 release in two. Most of the new features expected for PHP6 will be implemented in a 5.3 release, leaving unicode for the PHP6 release. So let’s take a quick look at what’s coming along in PHP 5.3.
Read More
OpenX 2.5 beta - Primeiras impressões
- March 28, 2008
Foi anunciado hoje o primeiro beta público do OpenX 2.5, a primeira versão puramente OpenX a ser lançada, digo isso por ser a primeira versão que incorpora as milhares de linhas que forma re-escritas, criando quase que praticamente uma nova aplicação. Eu já botei minhas mãos nessa versão e vou descrever a seguir minhas primeiras impressões.
Read More
4ª Edição da PHP Magazine, e artigo sobre AJAX
- March 10, 2008
Finalmente saiu a 4ª edição da PHP Magazine, prometida para agosto de 2007. Pelo que aparenta o projeto ganhou novo gás, lançando esta edição e anunciando que muitas mudanças estão por vir.
Read More
Desenvolvendo plugins para WordPress
- March 10, 2008
Uma peça chave do sucesso do WordPress é justamente sua capacidade de aceitar plugins e widgets, além , é claro, dos milhares de programadores que desenvolvem os mais diversos plugins que fazem de tudo um pouco.
Algum tempo atrás fui abordado pelo Manoel Lemos do BlogBlogs para discutirmos uma missão, criar um plugin para o WordPress, baseado na API do site. Comecei entao minha saga atrás de como desenvolver um plugin. O material estava lá, espalhado em vários sites, mas estava lá.
Então agora com o sucesso do BBUinfo e na véspera de novos projetos, decidi tentar consolidar este conhecimento adquirido e focar ele no público brasileiro. Vou procurar mostrar o caminho das pedras de como começar e onde buscar os dados necessário para integrar seu código ao do WP.
Read More
OpenAds vira OpenX e fala português
- February 22, 2008
Em mais uma reviravolta, a plataforma que começou sua vida como phpAds (1998), virou phpAdsNew, progrediu para OpenAds (passando pelo fork MaxMediaManager) finalmente se formalizou em uma grande plataforma chamada OpenX.

Adding text to images in real time with PHP
- February 12, 2008
Using PHP and the GD library the task of manipulating images, editing them and even adding text before presenting it to the user becomes a simple feat. Since I had to make use of this tool recently while making “on-the-fly” cupons for a client, i decided to write this article showing how easy this can be done.
Read More
Screencast: Utilizando o dmsAutocomplete com banco de dados
- January 10, 2008
Uma das perguntas que mais respondo pelo blog é “Como faço para utilizar o dmsAutocomplete com registros da base de dados?”. Além disso, a muito tempo procuro uma “desculpa” para fazer um screencast. Decidi então juntar estas duas situações e fazer o primeiro screencast da DMS Systems.
No video apresentado neste post vou demonstrar como fazer uma simples adaptação ao script PHP que vem incluído no dmsAutocomplete para que o mesmo busque dentro de uma base de dados e não mais dentro do texto como o exemplo demonstra. Usarei uma base de dados mysql simples e farei as conexões e busca de resultados utilizando as funções básicas do PDO, portanto se não conhecem esta nova camada OO de abstração de conexão com a base de dados, sugiro que procurem sobre, pois ela facilita e organiza bastante o trabalho com base de dados no PHP.
UPDATE: No momento o serviço que hospeda o screencast esta offline, o screencast deve voltar na quinta ou sexta
UPDATE: Screencast no ar novamente
Read More
PHP Conference: Material da Palestra PHP com AJAX
- December 3, 2007
Um ano atrás, na PHP Conference 2006, no último dia fiz uma promessa aos presentes, em 2007 estaria no PHP conference, mas como palestrante. É com muita satisfação que agradeço a ProPHP e a Tempo Real pela oportunidade que me foi dada e pela chance de participar ativamente deste grande evento.
Read More
PHP Conference 2007: Dia #2
- December 2, 2007
Após um delicioso café da manha, sabe como é.. café da manhã de hotel é tudo de bom, segui para a abertura oficial do evento. Mais uma vez re-encontrei os membros do ProPHP e muitas outras figurinhas carimbadas da comunidade. A abertura foi bem dinamica, com breves palavras de representantes dos vários envolvidos no evento.
Read More
PHP e AJAX: do Request ao Framework
- December 2, 2007
Plaestra atualizada para o PHP Conference 2007
Read More
PHP Conference 2007: Dia #1
- December 1, 2007
Um dia muito produtivo neste inicio do PHP Conference. Já na noite anterior, na quinta, pude encontrar com alguns colegas e colocar caras nos nomes de alguns. No proprio aeroporto já tive a surpresa de encontrar o Almir Neto de goiania, que esteve presente no nosso evento do PHPDF, e o Manuel Lemos. No hotel coloquei um rosto no nome Silvano Jr e no Tatto ambos de Floripa, e no Er Galvão que dividiu o quarto comigo.
Read More
Rumo ao PHP Conference 2007 e o WebdevCamp
- November 29, 2007
Malas prontas, palestra revisada, tudo pronto para seguir a caminho de São Paulo.
Read More
BlogBlog UserInfo Plugin goes PHP5!
- November 22, 2007
Após muito ponderar sobre a compatibilidade do plugin, tomei uma decisão não radical, mas bem objetiva. Seguindo a filosofia do goPHP5 o BBUInfo não mais suportará a versão 4 do PHP, e trará todas as novidades e melhorias do PHP5 para seu rol de features.

PHP Conf' 2007: Novidades e palestra!
- November 8, 2007
Esta chegando aquela época do ano denovo, no final de novembro será realizado o PHP Conference 2007, assim como foi realizado o 2006 no ano passado. Porém este ano promete ser diferente para mim. Enquanto ano passado fui apenas um congressita, este ano estarei (se nada sair errado) palestrando no evento, sobre AJAX, e representando o PHPDF.

"BlogBlogs User Info" entra em novo ciclo de desenvolvimento
- October 29, 2007
O plugin BBUInfo entrou em ciclo de desenvolvimento novamente. Isso significa que retomei o projeto para dar continuidade às alterações planejadas pra a versão 1.0.
Read More
Recomendação de livro: PHP Orientado a Objetos
- October 15, 2007
Enquanto minha cópia não chega, vou deixando aqui minha recomendação para depois entrar em detalhes após a leitura.

OpenAds - Gerenciamento de Banners OpenSource
- July 24, 2007
Eu sou o tipo de pessoa que não ganha nem sorteio marcado de festa junina, então foi uma tremenda surpresa para mim receber um email da equipe OpenAds, dizendo que eu havia ganho uma camiseta.
Mas tudo indica que foi mais um golpe do destino do que apenas sorte. Acontece que quando recebi o contato do Oliver George da equipe OpenAds ele realizou uma pequena entrevista e acabamos por conversar além do que apenas sobre o sorteio.
Read More
PHP e Ajax com XAJAX
- July 16, 2007
Palestra ministrada no 1º PHPDF RoadShow em maio/07. A palestra apresenta o conceito de AJAX e mostra dois caminhos para seu aprendizado, com ou sem frameworks e bibliotecas.
Read More
Novo Plugin: BlogBlog User Info
- July 3, 2007
Algum tempo atrás fui procurado por Manuel Lemos, criador do BlogBlogs para participar do projeto BlogBlogs API. O objetivo deste grupo de “figurinhas carimbadas” da blogosfera era grandioso, desenvolver a nova API do BlogBlogs e botar na “rede” novas ferramentas, widgets e diversos recursos para aproximar o BlogBlogs de seus usuários.
Isso foi por torno de 16 de Março, e logo pensei em fazer um plugin que utilizasse os dados de cada usuário e agregasse valor aos comentários dos blogs. Comecei o trabalho mas tive que parar em alguns momentos devido a falta de tempo, mas recentemente retomei o trabalho e hoje apresento os frutos.
Read More
Adicionando texto em imagens em tempo real
- June 18, 2007
Com o uso de PHP e a biblioteca GD, a manipulação de imagens, editando e inclusive inserindo textos antes de apresetar a imagem ao usuário se torna uma tarefa simples. Como estes dias tive de recorrer a este recurso para gerar cupons “on the fly” no site ComuniWEB, decidi escrever um artigo mostrando como isso é possível e apresentando a simplicidade da tarefa.
Read More
dmsAutoComplete versão 1.3
- May 29, 2007
Após alguns meses de atraso devido a coisas mil (PHPDF Roadshow, BlogBlogs…) tive tempo de voltar ao meu script de autocomplete para a manutenção rotineira dele.
O primeiro passo que tomei foi re-organizar meu gerenciador de projetos pois ela havia sido “vandalizado” por robôs spammers que bagunçaram tudo, mas graças ao conceito de “history” consegui corrigir tudo.
Read More
PHPDF RoadShow e Material do Mini-Curso de PHP e AJAX com XAJAX
- May 21, 2007
Meses de preparo, muito trabalho e enfim, evento realizado. Muita correria, problemas de última hor, mas de outro lado muitas pessoas, muito interesse e muito sucesso.

Mini-curso: PHP e AJAX com XAJAX
- May 17, 2007
Se você esta procurando aprender a utilizar AJAX aplicado em sistemas PHP e é do DF, não perca esta oportunidade!
Read More
1º PHPDF Roadshow
- April 26, 2007
Será realizado no dia 19 de maio o 1º PHPDF Roadshow, primeiro grande evento de PHP do Centro-Oeste e a inauguração oficial do PHPDF, comunidade de desenvolvedores do Distrito Federal.

1º PHPDF Pocket - Chamada para trabalhos
- March 16, 2007
O PHPDF anunciou esta semana uma extensão no prazo de envio das propostas de palestras até o dia 21/Março, adiando o evento para primeira quinzena de Abril conforme requisitado pelos seus parceiros de realização.
Read More
Optimizing code with __autoload()
- March 13, 2007
With the advent of PHP5 a new tool was available to all who wished to optimize their code, its called __autoload. This function can reduce the time lost by having to include object and class files in your code. But how do you proceed in creating an __autoload function to optimize code?
Read More
Estendendo o Smarty: TinyMCE
- March 12, 2007
(Nota: sim estender não extender)
Uso, e recomendo, a utilização do Smarty em qualquer projeto PHP. Porque?
Bem tenho inúmeros motivos para fazer esta recomendação, mas neste post vou me limitar a apenas citar alguns, pois não é o objetivo.
- Separar PHP e HTML: código limpo, manutenção fácil
- Code e Layout em paralelo: agilidade no trabalho em equipe
- Funções de maquiagem: formatar data, wordwrap, funções que dizem respeito a visualização, ficam na visualização
- Funções customizadas: estender o Smarty é simples e útil
É neste ponto, o número 4 que vou focar este post, utilizando o tinyMCE como exemplo.
Read More
PHP DF: A comunidade de PHP no DF
- March 6, 2007
A muito tempo já venho falando sobre a comunidade PHP no Brasil, mas hoje tenho o orgulho de anunciar o lançamento oficial do grupo de usuários PHP no Distrito Federal. Após muita discussão, vários drafts, e mais discussão finalizamos, com a ajuda de minha amiga Yasodara, conseguimos finalizar a logomarca do grupo e lançar um beta de nosso site.

Livro: PHP-GTK - 2ª Edição
- February 28, 2007
Segunda a noite tive a felicidade de conversar com meu grande amigo e autor do Livro PHP-GTK, Pablo Dall’Oglio.
Read More
dmsAutoComplete v1.2
- February 27, 2007
Estou liberando hoje o novo release do meu script que é capaz de gerar sugestões no preenchimento de campos de texto.
Após as melhorias da versão 1.1 esta nova versão, a 1.2, traz poucas melhorias, mas permite ampliar o universo de aplicações onde este script pode ser utilizado, além de corrigir alguns erros enviados pelos usuários.
Read More
Automação Residencial usando PHP
- January 18, 2007
Ao concluir meu curso de graduação, Engenharia da Computação, desenvolvi este projeto final. Desde que iniciei o blog me prometi postar um artigo sobre o mesmo e disponibilizar o projeto na sua integridade, então agora sim cumpro minha promessa.
Read More
errorHandler: Gerenciando erros
- January 15, 2007
Projetando um novo sistema, que irá incorporar 5 sub-sistemas, percebi que eu iria precisar de um gerenciamento de erros mais evoluído, e que me fornecesse mais detalhes para lidar com erros encontrados.
Decidi então criar um gerenciador de erros customizado que pudesse gerenciar totalmente os erros do site, tomando as atitudes necessárias quando fosse requisitado. Com ele em etapa de testes agora decidi compartilhar um pouco da experiência.
Read More
Otimizando código com __autoload
- January 10, 2007
O advento do PHP5 trouxe consigo outra ótima ferramenta para otimizar seu código, se trata do __autoload. Esta função pode reduzir o tempo perdido na hora de se incluir arquivos de objetos e classes em seu código. Mas como otimizar e criar uma função __autoload?
Read More
Documentação e Best Practices: Um caso de uso
- January 4, 2007
Documentação, a palavra mais assustadora e antipática criada dentro do ambiente de desenvolvimento.
Read More
PHP Conf Brasil 2006: Entrevista
- December 22, 2006
Foi publicada hoje no site da ProPHP a entrevista que dei para um dos membros da organização do evento, o Ricardo Striquer.
Read More
Semana de Updates na Comunidade PHP
- December 19, 2006
Os últimos dias tem apresentado uma grande movimentação na comunidade PHP, desde o core até os frameworks. A primeira atualização vista foi o lançamento do PHP 5.2.1 RC2 que, embora seja apenas um release candidate, já traz consigo o novo compilador para uso no sistema operacional Windows. Esta atualização promete uma melhora significativa no desempenho do PHP em plataformas da Microsoft.
Read More
dmsLiveList: Lista de itens em Tempo Real com AJAX
- December 12, 2006
No meu local de trabalho temos um Portal de notícias e uma intranet. Na intranet apresentamos noticias do Portal, como ela esta sendo reformulada, decidi me livrar do iframe e buscar alguma forma de manter uma lista de notícias atualizadas sem que isto ocorra junto a um refresh da página.
Como a necessidade é a mãe de toda invenção, surgiu a idéia de usar AJAX de forma a satisfazer esta minha necessidade. Comecei então este script, simples inspirado na seção “DiggSpy” do Digg.com. Veja como podemos implementar este script no resto do post.
Read More
Google Maps API: Um exemplo prático e comentado
- December 6, 2006
Esta semana montei um serviço bem simples para poder testar o uso da API do Google Maps. O serviço foi oferecido aos congressistas do evento PHP Conference Brasil 2006 e era bem simples: cada um entrava e deixava marcado seu ponto de origem, com isso obteríamos um mapa demonstrando de onde os participantes vieram e quantos kilometros viajaram.
Ainda restam aplicar algumas funções à este serviço, mas ele serviu como meu teste inicial. Resolvi então abrir o código fonte e o fluxo de dados do serviço para que vocês possam conhecer e quem sabe começar utilizar a Google Maps API também.
Read More
PHP Conference Brasil - 2º Dia
- December 3, 2006
Segundo e infelizmente último dia do PHP Conf. O dia começou bem quando pude conversar com Derrick Rethans (programador do core) pela manha no lobby do hotel. Um conversa descontraída sem muitos assuntos tecnológicos, afinal eu não iria cansar a cabeça dele antes da palestra eu ele iria dar logo em seguida.
Read More
PHP Conference Brasil - 1º Dia
- December 2, 2006
E assim o primeiro dia do PHP Conf passou, e muito foi discutido e apresentado. Alguns problemas de logística e outros de organização, mas mesmo somando-se estes a uma ou outra palestra que não atingiu a meta não tirou o brilho das palestras que se destacaram, e me surpreenderam muito inclusive.
Read More
Rumo ao PHP Conference Brasil
- November 30, 2006
Por algum tempo espero a oportunidade de comparecer a uma conferencia de PHP. Infelizmente não pude ir para a International Conference em Frankfurt, pois ainda estava “fora do orçamento”. Depois de muito esperar a iniciativa de fazer uma conferencia de PHP foi finalmente concretizada aqui pelo Brasil.

Comunidade PHP no Brasil
- November 20, 2006
A pouco tempo percebi que a comunidade PHP do Brasil estava meio “desunida” e esquecida. Um exemplo claro disso foi o abandono do site PHPBrasil que simplesmente parou no tempo, e ainda carrega o título defasado de maior site de PHP Brasileiro. Ultimamente estou me surpreendendo com muitas novidades na comunidade PHP do Brasil.
Read More
Apache vs. LightHttp: função echo
- October 29, 2006
Na versão em inglês do meu blog recebi um comentário estes dias que me deixou, “boiando”. No artigo sobre RSS onde eu apenas echoava o conteúdo do RSS usando a função “echo” do PHP. O usuário “BrokenToy” relata que teve alguns problemas utilizando a mesma solução no servidor Lighthttp, pois um “lixo” sempre aparecia no final do arquivo, evitando a validação do XML.
Read More
dmsAutoComplete v1.1 - ChangeLog
- October 2, 2006
Recently I published an updated version of my auto-complete (Google suggest) script compatible with IE and FireFox and based on PHP/AJAX.
After publishing version 1.0, I had some feedback from people who downloaded an tested it, so now I decided to correct some of the bugs that were found, and make a few improvements also. So now I’m going to publish version 1.1, check out some of the changes I made.
Read More
Programação, códigos e Paris Hilton
- September 24, 2006
Passeando pelo Digg.com encontrei alguma pérolas sobre programação que vou compartilhar com vocês. Achei estranho quando vi os respectivos títulos, mas após ler os artigos verifiquei que o conteúdo era bem interessante e intrigante até, eu diria.
Read More
A study on RSS - Part 2: The RSS format
- September 18, 2006
In the last article I made a simple introduction to what is an RSS Feed and showed the path to creating XML files in PHP. Now it’s time to explain the RSS file structure along with some basic history.
Read More
strtotime() - is it useful?
- September 15, 2006
Every now and then I get e-mails with questions that ask “How can I add X days to a given date?”, “How can I figure the day that corresponds to next thursday?”, and others along the same line. It scares me when I see replies that include enormous codes that execute innumerous function even including some bizarre leap year determination algorithms, I just can’t understand why all the complication and fuss.
The strtotime() function exists to solve these problems and i plan to introduce you to it and show a few usage examples. Also I’m going to check function performance using a simples benchmark comparison.
Read More
Um estudo em RSS Parte 3: Publicando seu feed
- September 7, 2006
Nos últimos posts aprendemos o que é um Feed RSS, como surgiu, qual é sua cara e como ler suas informações. Agora chegou a hora de juntar tudo isso e descobrir como criar um RSS do seu site, publicando as suas notícias para que todos possam conferir.
O cenário de testes que vou propor se tratará de um site simples de notícias, por exemplo, um site corporativo que deseja divugar as novidades sobre sua empresa ou ramo. Vamos detalhar a base de dados e mostrar de forma geral como transformar os dados da tabela em um feed RSS atualizado.
Read More
Widget: BlogBlogs.com.br - Favoritos
- August 26, 2006
Com a publicação da API pública do BlogBlogs se tornou possível desenvolver plugins para utilizar os dados de lá em seus blogs, com este widget você poderá listar em sua página uma lista dos seus favoritos (do site BlogBlogs.com.br), sincronizada com qualquer atualização que for feita.
Read More
dmsAutoComplete v1.1
- August 9, 2006
Publiquei hoje a atualização do meu script de auto-complete (google suggest) compatível com IE e FireFox e baseado em PHP/AJAX.
Depois de publicar a primeria versão do script e com a ajuda de alguns usuários que fizeram testes e utilizaram o script, encontrei algusn errinhos simples nele. Portanto sentei estes dias para achar algumas soluções e agora estou publicando a versão 1.1. Confira algumas das mudanças a seguir neste post.
Read More
strtotime() - Pode ajudar?
- August 3, 2006
Volta e meia recebo emails onde vejo perguntas de “Como somar X dias a uma data?”, “Como descubro quando é a próxima quinta?”, e muitas outras assim. Me assuto ao ver respostas enormes com códigos que fazem de tudo, até calcular dias levando em conta um algoritmo maluco q determina ano bisexto… não entendo porque complicar tanto.
A função strtotime() esta ai para isso, nesse posto vou apresentar ela e mostrar casos simples de uso onde ela é muito eficaz. Além de verificar a performance da função utilizando um benchmark simples.
Read More
AJAX e Acentos
- July 31, 2006
Surfando pelos blogs procurando um novo tópico para postar acabei caindo no blog do Gustavo Paes em um artigo que falava sobre problemas de acentos no AJAX. Vou aproveitar então e refletir sobre este assunto também.
Read More
PHP5 - 5 curiosidades
- July 26, 2006
Gregory Szorc postou no seu blog um artigo curto mais interessante sobre PHP.
Read More
Picotando e maquiando URLs
- July 25, 2006
Seu site funciona na base do index.php?idpag=23&idproduto=343 ? Cada vez que você vai passar um URL você tem que explicar o que é a “?” e esses id* da vida?
Acabe com isso, facilite a vida do seu usuário e aumente até o acesso ao seu site com uma simples solução, mod_rewrite. Veja como implementar este módulo do Apache em seu servidor, neste post.
Read More
PHP5 e o mercado
- July 18, 2006
Em julho de 2004 foi lançado o PHP5, naquele momento se tratava apenas de uma experiencia que como tudo que é novo trouxe muita resistência por parte dos desenvolvedores, só de se pensar em adaptar scripts antigos programadores se contorciam.
Read More
Developing an auto-complete script with AJAX/PHP
- July 17, 2006
Working on on Management system for the Comercial department I received innumerous requests saying “but can’t you show me the client’s name as I type here?”. Well I wish the words were as poetica as those but what really happened is that they were mixing up the registered clients with IE auto-complete feature, well you know, users will be users.
Read More
A study on RSS - Part 1 XML DOM
- July 15, 2006
RSS, today someone asked me, “what is this?”
Well, I know what it is, but at that moment the words failed me, especially the “non-programmer” words, so as to explain to “the common folk” the true meaning of it and some of its uses. So i decided to write this series of posts, don’t know how many or which sequence I’ll follow but i guarantee i will try to cover all the basics.
Read More
Um estudo em RSS - Parte 1: XML DOM
- July 13, 2006
RSS, hoje me perguntaram “o que é isso?” Eu sei o que é, porém na hora me faltaram palavras para explicar, especialmente palavras que um não-programador consiga absorver de forma a compreender o conceito e seus melhores usos. Portanto com essa série de posts, não sei quantos nem se vou escrever na ordem, mas garanto que vou tentar cobrir tudo.
Read More
Desenvolvendo um auto-complete com PHP e Ajax
- July 10, 2006
** Script atualizado para versão 1.1, clique aqui para ver os detalhes **
Desenvolvendo uma solução de sistema de gerência para o Dep. Comercial do ComuniWeb recebi inúmeros pedidos de “mas não pode aparecer os nomes dos clientes quando vou digitando?”. Ok não foi tão lindo e poético assim, na verdade o que acontecia era que o auto-complete padrão do IE causava uma confusão enorme nos usuários (usuário é usuário né?).
Me vi então cara a cara com um problema, como resolver este problema? Precisava que um script ao tempo que a pessoa digitava fizesse uma busca no banco para retornar a lista de clientes e o seu vendedor, isso tudo num browser. Se o tmepo hoje fosse alguns meses atrás (não muitos) eu falaria “impossível, estamos falando de web, nao delphi ou VB!”. Alás que surgiu o xmlHttpRequest e tudo mudou…
Read More
Anti-Spam Images
- July 8, 2006
Vamos começar então pelo passado, antes de apresentar meus mais novos projetos vou começar pelo primeiro script ou classe que eu ofereci ao público em geral.
Read More
Vírus de web 2.0
- July 8, 2006
Me ocorre que esta notícia pode ser muito velha para alguns, mas estou apenas agora começando minha incansável busca por novas informações vou relatar.
Read More