Showing 2 entries tagged with “Best Practices”.

Great Website Format

I’m currently developing on the Amazon Flexible Payment Services platform. To simplify the process, I’m using a rubygem created by Tyler Hunt called Remit.

I looked up Tyler’s blog to take a look at what he’s up to, and the format really struck me. It looks like it’s a 3-way mashup of his Del.icio.us, Twitter, and Netflix activity feeds.

Simple. To the point.

Kind of what I was going for on the front page of this site. Me likey.

Put Your Javascripts At The Bottom

Most likely you’ve been taught to put your javascript <script> tags in the <head>. Well, according to the Yahoo! Exceptional Performance team, you shouldn’t. In fact, they advocate that you should place your javascript <script> tags at the very bottom of your document—just above the </body> closing tag.

If external javascript files are included in the <head>, the browser downloads those js files before rendering the rest of the page. Who wants to wait? If you include the scripts at the bottom of your document, the page loads up then fetches the scripts. In most cases, this is desirable.