Posts

Showing posts from August, 2018

How to Create an Isometric Layered Text Effect in Adobe Illustrator

What Is a Webinar (Definition)? +How Does It Work?

Manipulating images in PHP using GD

The 3 Best Infographics Templates for Adobe After Effects

15+ Best Online Business Logo Makers (Free + Premium for 2018)

7 Android Templates to Inspire Your Next Project

18+ Best PowerPoint Template Designs for 2018

So You’re Selling a WordPress Theme: Best Practices for Demos

How to Use Material Design in Angular 6

How to Create an Education Infographic in Adobe InDesign

How to Create an Evil Photo Effect With an Adobe Photoshop Action

International Artist Feature: Israel

How to Make an Attractive PDF Photography Portfolio

10 Best Photoshop Effects to Add Beautiful Bokeh to Photos

How to Use the Symfony Filesystem Component

Image
In this article, we're going to explore the Symfony Filesystem component, which provides useful methods to interact with a file system. After installation and configuration, we'll create a few real-world examples of how to use it. The Symfony Filesystem Component More often than not, you'll need to interact with a file system if you're dealing with PHP applications. In most cases, you either end up using the core PHP functions or create your own custom wrapper class to achieve the desired functionality. Either way, it's difficult to maintain over a longer period of time. So what you need is a library which is well maintained and easy to use. That's where the Symfony Filesystem component comes in. The Symfony Filesystem component provides useful wrapper methods that make the file system interaction a breeze and a fun experience. Let's quickly look at what it's capable of: creating a directory creating a file editing file contents changing the owne

How to Quickly Edit Creative Chart Template Designs in PowerPoint

How to Create a Surreal Dance Scene in the Rain in Affinity Photo

How to Create a Stunning Photography Portfolio for Your Tablet

How to Draw People

Ideation in Design Thinking: The Zone of Infinite Creative Possibilities

Code Your First API With Node.js and Express: Connect a Database

Image
Build a REST API With Node.js and Express: Connecting a Database In the first tutorial, Understanding RESTful APIs , we learned what the REST architecture is, what HTTP request methods and responses are, and how to understand a RESTful API endpoint. In the second tutorial, How to Set Up an Express API Server , we learned how to build servers with both Node's built-in http module and the Express framework, and how to route the app we created to different URL endpoints. Currently, we're using static data to display user information in the form of a JSON feed when the API endpoint is hit with a GET request. In this tutorial, we're going to set up a MySQL database to store all the data, connect to the database from our Node.js app, and allow the API to use the GET , POST , PUT , and DELETE methods to create a complete API. Installation Up to this point, we have not used a database to store or manipulate any data, so we're going to set one up. This tutorial will be us

20 Free Creative Resume Templates (Word & PSD Downloads)

How to Create Transparent Water Droplets With Gradient Mesh in Adobe Illustrator

5 Amazing Assets for Amazing Autumnal Photos and Video

The 3 Best Templates for Adobe After Effects to Promote Your App

10 Fun Photo Effects and Look Presets for Photoshop

Google Flutter From Scratch: Animating Widgets

Kickstarting a Web Design Using an Image as a Base

Get Started With Node.js Express in Our New Course

How to Set Up & Run a Professional Online Webinar

20+ Best Classic Typewriter Fonts With Old (Vintage) Machine Styles

How to Create an inFamous Inspired Text Effect in Adobe Photoshop

How to Create a Back to School Icon in Affinity Designer

How to Make a Great PowerPoint Title Cover Slide - Quickly

How to Create a Music Poster Using Bitmap Mode in Photoshop

How to Create a Punk-Rock Portrait in Procreate

A Beginner's Guide to Drawing 2D Graphics With Two.js

Image
Two.js an API that makes it easy to create 2D shapes with code. Follow along and you'll learn how to create and animate shapes from JavaScript. Two.js is renderer agnostic, so you can rely on the same API to draw with Canvas, SVG, or WebGL. The library has a lot of methods which can be used to control how different shapes appear on the screen or how they are animated. Installation The uncompressed version of the library has a size of around 128 KB, while the compressed version is 50 KB. If you are using the latest version, you can further reduce the size of the library using a custom build. You can either download the minified version of the library from GitHub or you can link directly to the CDN hosted version . Once you have added the library to your webpage, you can start drawing and animating different shapes or objects. Creating Basic Shapes First, you need to tell Two.js about the element on which you want to draw and animate your shapes. You can pass some parameters t

How to Write (Perfectly Tailor) a Resume to a Job Posting

How to Get the Most From the Transport Window in Pro Tools

20 Best Fonts for Making Monograms & Logo Designs in 2018

How to Achieve Realistic Glow in After Effects With Deep Glow

Code Your First API With Node.js and Express: Set Up the Server

