Articles
- Home /
- Articles

Google Code Search
- October 5, 2006
Hoje o Google dá um passo a mais em sua relação com os desenvolvedores de todo mundo, inaugurando o Google Code Search. Sim isso mesmo que falei, uma ferramenta de busca dentro de códigos fonte.
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
Using User-Defined Varibles in MySQL
- September 28, 2006
Cast the first stone he who never made a mistake modeling a database! Every now and then in your career you will be face to face with a problem like this: due to the nature of a table’s data you created a table without a primary key, or using a composed key. So far so good, but due to an upgrade you see the need to have a unique key identifying all the registers in your table, in my case it was due to a AJAX interface.
So what now? You have a table full of data, and of course, as Murphy’s law will tell you, that data cannot be erased. MySQL will prevent you from turning a filled to a primary key if it finds duplicated values in the table. Quite a brain twister, but I did a little research and found a rather simple solution to the matter.
UPDATE: So it actually came to my atention that a query I had already tried does the job in an even simpler form, but my modelling tool executed the commands out of sync and that why i had problems. So this article stays on as a good example of how to use mysql variables.
Read More
Utilizando Variáveis definidas pelo usuário no MySQL
- September 27, 2006
Que jogue a primeira pedra quem nunca errou na projeção de um banco! Uma vez ou outra em sua carreira você vai se ver frente a frente com um problema como este: uma tabela foi criada, devido ao seu formato e os dados não é necessária a presença de uma chave primária, ou é utilizada uma chave primária composta, abrangendo mais de um campo. Até então tudo ok, mas com novidades e um upgrade do sistema, você percebe a necessidade de criar um campo de auto-increment para ser sua chave primária, no meu caso para facilitar uma interface em AJAX.
E agora? Você tem uma tabela cheia de dados, que devido a Lei de Murphy você não pode apagar. Com isso o MySQL não deixa o campo ser adicionado/alterado como auto-increment e chave primária. Um labirinto e tanto, mas com algumas pesquisas e alguns neurônios fritos achei uma solução para rodear este problema.
ATUALIZAÇÃO: Fui informado de que havia uma falha na minha lógica e usando uma simples query o mesmo resultado pode ser obtido (eu havia tentado porém minha ferramenta de modelagem executava os comandos em ordem diferente por isso tive problemas), portanto vou coloca-la no final do artigo, mas materei este artigo como um bom exemplo de como se pode usar variaveis definidas pelo usuario no MySQL.
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
Diggs
- September 19, 2006
Escrevo hoje com um profundo ar de orgulho e inspiração. Este fim de semana um antigo artigo (Um estudo em RSS - Parte 1: XML DOM) meu traduzido para o inglês foi submetido ao site www.diggs.com. Até então nada fora do comum, mas durante uma palestra do Adobe Users Group - DF no sábado, enquanto discutia a tendencia das tecnologias e o grande enfoque na difusão e democratização da informação, tive uma surpresa.
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
AJAXOnline.com.br
- September 12, 2006
Na semana passada a internet brasileira passou a contar com mais um portal, o AjaxOnline.com.br. O portal, uma iniciativa da empresa Fusion Design, tem como missão representar o AJAX no Brasil, já que muitos desenvolvedores se encontram “orfãos” de um portal que reuna informações sobre este assunto em nosso idioma.
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 MoreCategories
- Ajax ( 18 )
- Análises ( 1 )
- Apache ( 2 )
- Books ( 8 )
- Career ( 23 )
- Carreira ( 1 )
- Community ( 4 )
- Companies ( 1 )
- Conferences ( 34 )
- Desenvolvimento ( 4 )
- Development ( 12 )
- DevOps ( 2 )
- Dicas E Truques ( 3 )
- Empresas ( 1 )
- Eventos ( 1 )
- Gaming ( 1 )
- Javascript ( 9 )
- Lego NXT ( 1 )
- Microsoft ( 1 )
- MySQL ( 5 )
- PaaS ( 1 )
- Pessoal/Off-Topic ( 37 )
- PHP ( 123 )
- Plugins ( 7 )
- Review Me ( 1 )
- Reviews ( 4 )
- RSS ( 6 )
- Ruby on Rails ( 2 )
- Security ( 3 )
- Software / Systems ( 4 )
- SPL ( 1 )
- Technology and Web ( 28 )
- Tecnologia E Internet ( 1 )
- Tips and Tricks ( 5 )
- Tools ( 5 )
- Web 2.0 ( 21 )
- Wordpress ( 8 )
- XML ( 17 )
Tags
- #010php
- #1.2.0
- #20yearsofphp
- #adobe
- #adr
- #adr-tools
- #ajax
- #ambiente
- #amsterdam
- #amsterdamphp
- #analise
- #and
- #angry-birds
- #annotations
- #apache
- #application
- #apps
- #artigo
- #augdf
- #automacao
- #azure
- #bbfavs
- #bbuinfo
- #better
- #blog
- #blogblogs
- #blogging
- #blogosfera
- #book
- #brasil
- #bundle
- #calisthenics
- #call-to-action
- #cape
- #captcha
- #career
- #career-information
- #carreira
- #clean code
- #cloud
- #code
- #code-quality
- #code-review
- #coding
- #cognitive
- #colaphp
- #communication
- #community
- #composer
- #composer-lock
- #composerphp
- #computing
- #comunidade
- #conaphp
- #conferecence
- #conference
- #conferencia
- #confoo
- #contribuindo
- #contribute
- #cparty
- #cparty2011
- #cpbr4
- #crescimento
- #css
- #curvycorners
- #datetime
- #debugging
- #decisions
- #dependency
- #dependency management
- #derick-rethans
- #des-sobrinhacao
- #desenvolvedor
- #desenvolvimento
- #developer
- #development
- #development-cycle
- #dicas
- #directoryiterator
- #dms
- #dmsautocomplete
- #dom
- #domcode
- #dpc13
- #Economic
- #elephpant
- #enablers
- #encontro
- #enterprise
- #erros-da-midia
- #escrevendo-artigos
- #evento
- #eventos
- #events
- #expats
- #feedalizr
- #ferramentas
- #filtering
- #flex
- #fql
- #framework
- #friendfeed
- #friends
- #futuro
- #gaming
- #gd
- #git
- #github
- #google-friendconnect-community-blog
- #graph-api
- #growth
- #hiphop
- #hire-me
- #hire-my-team
- #how-to
- #IC
- #ide
- #ideasofmarch
- #iis
- #include
- #inspiration
- #install-instructions
- #introduction
- #iterators
- #jab14
- #jandbeyond
- #javascript
- #jedi
- #jono-bacon
- #keynote
- #kickstarter
- #kings
- #knowledge
- #languages
- #league
- #lego
- #lego-nxt
- #livro
- #livros
- #magazine
- #magento
- #management
- #meme
- #metrics
- #microsoft
- #mswds
- #mudanca
- #mysql
- #namespaces
- #nan
- #netbeans
- #networking
- #news
- #nokia
- #o-reilly
- #object
- #object-calisthenics
- #of
- #openads
- #openx
- #opportunity
- #orchestra
- #orientation
- #paas-2
- #packagist
- #pagodabox
- #palestra
- #palestras
- #panel
- #performance
- #pessoal
- #pessoal-off-topic
- #php
- #php-conference
- #php-conference-brasil
- #php-sdk
- #php-zce
- #php53
- #php_ajax
- #php_magazine
- #phparch
- #phpbc
- #phpbenelux
- #phpbnl12
- #phpbnl16
- #phpbr
- #phpc
- #phpce18
- #phpconf
- #phpconf2008
- #phpconfbr
- #phpconfbrasil2008
- #phpconferencebr
- #phpdf
- #phpjhb15
- #phpms
- #phpsp
- #phpspcast
- #phpsptestfest
- #phpsrb16
- #phpstorm
- #phpt
- #phptestfest
- #phpugmrn
- #phpugs
- #phpunit
- #planos
- #plugin
- #plugins
- #podcast
- #portuguese
- #problem
- #process
- #productivity
- #professional-growth
- #profissional
- #programacao
- #projeto-final
- #projetos
- #prometheus
- #publicacoes
- #puzzle
- #qa
- #qr
- #qr-code
- #quality
- #readability
- #readable-code
- #refactoring
- #retrospectiva
- #review
- #review-me
- #rss
- #ruby
- #rubyonrails
- #screencast
- #sdk
- #sec
- #security
- #seguranca
- #sessions
- #shiflett
- #sla
- #slack
- #sli
- #slo
- #smartphone
- #smartphones
- #smarty
- #solid
- #solving
- #spl
- #sre
- #stable
- #staffplus
- #star-wars
- #stupid
- #swat
- #symfony
- #tagging
- #tdd
- #team-lead
- #tech
- #technology
- #tecnologiaweb
- #tek09
- #tek13
- #tekx
- #telefonia
- #test-users
- #testes
- #testfest
- #testfest09
- #testing
- #tests
- #thinking
- #tinymce
- #tips
- #tips-and-tricks
- #town
- #tricks
- #trilhando-o-caminho-php
- #trilhando_php
- #tutorial
- #twig
- #ug
- #ugs
- #unconference
- #unit
- #user-groups
- #web
- #web-20
- #web2.0
- #webinar
- #webpi
- #widget
- #windows
- #wordpress
- #workflow
- #wrap-up
- #xajax
- #xdebug
- #xml
- #zce
- #zendcon
- #zendcon08