So my particular part (documentation) isn't publicly available yet, but here is the project:
I'm helping a friend deal with an AJAX issue and ran across something he was doing that was - in my opinion - a bit wrong. Specifically it involved how he was returning complex data from a remote service. I thought I'd whip up some quick advice about this. While his issue involved AJAX, this advice should really apply to just about anything, and as always, I assume folks have their own opinions/suggestions as well. Add 'em to the comments below!
Just a quick note, but I've published another article for the awesome FlippinAwesome: Expose Yourself with ngrok. Hope you like it.
Thank you to everyone (especially the PhoneGap team!) who showed up to the open session that Holly and I ran today. We had a great size crowd and a very interesting set of questions. Between Holly and I and other PhoneGap members we were able to cover nearly everything. The pace picked up towards the end but we had a firm cut off time so we couldn't go long. We definitely plan on repeating this soon. I'm using Gists for the logs. First is the Q and A log:
Today Adobe launched a pretty cool new site - Project Parfait. Project Parfait lets you work with PSDs via your web browser.
At the end of last week a really interesting new PhoneGap tool was launched - the PhoneGap Developer App. The PG Developer App is a "shell" application that you can install on a real device (both Android and iOS with Windows Phone coming soon) and test with a local copy of your code. You can skip the SDK. You can test iOS on Windows. All you need is the core PhoneGap CLI and you are good to go. Let's take a quick look.
First - ensure you have installed the phonegap CLI via npm. Ensure you have the latest version (see my guide if you are new to npm) and then create a new project.
At this point you do not have to add a platform. Next - fire up the server:
Make note of the IP address. It should be obvious, but this tool requires that your mobile device be able to "see" your development machine. If you aren't on the same network (or on one of those cluttered free WiFi networks) you may have an issue. Ok, now, run the PhoneGap you downloaded to your device. Here's mine running on my iPhone.
Simply enter your IP address and hit connect. What you're seeing now in the app is the code from your project. If you switch back to your command prompt, you can see a butt load of messages - essentially an access log of requests. Fire up your favorite editor, make a change, and just click save.
It should update automatically, but if it doesn't, try a four finger tap. But to be clear, you do not have to go to the command line and run anything. It just - plain - happens.
Another interesting feature of the Dev App is that will automatically load all the core plugins. So if you want to test the Camera API, you just do it. No need to install the plugin manually. This is cool... but I kinda worry it may trip people up when they stop using the Dev App. I tend to be a worry wart though.
Another issue is that you cannot use remote debugging with it. By that I mean Safari Remote Debugging or Chrome Remote Debugging. Weinre works fine with it though.
So - thoughts? I've said before that I tend to focus on the Cordova CLI, especially when I teach, but I definitely see me demonstrating this next time I present on PhoneGap/Cordova.
Thank you to everyone who attended (not sure how many - 20+ I think?) my Google Hangout presentation today. I think I'm getting used to the platform but as always, if anyone has any tips for how I could do these better, I'll gladly listen to your advice. You can watch the recording below. I'm not attaching the slide deck as there aren't any 'real' demo files for you to play with, but if anyone really wants it, I will.
Very happy to announce the first publication of an article of mine on the Mozilla Hacks blog. This article is a bit of a departure for me. Less techy and more touchy-feely. Broadly, the article is a look at how HTML (well, web standards in general) are branching out of the browser. Probably some (or most) of this is known to my readers, but I felt like a look at this phenomenon was worthwhile. I hope you enjoy it as well.
One of the more cooler updates to Brackets recently was the linting API. This came out back in October and I wrote up a review of the API for the Brackets blog. It basically took 90% of the boiler plate code for linters and made it a heck of a lot simpler.