…mer_key' => '', 'consumer_secret' => '', 'callback' => '', ), Normally, I'd load these settings from my Yii .ini file, but to make the Birdcage setup simpler, I'm configuring the application keys from the UserSettings model. I've extended YiiTwitter.php to load the default user's application keys during initialization: public function…
…me examples of each. Let's begin! Playing With Translatable Data in WordPress One of the coolest features of WordPress is having every bit of text ready to be translated. If your website's language is English, however, you don't need this feature - or do you? The gettext filter might work for you…
…meta boxes. By that, I mean that we've been working to create a WordPress plugin that's well-organized, follows WordPress coding standards, and that can be easily adapted and maintained as the project moves forward over time.Though we've implemented some good practices, there is still room for refactoring. For this series,…
…me pre-defined CSS. You can change this behavior with the use_default_gallery_style filter. Example: Disable the Default CSS If you already have styled your galleries in your theme's style.css file and don't need the default CSS rules, you can disable them by using the code below: <?php add_filter( 'use_default_gallery_style', '__return_false' );…
…mediate updates and access to a broader 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…
…me 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 Browser DevTools?Developer Tools are features provided by browsers containing…
…mes you have basic knowledge of AngularJS, but it shouldn't be tough to pick up the topics along the way.Introduction to AngularJSAngularJS is one of the most sought-after JavaScript MVC frameworks. It's a structural framework for creating dynamic web applications by extending HTML capabilities. Features like data binding and dependency…
…ment environment the best it can possibly be. Tuts+ instructor Andrew Burgess will teach you about installing all the programs you need, and show you how to customize them to create a speedy, efficient workflow. Here's a free preview of some of the lessons from this course:Terminal CustomizationThe course includes a whole section on…
…mework is something that's very common both within the modern 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…
…mes 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 effect of adding the keyword debugger in your code is identical to manually setting a breakpoint via the DevTools UI. In Chrome,…