In this series of articles, Gabriele Romanato will cover in depth a practical implementation of session storage by creating a complete e-commerce shopping cart with the sessionStorage object and jQuery. Remember that, in these articles, you won’t find a new technique to replace existing server-side techniques, but rather just a proof of concept of session storage.
Read more…
In this article, Mark McDonnell will go over the techniques required to build a command line tool using Node.js and PhantomJS (this is just one example of the sort of command line tools you can develop with Node.js’ many features). Always consider automating the process with a CLI tool the next time you find yourself performing a repetitive task.
Read more…
After writing his latest article, “Writing A Better JavaScript Library For The DOM”, Maksim Chemerisuk realized that it’s important to understand what exactly live extensions are and how they work since the topic is extremely complex. In today’s article, he will answer most questions that were asked regarding “live extensions”.
Read more…
Function binding is probably your least concern when beginning with JavaScript, but when you realize that you need a solution to the problem of how to keep the context of “this” within another function, then you might not realize that what you actually need is Function.prototype.bind().
Read more…
In this article, Matthew Haworth will use Magento’s shipping-method code abstraction to create a shipping carrier. He will be covering topics such as extending the abstract shipping class and implement the required methods, allowing tracking codes to be set against an order, work with promotions to allow for free shipping, and much more!
Read more…
Lately, Maksim Chemerisuk has started to see more and more problems with jQuery’s core and can’t be fixed without breaking backwards compatibility. He, like many others, continued using the library for a while, navigating all of the pesky quirks every day. Then, Daniel Buchner created SelectorListener, and he started to think about creating a set of functions that would enable the possibility of building unobtrusive DOM components using a better approach.
Read more…
We usually export images for the Web from our favorite graphics software. Our eyes fixate on an image’s preview, adjusting the quality settings until we’ve found that sweet spot, where the file size and quality are both the best they can be. After having gone to all that care and effort, we would be forgiven for thinking that our image is in the best shape possible, but that’s not always the case. In fact, much more data is usually left in such files, data that keeps our users waiting just a bit longer than necessary. Thankfully, a number of popular tools can help us optimize images even further!
Read more…
You want to be lean and you want to be agile by using technologies that will help you succeed in the short and long term. And those technologies are not always easy to pick out. Full-stack JavaScript hits all the marks. You’ve probably seen it around. With JavaScript, you can create scalable, maintainable applications, unified under a single language. There’s no doubt, it’s a force to be reckoned with. In this article, Alejandro Hernandez will introduce these components piece by piece.
Read more…
If Wesley Hales asked you what could have been better at the last conference you attended, you’d probably say that the content or the interaction could have been better in some way. To solve this problem, he created Onslyde: A free service and open-source project that will make public speaking easier and conferences better. It’s been a lot of fun and work, and now you get to see the result!
Read more…
Video on the Web has improved quite a bit since 7th grade. But for the most part, videos are still separate from the Web, cordoned off by iframes and Flash and bottled up in little windows in the center of the page. They’re a missed opportunity for Web designers everywhere. But how do you integrate video into an app or a marketing page? In this article, Sean Fioritto will find inspiration, how-tos and a few technical goodies to get you started with modern video on the Web.
Read more…