Shineyrock web design & consultancy

Shineyrock

Searched for: "using" / 1124 results

Get a Fake REST API Up and Running Using json-server

…using a fake REST API server using json-server, which you can use while developing mobile or web applications. This tutorial assumes that you have a basic knowledge of JSON and HTTP requests. What Is REST? REST stands for Representational State Transfer. It is an architecture style for designing connected applications.…


Creating a Custom WordPress Messaging System, Part 2

…using the $tag parameter. If the definition isn't clear, perhaps its implementation will help. So let's take a look at that now.2. Register a FunctionJust as we do with any other type of function, we need to register a function that will fire whenever our tutsplus_settings_messages hook is fired. But…


Building Your Startup: Security Basics

…using my Meeting Planner app as a real-life example. Every step along the way, I'll release the Meeting Planner code as open-source examples you can learn from. I'll also address startup-related business issues as they arise.The production server for Meeting Planner currently runs at Digital Ocean (see other tutorials about…


Building Your First Web Scraper, Part 2

…using Nokogiri. This was a good basis to move one step forward and learn how to extract content from multiple pages. After all, the problem we're trying to solve involves getting the content from more than 140 episodes—which is more content than can reasonably fit a single web page. We…


New Course: Build a REST API With Laravel

…using Laravel. Follow along as Jeremy codes a complete API that serves data on flights, airports, and airline customers. Along the way, you'll learn how to define and seed a database, accept and validate input, and protect the API.You can take our new course straight away with a free 10-day…


Creating a Custom WordPress Messaging System, Part 3

…using, and we wired that up on the server-side. We also started the groundwork for our Settings Messenger. And here's what we'll be reviewing in the final tutorial:We'll end by tying everything together, seeing it in action, and making the final plugin publicly available for you to download.For now, though,…


Uploading Files With Rails and Shrine

…using Rails 5 for this demo, but most of the concepts apply to versions 3 and 4 as well.Drop the Shrine gem into your Gemfile:gem "shrine"Then run:bundle installNow we will require a model that I am going to call Photo. Shrine stores all file-related information in a special text column…


Programming With Yii2: Helpers

…using dot format to retrieve the property of embedded object $street = \yii\helpers\ArrayHelper::getValue($users, 'address.street'); // using an array of keys to retrieve the value $value = \yii\helpers\ArrayHelper::getValue($versions, ['1.0', 'date']);Or map() builds a simple key value array from a more complex array:$array = [ ['id' => '123', 'name' => 'aaa', 'class'…


Building Your First Web Scraper, Part 3

…Using that scraped data, we want to populate the front matter and “body” of the markdown files for each episode.Below can you see a preview of how we will compose the new markdown files with the content we extracted. I think this will give you a good idea about the…


Creating a Custom WordPress Messaging System, Part 4

…using? Hang with me and I'll explain all of it. The first part we're going to focus on is how to render messages by type (think success, error, or warning). Here's the code for doing that (and it should look familiar):<?php public function get_messages( $type ) { if ( empty(…


Refine Search

Save This Search?

Saved Searches

You have not saved any searches yet.