…using the very common selector and chaining syntax of jQuery, we get a reference to the element via its ID and associate it to an instance of the Kendo notification widget: var popupNotification = $("#popupNotification") .kendoNotification() .data("kendoNotification"); Via the instance, it's a simple method call to display a simple notification…
…using your existing code. On the other hand, we can now just include the file in our test. require __DIR__ . '/../trivia/php/GameRunner.php'; And then call run() inside the generateOutput() method. private function generateOutput($seed) { ob_start(); srand($seed); run(); $output = ob_get_contents(); ob_end_clean(); return $output; } Directory Structure, Files, & Naming Maybe…
…using it, by utilizing a Gulp.js plugin called gulp-connect. In the following sections, we will setup a local web server for a single page application, so I'll assume you have already setup the basic files, like the gulpfile.js file. Initial Setup We start off by installing the Connect plugin with the command below.…
…using components, is to help our development by: Encapsulating much of the complex code and structure Allowing developers to use a simple-to-use tag style naming convention Providing a suite of predefined UI elements to leverage and extend I'm still smitten with it and wanted to explore this a little more…
…using both jQuery and Bootstrap for the purpose of rapid application development. Both of these libraries allow me to do things very quickly and they don't require much hand coding. However, I will not be covering either jQuery or Bootstrap in any great detail; so feel free to learn more…
…using New Relic, you can begin receiving data about your server performance very quickly. Even if you haven't previously set up New Relic, it may be worth using it just for server monitoring. The six or so dashboards that New Relic provides can significantly delay (or even entirely remove) the…
…using the assets they commonly use but also allowing them to share it across most mediums used by developers. As a technical writer, the ability to embed a live snippet is incredibly important since it provides real-time feedback to demo the code that I create, reinforcing the concepts I'm writing…
…using our website or if you have any suggestions, please contact us at marketing@designscan.me
…using OAuth providers for Facebook, Twitter, Google, etc. to authenticate with your social media accounts. But don't worry: you don't need to include any strategy that your application does not need. All these strategies are independent of each other and packaged as separate node modules which are not included by…
…using Composer and then: create a signup form with a full set of validation rules a login form with a "forgot my password" option that will send a link for the user to redefine his password use Laravel filters to only allow logged users can access a specific route. Creating…