Archives For JavaScript

In conjunction with my “How to Become a Web Developer” presentation, given to the Boston PHP user group on December 12, 2012, I’ve composed this page of Web developer resources. Such lists can quickly become overwhelming, and therefore less useful, so in compiling it, I’ve tried to stick to resources that meet at least one of the following criteria:

– Are de facto standard resources
– Contain information not found elsewhere or not explained as well elsewhere
– Present a unique perspective

So while the Web is happily overrun with useful resources, those listed here are ones I considerable most notable. If you have your own recommendations, please post those as comments!

Continue Reading...

Ernie and Matt over at Boston PHP have already managed to post the unedited video from my “How to Become a Web Developer” presentation given on December 12, 2012. You can find it on Vimeo. I’ve not looked at it myself yet (and am not planning on it), but Matt said that my part begins at about the 3 minute mark. In a couple of weeks, perhaps after the holidays, the edited video will be posted, which will be a combination of the video and the slides together. My sincerest thanks to Matt and everyone at Boston PHP for hosting me, and to Ernie for handling the video.

Also, I had promised (in the presentation) and do promise (in the video) a page of resources to go with the material. I’m working on that now, but it’s a bit more work than I expected, so let’s plan on that going live on my Web site on Wednesday, December 19th. Thanks!

Continue Reading...

I’ve posted my slides from my “How to Become a Web Developer” presentation at SpeakerDeck. This presentation was created for the Boston PHP user group, and presented on December 12, 2012.

The presentation WAS recorded, and I’ll post a link to that once I know what it is. There’s also a page of related resources that I need to create, which I hope to do over the weekend.

My thanks to everyone for coming out, and to those others of you interested in this.

This entry is part 5 of 8 in the series Processing Payments with Stripe

In my previous post in this series, I covered how you create an HTML form for securely handling payments via Stripe. As explained in that post, thanks to the Stripe.js library, the proper HTML, and a bit of JavaScript, you can easily and securely handle payments on your site without getting mired in the PCI compliance much. The secret is the Stripe.js library: it sends the customer’s payment information from the client to Stripe’s server and returns a token that Stripe associated with that payment information. Then, when the form is submitted, the token can be used by the PHP on your site to actually process the payment. The customer’s payment information, however, never touches your server. You get paid and the customer is protected.

In this post, I’ll walk through the necessary JavaScript to handle the client-side of that process. Note that this article assumes that you have read the previous article. And comfort with JavaScript and jQuery is required, too.

Continue Reading...

A few months ago I began using jQuery Mobile for a couple of Web projects. If you’re not familiar with it, jQuery Mobile uses CSS and JavaScript to make an HTML5-based site look and act much like an iOS app. No native programming required; nothing for the user to download and install. It’s a pretty amazing little package, which is not unexpected given how great jQuery is. If you’re curious to learn jQuery Mobile, check out this excellent tutorial written by C. Enrique Ortiz and posted at IBM’s developerWorks.

The only thing I’ll add, which is not mentioned in the article, is that jQuery Mobile is a logical choice in situations where you’re making a mobile version of your Web site that’s separate from the main version (and, presumably, redirecting mobile clients to it). Whether or not that’s a good policy is of much debate these days.