Archives For html

A team of very smart Web developers recently posted “How to lose weight (in the browser)”. This is a front-end guide to improving the performance of your Web site.

Continue Reading...
This entry is part 4 of 8 in the series Processing Payments with Stripe

Once you’ve created a Stripe account and have acquired an SSL certificate, you’re ready to write the form through which you’ll accept payments to be processed via Stripe. This is surprisingly simple to do, and completely secure when done right. In this post, I’ll explain what you need to do with your HTML.

Continue Reading...

Learn to Write

May 18, 2012

There was a recent posting by Jeff Atwood titled “Please Don’t Learn to Code“, which received a lot of recent discussion. It’s a bit silly, to me, because the impetus for that post—a tweet by NY Mayor Bloomberg suggesting he was going to learn to code in 2012—was almost certainly sent out as a promotional message for a NYC-based company (CodeAcademy), not as a sincere expression of the mayor’s side interests. In any case, Atwood’s piece came across to some as unnecessarily harsh, and while it’s hard to argue that everyone should learn to code, it’s also elitist to suggest that people should’t learn X because they’re not going to be able to do it in a way you think is right.

The reason I mention Atwood’s piece is because Rands in Repose had a very nice reaction post titled “Please Learn to Write“. Maybe it’s because I am a writer, but the suggestion—Hey, if you want to improve yourself, communicate better.—rings true to me.

The Protocol-Relative URL

November 8, 2011

Some time back, I came across this excellent nugget of information that Paul Irish has put forth about the protocol-relative URL. I don’t want to reveal the details here (it’s a short article, and you ought to read it), but the gist is that there’s a very simple way to link CSS, images, JavaScript, and whatever other resources so that they’ll be served over HTTP on HTTP pages and provided over HTTPS on HTTPS pages. I wish I had thought to use this when I wrote my e-commerce book (instead of using two different header files)! Sometimes the simple solution is the most brilliant one…

I StumbledUpon this post on the 30 HTML Best Practices for Beginners. It’s a good read, even for non-beginners (especially if you’re the type that likes validation of what you’re already doing). The suggestions cover merely coding to what tools you should be using. Check it out!