![Adding text to images in real time with PHP](/images/blog-placeholder-8_hu23ae86f4e3996e91bedcbc328a30bd38_114889_420x184_fill_q80_h2_lanczos_smart1_3.webp)
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()](/images/blog-placeholder-2_hu32ab3751696a3682182a428bc970c85a_166110_420x184_fill_q80_h2_lanczos_smart1_3.webp)
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](/images/blog-placeholder-10_hudb2d4221873f5f552d94bc7cea60e8f0_155292_420x184_fill_q80_h2_lanczos_smart1_3.webp)
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