Image
How to Set Up an Express API Server in Node.js In the previous tutorial , we learned what the REST architecture is, the six guiding constraints of REST, how to understand HTTP request methods and their response codes, and the anatomy of a RESTful API endpoint. In this tutorial, we'll set up a server for our API to live on. You can build an API with any programming language and server software, but we will use Node.js , which is the back-end implementation of JavaScript, and Express , a popular, minimal framework for Node. Installation Our first prerequisite is making sure Node.js and npm are installed globally on the computer. We can test both using the -v flag, which will display the version. Open up your command prompt and type the following. node -v && npm -v v10.8.0 6.2.0 Your versions may be slightly different than mine, but as long as both are there, we can get started. Let's create a project directory called express-api and move to it. mkdir express

15 Fab Fashion Photography Actions and Presets (for 2018)

How to Draw Lines & Freeform Shapes in PowerPoint

Get Started With Pusher: Using Presence Channels

10 Top Logo Sting Animation Templates for After Effects & Premiere Pro (2018)

How to Create a Funny Ice Cream Character in Affinity Designer

How to Create VHS Glitch Art in Adobe Photoshop

Quick Tip: Design an SVG Arrow Graphic in Adobe XD

How to Install a New Joomla Website Template Manually

How Secure Are Your JavaScript Open-Source Dependencies?

Image
Modern-day JavaScript developers love npm. GitHub and the npm registry are a developer’s first choice place for finding a particular package. Open-source modules add to the productivity and efficiency by providing developers with a host of functionalities that you can reuse in your project. It is fair to say that if it were not for these open-source packages, most of the frameworks today would not exist in their current form. A full-fledged enterprise-level application, for instance, might rely on hundreds if not thousands of packages. The usual dependencies include direct dependencies, development dependencies, bundled dependencies, production dependencies, and optional dependencies. That’s great because everyone’s getting the best out of the open-source ecosystem. However, one of the factors that get overlooked is the amount of risk involved. Although these third-party modules are particularly useful in their domain, they also introduce some security risks into your application. A

How to Draw Angel Wings

10 Best Vintage Effects to Give Your Video Old-school Looks

How to Create Your Own Magazines: A Step-by-Step Guide

New Course: Create a Low Poly Moon With Cinema 4D

Code Your First API With Node.js and Express: Understanding REST APIs

Image
Understanding REST and RESTful APIs If you've spent any amount of time with modern web development, you will have come across terms like REST and API. If you've heard of these terms or work with APIs but don't have a complete understanding of how they work or how to build your own API, this series is for you. In this tutorial series, we will start with an overview of REST principles and concepts. Then we will go on to create our own full-fledged API that runs on a Node.js Express server and connects to a MySQL database. After finishing this series, you should feel confident building your own API or delving into the documentation of an existing API. Prerequisites In order to get the most out of this tutorial, you should already have some basic command line knowledge , know the fundamentals of JavaScript, and have Node.js installed globally . What Are REST and RESTful APIs? Representational State Transfer, or REST , describes an architectural style for web services. RES

Quick Tip: How to Create a Cute Welsh Corgi in Adobe Illustrator

20+ Best Free PowerPoint Timeline and Roadmap Templates

How to Create a Retro, Colorful, Halftone Text Effect in Adobe Photoshop

How to Create an Autumn Queen Photo Manipulation With Adobe Photoshop

How Protect Outlook Emails With Strong Passwords & Security Settings

How to Use Stock Video in Web Design

5 Amazing Assets for Music Videos That Rock

How to Create a Hand Holding a Stethoscope in Adobe Illustrator

New Course: Secure Your WordPress Site With SSL

15 Ready Made Ionic 3 App Templates

Art for All: Celebrate Diversity in Design—Volume 12

3 Best Product Promo Templates for Adobe After Effects

How to Motivate Yourself to Work Hard (No Matter Your Mood)

20+ Cool T-Shirt Mockup (Maker) Template Designs for 2018

10 Top After Effects Templates for Parallax Scrolling Background Videos

25+ Awesome HD Stock Video Footage for 2018

How to Create a Comic-Book Ink Text Effect in Adobe Photoshop

How to Create a Garden Gnome Illustration in Adobe Illustrator

Testing Components in React Using Jest and Enzyme

Master the Three.js 3D Web Graphics Framework in Our New Course

Get Started With Pusher: Client Events

How to Choose a Photography Portfolio Website

How to Design Minimalist and Functional UI

How to Create a Grunge Ultra-Violet Photo Manipulation Poster in Affinity Photo

How to Successfully Host an Online Webinar (With Free vs Paid Tools)

How to Cite PowerPoint Presentations in APA & MLA Formats

How to Do User Authentication With the Symfony Security Component

Image
In this article, you'll learn how to set up user authentication in PHP using the Symfony Security component. As well as authentication, I'll show you how to use its role-based authorization, which you can extend according to your needs. The Symfony Security Component The Symfony Security Component allows you to set up security features like authentication, role-based authorization, CSRF tokens and more very easily. In fact, it's further divided into four sub-components which you can choose from according to your needs. The Security component has the following sub-components: symfony/security-core symfony/security-http symfony/security-csrf symfony/security-acl In this article, we are going to explore the authentication feature provided by the symfony/security-core component. As usual, we'll start with the installation and configuration instructions, and then we'll explore a few real-world examples to demonstrate the key concepts. Installation and Config