Most browsers have a bug that isn’t really a bug. In fact it was purposely put there to make your simpler, but if you (or someone else writing the HTML code) do something in the right (read “WRONG!”) way, it could completely blow up. Specifically, if you assign your input tags a name or id attribute of “action” or “submit”, you can cause some very well hidden bugs.
Promises are currently the best tool we have for asynchronous programming and they appear to be our best hope for the forseeable future, even if they’ll be hiding behind generators or async functions. For now, we’ll need to use promises directly, so we should learn some good techniques for using them right now, especially when dealing with asynchronous operations on collections, whether they happen in parallel or sequentially.
It’s been a long time since I’ve actually been on here teaching you something; 9 months since my last actual tutorial and really useful article. Sorry about that! I’m trying to get back on track now though. You should see much more frequent posting and hopefully some very useful posts. Anyway, this tutorial is about a great idea I implemented at work that involved the Adapter and Facade patterns. After using these patterns in this way, I have a much deeper respect for them and I want you to share that repect, so let’s take a look at some awesome ways/reasons to use them!
You all know that this site has been relatively inactive for quite a while. Well, I’m here to let you all know that big things are coming in the future. I wish I could say they will be coming soon, but until the book I’ve been writing it finished, I won’t be able to provide much, if any, content here for you all. Coming in early 2014, though, everyone should be happier. Here’s an update on the future of this blog.
Hi everyone! It’s been nearly two months since I’ve written my own post. This is pretty much unacceptable, but I do have some good excuses. Are you willing to listen to them? Or are you just gonna ignore this? Whatever, either way I don’t care too much. I just want to give an update on what is going on around here so you know what to expect and aren’t disappointed when you don’t see anything going on.
TodoMVC is a place where a large number of people have turned in examples of building the exact same Todo web application while using different MV frameworks (and even some non-MV frameworks). Why? So that developers can come explore the code and decide for themselves which libraries and frameworks look best to them. For those wishing to explore the MV* landscape, this is can be a huge help for getting a quick look each framework.
For a while, I’ve been thinking about how best to handle showing modal dialog boxes for my applications while utilizing Backbone views. A lot of interesting ideas passed through my head, but none of them seemed exactly right. Then I saw a post by Derick Bailey where he described how he uses Marionette’s Regions to handle the work. His post is a bit on the old side and Regions have changed a bit since, so I decided to look into how to do it myself.