…der array of notifications, the Twitter Streaming API is essential. For example, only the streaming API will tell you when another user favorites one of your tweets.Using the Streaming API requires a persistent, keep-alive connection between your web server and Twitter. This type of implementation may be unfamiliar to many…
…debugging JavaScript code using modern tooling such as the Chrome DevTools.In part 1, you'll get a introductory look at the various panels in the DevTools and what workflows they're suitable for. There'll also be a focus on writing and executing JavaScript code through the browser rather than a code editor. 1. What Are…
…dependency injection makes it easier to develop apps with less code.From the AngularJS documentation:HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive,…
…developer, but it is also important to set up your computer with all the tools and utilities you need to do your job most effectively. In A Developer's Guide to Setting Up a New Mac, you'll see how to set up all the important tools that every developer needs.What You'll LearnIn this course, you'll…
…dern web and within the software development environments. For the front-end, we have frameworks like Bootstrap and Foundation, for web applications we have frameworks like Yii and Rails, and for desktop (and even some web applications) we have frameworks like .NET. And these are just to name a very small and select…
…DevTools. In part 2, we'll look at debugging JavaScript and adopting a workflow such that solving JavaScript errors and diagnosing problems becomes more efficient. Debugging JavaScript Using the DevToolsDebugger KeywordYou can use the debugger keyword directly in your code to invoke the debugging capabilities (if any) of the JavaScript runtime. The…
…der Source WordPress has its own script loader, wp_enqueue_script(), which allows us to "queue" JavaScript files and not hard-code them. And this little filter called script_loader_src lets us how the scripts will be queued and outputted. Example: Remove the Version Parameter from Scripts Google Page Speed, Yahoo YSlow and other…
…detail. In this article, you'll learn how to develop an effective keyword strategy for your Magento website, some general Magento admin panel configurations to make it more SEO friendly, how to create the robot.txt and sitemap.xml files, and how to set up Google Analytics for a Magento store.One of the hallmarks of Magento, which…
…de its core and you can create your own filters in the things you develop (like plugins). That's what we learned. How to create a filtering function and hook it to a filter: It's simple in essence, really: We create a function that plays with the data and we hook…
…de. The most prominent form of IoC is, of course, Dependency Injection, or DI. Laravel's IoC container is one of the most used Laravel features, yet is probably the least understood.Here's a very quick example of using Dependency Injection to achieve Inversion of Control.<?php class JeepWrangler { public function __construct(Petrol…