Larry Ullman

Translating Geek Into English

Using PayPal's WebSite Payments Pro with "Effortless E-Commerce with PHP and MySQL"

\[intlink id="1578" type="page"\]\[/intlink\]

” book, I use Authorize.net to process payments for a site that sells physical goods. Authorize.net accepts credit cards and can be directly integrated into your site, so that the customer never leaves (unlike, for example, PayPal’s Website Payments Standard, used in Part 2 of the book, which goes through PayPal’s site). The code in the book was written in a very modular style, with the intent that you can use the components you need, and swap others in and out. A reader specifically wanted to know how you would use PayPal’s Website Payments Pro instead of Authorize.net, and that’s what I’ll explain here.

Follow Me on Twitter! (I'm a Maverick)

Sometimes it’s tough being such a pioneer, but, yes, I am now officially on Twitter. Only about 500 million people and organizations beat me to the punch.

I’ve obviously been aware of Twitter for years now, but have avoided all forms of “social media”, despite the fact that many readers, and even my publisher, have kept suggesting that I create an account. Well, I finally accepted that “I don’t wanna” isn’t really a good reason for not having a Twitter account. And, I reminded myself that I could use Twitter the way I want, that it doesn’t have to be a stereotypical (and inane) series of “I am eating a sandwich.” tweets.

So I’m now officially @LarryUllman (clever handle, no?), although I have yet to actually tweet. Surprisingly, in the couple of weeks since I created an account, I’ve found myself to be quite popular with attractive young women and various service providers. They must all really be interested in what I have to say! If you’re interested, you can now follow me on Twitter:

"Learning JavaScript Design Patterns"

Some time ago I came across an excellent resource titled " Essential JavaScript Design Patterns", written by Addy Osmani. Mr. Osami is a JavaScript developer for AOL, a member of the jQuery core team, among other roles, and is a strong writer. “Learning JavaScript Design Patterns” is a book-length document, available for free online. In it, Mr. Osami:

  • Introduces the concept of design patterns
  • Covers the fundamental design patterns (e.g., Singleton, Module, Prototype, Factory, Mixin)
  • Shows the implementations of the most common design patterns in both JavaScript and jQuery

I think the ideas and the details are well explained, although the subject matter itself does put it beyond the average JavaScript beginner. But if you’re solid with your JavaScript skills and are looking into design patterns, it’s well worth your time. In fact, I would say that if you’re interested  in the subject of design patterns, regardless of the language in use, the introduction that Mr. Osami provides to the subject is a must read.

MAMP without MAMP

For a couple of years now, I’ve used, and advocated using, the MAMP application as the easiest way to run a Web server on a Mac. Currently, the best argument for MAMP is that it doesn’t affect the built-in Apache. This also means that changes to the built-in Apache (via Mac OS X software updates) don’t impact your setup, as can happen if you modify and configure how the built-in Apache runs. Although MAMP itself is free, in time I went ahead and purchased MAMP Pro. MAMP Pro is just a better interface to the MAMP stack, in particular providing an easy way to establish virtual hosts, which I use extensively (i.e., I create a new virtual host for each client or personal project). But I think it’s now time to start doing MAMP—Mac OS X, Apache, MySQL, and PHP—without MAMP, the application. Let’s look at the history and the options here to understand why it may be time for a switch.

"Modern JavaScript: Develop and Design" Exists!

I am very, very happy to say that I received my printed copies of Modern JavaScript: Develop and Design on Monday evening (February 20, 2012). It’s safe to say that the book actually exists, after many, many delays, and should be available to you soon. My sincerest thanks to everyone for their interest in the book and for their patience.

The official Web site for the book is http://www.larryullman.com/books/modern-javascript-develop-and-design/. You can view the book’s Table of Contents there, too. And I’ve created a support forum for the book, naturally.

Over the next couple of weeks, some articles and videos I did in support of the book will be made available, and I’ll link those here as that happens.