Archive for the 'Javascript' Category

h1

iOS6 Safari Ajax issues

Friday, September 21st, 2012

Pete Forde pointed me to an interesting discussion of an iOS 6 Safari bug that affects Ajax calls.

I later came across a discussion of a different bug, also affecting Ajax calls.

I know it’s only day one for iOS6 and the odd bug is expected, however I find it jarring that with Apple’s strong advocacy of HTML5 and JavaScript to create interactive web apps, these issues could creep into Safari without someone considering the implications or finding the issue before release.

h1

Seamless Visual Studio on the Mac with VirtualBox

Saturday, November 22nd, 2008

A few stars aligned recently and the result is fascinating.

1) I got myself 2G memory, a 320G disk and a 20″ display (and a putty knife!) and upgraded my Mac Mini. Then I upgraded to Leopard and hooked up the old drive in an external USB enclosure as a Time Machine drive.

2) I got a promotional copy of Visual Studio 8 from Microsoft. I’ve been using Visual Studio 2005 and wanted to give 2008 a spin, and with Joey as a new MS evangelist, the timing was right.

3) I subscribed to Technet Plus, which gives me evaluation copies of Vista and XP, among other things.

4) I installed Sun’s VirtualBox on my Mac, with its Seamless Mode feature that’s available when you have the Guest Additions loaded onto the virtual machine.

Sooo, I loaded up Vista Ultimate in a VM with Visual Studio, TortoiseSVN and the AnhkSVN plugin for VS2008, set up the IPSEC and OpenVPN connections to my office, and loaded up some code.

I now ready to do some serious evaluating in a killer hybrid environment, as you can see by the picture. Where to start?!

Visual Studio on the Mac - click for full pic

VirtualBox’s Seamless mode means that I can essentially run a Mac and a Windows PC simultaneously. For someone like me who uses both environments, it’s a nerdy dream. I could even throw in a Linux VM if I wanted to confuse myself further.

I’m also trying something similar with my Acer Aspire One. I have it running Ubuntu as its main OS on the 8G SSD. On the 8G SDHC card, I have a VirtualBox-powered XPPRO VM and I’m running it seamlessly with Ubuntu. With one toolbar on the top and the other on the bottom, it’s quite useful, especially when used in conjunction with an external monitor, but still workable in 1024×600:

Ubuntu and XP together on the AspireOne - click for full pic

The best part is that both of these setups perform very well on modest machines.

h1

Cross-Site mashups starting to come together

Friday, August 1st, 2008

Via Ajaxian, Kris Zyp introduces the Dojo Cross-Site XHR Plugin registry

In typical Dojo fashion, it tries the best and most robust methods but allows you to fall back to the basics where necessary, and anticipates the standards currently in development in order to make future transitions minimal.

Great news!

h1

Javascript: The Good Parts

Wednesday, May 14th, 2008

Yesterday I received my (complimentary) copy of Douglas Crockford’s new book Javascript: The Good Parts.

I read it cover-to-cover in a couple of hours. I’m sure I will re-read it cover-to-cover multiple times before I manage to absorb the full import of much of it.

This book is not about the browser, it’s not about Ajax, it’s about a language. It is not a cookbook with recipes, it is a book about the art of cooking that explains what the best available ingredients are and how best to apply them. It may prove to be as central to our understanding of Javascript as K&R is to C, or as the Camel book is to Perl.

I highly recommend this book to anyone who wants to learn how to properly use this most fascinating and important language.

h1

Unsupported sniping from the Jem Report

Friday, May 9th, 2008

In passing during a rant about the trajectory of ethics in the field of technical book publishing, Jem Matzan accuses the book Enterprise Ajax of being simply a vehicle to shill Nitobi, the company founded by the authors. No supporting commentary or links, just a broadside blow, in a rant about ethics no less.

I was the technical reviewer on that book and I couldn’t disagree more. I found it to be a well-presented book full of technical and business value that didn’t push specific vendor solutions or dwell unduly on the authors’ business.

You have to get over 400 pages into the book before it gets into case studies that could be construed as promoting their own services, but even then the technical value far exceeds any horn-blowing.

I’d be glad to hear from Jem how I’m wrong and have him show me all the examples of shameless shilling that he perceives, however he doesn’t make it obvious how to contact him to engage him about his reports, and even if I were to chase up his contact info, the resulting email conversation wouldn’t help to clarify his meaning to those who might take it at face value.

It’s a two-way web here though, so leave your comments. Have you read the book and come to the same conclusion? Am I wearing my tech blinkers and missing all the marketing cues?

h1

Strategic internet development technologies

Wednesday, September 19th, 2007

Joel Spolsky has had more than a modicum of success reading the tea leaves of the software industry, so when he writes an incisive essay about the future of application development and platforms, it’s worth not only taking a look, but pursuing an understanding of some of the relevant issues and technologies.

I’ll provide some links here which will help the reader to understand how many of the points Joel makes in his essay are supported by existing technologies in various states of readiness. It’s a big pantry of ingredients that is waiting for the right chef to come along and combine them in a way that inspires the world to follow.

This list is far from exhaustive but I just want to give you some clues that are representative of each topic to help you get started. Please let me know if I’ve missed any important topics.

Javascript (language):

Javascript (engine):

Libraries/Widgets:

Higher abstractions:

Frameworks/SDKs:

Rich Web Application Runtimes:

h1

Ajax Evolution

Thursday, August 2nd, 2007

Not only are the tools and techniques surrounding Ajax development maturing, the very scope of the Ajax meme continues to expand even now, two years since Jesse spake those immortal words back in 2005.

The latest class of techniques to come under the umbrella of Ajax is offline browser applications. At the Ajax Experience conference in SFO last week, there were a few presentations about the Dojo Offline Toolkit, which provides offline application and synchronization abstractions on top of the Google Gears local storage engine. I spent quite a bit of time with Brad Neuberg and his work on DOT is impressive.

Another topic that got much more coverage this time around was Performance Analysis and the tools you can use. Ryan Breen had a great talk that described some very useful tools and Steve Souders presented his new tool YSlow.

I had a chance to hang around with lots of other great folk while I was there – Douglas, Brendan, Sean, Dylan, the charming but unlinkable Stephanie Trimble, John, Pete and Dori to name a few. And of course, Ben and Dion, congenial hosts as always.

h1

One practical real-world solution to Secure Mashups

Monday, May 14th, 2007

Dion Almaer points us to a recently released paper [pdf] from Collin Jackson and Helen Wang introducing their research into a new method of Secure Cross-Domain Communication for Web Mashups.

The method is designed to provide secure cross-domain scripting using the tools that are available now, so we don’t have to wait for the next generation of browsers to provide purpose-built mechanisms.

Collin and Helen, along with some other Microsoft colleagues, have also authored another paper entitled MashupOS: Operating System Abstractions for Client Mashups [pdf] that is worth reading.