
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.
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