First ColdFusion 8 website in production

Today, I upgraded website www.wheelsnext.com to Adobe's ColdFusion 8. So far everything seems fine. I just did couple changes to the Java memory settings, had to set again the class path to couple cfx tags and everything else CF 8 migration wizard took care.

I hope with this upgrade to fix some Jrun error issues we had with CF7. And also feel the improvement in speed that the CF community have been telling around.


Hoje, eu fiz o upgrade do site www.wheelsnext.com para o ColdFusion 8 da Adobe. Até agora tudo parece bem. Só tive que fazer algumas mudanças nas configurações JVM, tive que setar novamente o class path de duas CFX tags usadas e tudo mais o assistente de migração dele resolveu.

Espero que com esse upgrade os problemas com erros de Jrun sejam resolvidos para esse site. E tambem experimentar a melhora em performance que a comunidade CF tem falado tanto.

jquery, thickbox and iframe

I am using jquery's thickbox 3.1 for an image gallery. My problem started because the previous developer made the site using iframes. I strong recommend you not using iframes or frames, and there are many reasons for you to not using them.

Of course this is a hack, and the best scenario you shouldn't use frames and then do the coding in "perfect" manner.

In order to make the thickbox work inside an iframe you must do the following:

1 - Add jquery and thickbox files to both main and iframe pages. This is required so the previous and next link works on the inline popup (thickbox).

2 - Make the following changes to the thickbox.js file

2.1. - Replace the code inside the function tb_init(domChunk) tb_show(t,a,g); to self.parent.tb_show(t,a,g,window);

2.2. - Replace function TB_show(caption, url, imageGroup) to function TB_show(caption, url, imageGroup, refWindow)

2.3. - Replace TB_TempArray = $("a[@rel="+imageGroup+"]").get(); to TB_TempArray = refWindow.$("a[@rel="+imageGroup+"]").get();

2.4. - Replace tb_show(TB_PrevCaption, TB_PrevURL, imageGroup); to tb_show(TB_PrevCaption, TB_PrevURL, imageGroup, refWindow);

2.5. - Replace tb_show(TB_NextCaption, TB_NextURL, imageGroup); to tb_show(TB_NextCaption, TB_NextURL, imageGroup, refWindow);

3 - Now the code for your links must be something like this:

<a href="pathToBigImage/bigImageName.jpg" class="thickbox" rel="yourGalleryName" onclick="self.parent.tb_show((this.title || this.name || null),this.href,(this.rel || false), window);return false;"><img src="pathToSmallImage/smallImageName.jpg" alt="Image Title" title="Image Title" border="0"/></a>

That's all you need. It took me while to figure this out. On the internet I found some information but it was confusing so I decided to compile everything in one post. I hope this helps anyone looking to do the same.

Google maps now includes Brazilian traffic

I am a big Google fan. I love the way they make simple things so effective. Google Maps is one of the most amazing web applications that I use on a daily basis. Google docs and Gmail are also amazing.

Today, my friend Fabio from CFGIGOLO posted about them now been able to route the Brazilian streets. Not only big cities but small ones like where I came from. That's amazing since the streets and the traffic in my country it is not so organized as in the USA and Europe. Thumbs up for Google again! ;)

p.s.1: After playing a little with Google maps in Brazil. I can just say that there's a lot to improve. At least on my city, Fortaleza - Brazil. The traffic information is totally wrong.

I'm on technorati.com

Must have books for web developers / Livros todo desenvolvedor web tem que ter

I am addicted to IT books. If this blog helped you somehow and you want to contribute please visit my amazon wish list

  • T-SQL (SQL Server 2000)
    1. To become a guru: All from Ken Henderson
    2. For begginers in T-SQL: SQL Server 2000 Programming by Example - Rojas
  • PHP
    1. PHP and MySQL Web Development - Luke Welling and Laura Thomson
  • ColdFusion
    1. All from Ben Forta
  • Javascript
    1. Javascript bible (gold edition)
  • CSS
    1. All from Eric Meyer
  • MySQL
    1. Quick Guide MySQL Crash Course - Ben Forta
    2. For critical web systems: High Performance MySQL - Jeremy D. Zawodny and Derek J. Balling
  • Web server performance and optimization
    1. Performance by Design: Computer Capacity Planning By Example


Eu sou viciado em livros especialmente de Tecnologia da Informação. Se esse blog lhe ajudou de alguma forma e vc quer retribuir por gentileza visite minha lista na amazon.com

Segue uma lista de livros que recomendo para todos os desenvolvedores web que trabalham fazendo sites dinâmicos. 

  • T-SQL (SQL Server 2000)
    1. Para se tornar um guru: Todos do Ken Henderson
    2. Para iniciantes em T-SQL: SQL Server 2000 Programming by Example - Rojas
  • PHP
    1. PHP and MySQL Web Development - Luke Welling and Laura Thomson
  • ColdFusion
    1. Todos do Ben Forta
  • Javascript
    1. Javascript bible
  • CSS
    1. Todos do Eric Meyer
  • MySQL
    1. Guia Rápido: MySQL Crash Course - Ben Forta
    2. Para sistemas criticos: High Performance MySQL - Jeremy D. Zawodny e Derek J. Balling
  • Web server performance and optimization
    1. Performance by Design: Computer Capacity Planning By Example

Why Another Blog / Por quê mais um blog

I was writing some time ago for a well known Brazilian ColdFusion Blog. But since I didn't have much time to post often I end up not doing any more.

Now, that I have again some time, I will continue posting my opinion and views on web development and in particular database driven websites built using mainly ColdFusion or PHP using either SQL Server or MySQL.

The other reason I decided to start blogging again is to help the Brazilian Web Developer Community to improve theirs own application by giving some tips, hints, advices, comments on everything I use professionally. This blog will be, as much I can, in two languages. English and Portuguese. Sometimes I will post in only one or the other. If you think I should translate any post let me know.

I will try to keep this blog updated as much as I can. Any comments, suggestions, corrections or feedback is very welcome.

Thank you for visiting this site.


 


Há algum tempo atrás eu estava escrevendo para um blog brasileiro sobre Coldfusion muito popular no Brasil. Mas como não tinha tempo suficiente para postar frequentemente acabei por não o fazendo mais.

Agora, que eu tenho um pouco de tempo, irei continuar postando minha opinião e visão sobre desenvolvimento web em particular para sites desenvolvidos com bancos de dados usando principalmente ColdFusion ou PHP usando SQL Server ou MySQL.

Tentarei manter esse blog atualizado o máximo que puder. Quaisquer comentários, sugestões, correções ou elogio é bastante apreciado.

O outro motivo que influenciou a postar em um blog novamente é para ajudar a comunidade brasileira de desnvolvedores web para melhorarem as suas aplicações dando dicas, conselhos e comentários em tudo que uso profissionalmente.

 Esse blog será, na medida do possível, em duas linguas. Inglês e Português. Algumas vezes irei postar em apenas uma ou outra lingua. Se vc pensa que algum post deveria ser traduzido me avise.

Obrigado por visitar esse site.


Consumed By Feed-Squirrel.com