Shineyrock web design & consultancy

Shineyrock

Searched for: "with" / 1299 results

Getting Started With Matter.js: Introduction

…with the help of the following commands: npm install matter-js You can also get a link to the library from a CDN and directly include it in your projects like this: <script src="https://cdnjs.cloudflare.com/ajax/libs/matter-js/0.18.0/matter.min.js"></script> Matter.js frequently releases updates which might require you to make slight modifications to your code to make…


AngularJS Form Validation With ngMessages

…with a lot of form elements, each of which will need its own custom error messages. To ease the pain, Angular 1.3 added a new module called ngMessages to help developers validate forms with ease.The ngMessages module gives you the ability to display custom error messages to your users without…


How to Create Animations in AngularJS With ngAnimate

…within the ng-enter class. The final animation state is added within the ng-enter-active class. Here is the code to show some red bars by animating their height..red-bar.ng-enter { transition:all ease-in 0.25s; height: 0px; } .red-bar.ng-enter.ng-enter-active { height: 30px; }Similarly, you can also apply an animation to hide the bars using…


How to Use the jQuery Function to Select Elements

…with hard-to-use, low-level APIs like the Document Object Model (DOM) and XmlHttpRequest. Many libraries have been created to work around these problems, but one in particular has stood the test of time and has become the de facto standard: jQuery. In fact, jQuery is so popular that you would be…


How to Work With Session Data in CodeIgniter

…with the core session library. Of course, you could always use the default $_SESSION syntax, but it's always recommended to use the wrapper instead.Starting with how to load a session library, we’ll move to the discussion of how to add, retrieve, remove and destroy session variables. In the last segment,…


Getting Started With Matter.js: The Body Module

…with any of the walls or the floor. Normally, when things collide with something, we expect them to bounce back. The energy with which an object bounces back is determined by the coefficient of restitution. In Matter.js, its value is set to zero by default. This means that any object…


Programming With Yii2: Building Community With Voting, Comments, and Sharing

…With Yii2 series, I'm guiding readers in use of the Yii2 Framework for PHP. You may also be interested in my Introduction to the Yii Framework, which reviews the benefits of Yii and includes an overview of what's new in Yii 2.x.IntroductionIn today's tutorial, I'm going to show you how…


How to Zip and Unzip Files in CodeIgniter

…With everything in place, we’re ready to move on to our next section!How to Zip Files?Go ahead and create a file application/controllers/Zip.php with the following contents.<?php // application/controllers/Zip.php defined('BASEPATH') OR exit('No direct script access allowed'); class Zip extends CI_Controller { private function _load_zip_lib() { $this->load->library('zip'); } private function _archieve_and_download($filename) {…


What Is WP-CLI? A Beginner’s Guide

…with, and manage, WordPress sites via a command line interface. According to the official documentation, it's a command line alternative to using the traditional WordPress admin user interface.The command line approach makes sense as you can typically do things on a computer much quicker via the command line, and the…


Building Your Startup: Securing an API

…With PHP series, which is guiding readers through the launch of an actual startup, Meeting Planner. Each episode details different coding and business challenges, with detailed examples you can use to learn.IntroductionRecently, I introduced you to Yii's simple REST API generation and Meeting Planner's new "RESTful" service API. At that…


Refine Search

Save This Search?

Saved Searches

You have not saved any searches yet.