Shineyrock web design & consultancy

Shineyrock

Gezocht op: "getting" / 496 gevonden

Build Your First JavaScript Library

…Getting Elements and Creating Dome Instances The Dome constructor will take one parameter, but it could be a number of things. If it’s a string, we’ll assume it’s a CSS selector, but we can also take a single DOM node or a NodeList. constructor(selector) { let els; if (typeof selector…


Relational Databases for Dummies

…getting some real data with which we can work. 1. Get Some Data Let's start with some Twitter data. I searched Twitter for #databases and took the following sample of ten tweets: Table 1 full_name username text created_at following_username "Boris Hadjur" "_DreamLead" "What do you think about #emailing #campaigns #traffic…


How to Collaborate on GitHub

…getting involved in larger open-source projects, and GitHub is arguably the best place to start. Today, we will discuss a few rules of the road for collaborating on open-source projects, and give you the knowledge and intuition you will need to get involved. Start Small One of the most important…


Getting Started With TypeScript

…Getting Started Trying out TypeScript is easy. If you enjoy a more statically typed approach for large applications, then TypeScript's features will enforce a familiar, disciplined environment. Although it has been compared to CoffeeScript or Dart, TypeScript is different in that it doesn't replace JavaScript; it adds features to JavaScript.…


How to Create Presentation Slides With HTML and CSS

…getting the next sibling instead. Code for Showing the Presentation in Full Screen and Small Screen Recall that we also added click event listeners to the full screen and small screen icons. Here's the function responsible for toggling full-screen mode: function fullScreenMode() { presentationArea.classList.add('full-screen'); fullScreenBtn.classList.remove('show'); smallScreenBtn.classList.add('show'); screenStatus = 1; }…


16 Terminal Commands That Will Boost Your Productivity

…Getting Started If you’re running macOS or your favourite flavour of Linux, you’re all set. Just fire up the terminal, and keep going. If you’re on Windows, well, the default command set isn’t quite what a bash shell is. If you want some power, check out Microsoft PowerShell; however, the…


Validation and Exception Handling: From the UI to the Backend

…getting very complex, and different parts of your project uses overlapping parts of logic, you may consider extracting all validations that can be done at a specific level to a validation service or validation provider. These levels may include, but not need to be limited to JavaScript validator, backend PHP…


Creating Brackets Extensions

…Getting StartedI’m going to assume you read my last article and are already familiar with the extension manager. This provides a simple, one click method of installing extensions. One of the best ways you can learn to write extensions is by looking at the work done by others (that’s how…


JavaScript Tools of the Trade: JSBin

…Getting to Know JSBinJSBin was created and is actively maintained by well-respected developer Remy Sharp. The idea to develop it came from the need to collaborate interactively with other developers to debug JavaScript code. It has since matured into a robust tool which:Allows groups of developers to work together to…


Refactoring Legacy Code: Part 5 - Game’s Testable Methods

…getting difficult to manage. It's time to initialize it in the test's setUp() method and reuse it. class GameTest extends PHPUnit_Framework_TestCase { private $game; function setUp() { $this->game = new Game; } function testAGameWithNotEnoughPlayersIsNotPlayable() { $this->assertFalse($this->game->isPlayable()); $this->addJustNothEnoughPlayers(); $this->assertFalse($this->game->isPlayable()); } function testAfterAddingEnoughPlayersToANewGameItIsPlayable() { $this->addEnoughPlayers($this->game); $this->assertTrue($this->game->isPlayable()); } private function addEnoughPlayers() { $this->addManyPlayers(Game::$minimumNumberOfPlayers);…


Verfijn zoekopdracht

Bewaar deze zoekopdracht

Bewaarde zoekopdrachten

Je hebt nog geen bewaarde zoekopdrachten.