Building your first REST API in less than 30 minutes

author Parleys   3 год. назад
9,898 views

40 Like   3 Dislike

REST API & RESTful Web Services Explained

What is REST API? REST stands for Representational State Transfer and API stands for Application Programming Interface. ````````````````````````````````````````````````````````````````````````````````````````````` Hey guys, I'm now using Patreon to share improved and updated video lesson material. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie :) Download this video's files here: https://www.patreon.com/posts/rest-api-restful-20819043 ( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! ) ````````````````````````````````````````````````````````````````````````````````````````````` Representational - the resource (image, page, video, profile) is represented by the web server to the client in any format like HTML, Image, JSON, XML etc. State - the state of the application (web site) on a client's computer changes as the client clicks from one link to the next. Ask the client clicks on the link, they request additional resources, and the application "state" changes. Transfer - the transfer of resources from the web server to the client in a "representational" state which can be read by the client or implemented in the application program by the programmer. The transfer may also refer to the application state transfer as the client browses a web site. API - application programming interface provides useful methods/functions which a programmer can implement into his own application in a chosen programming language like PHP. The API makes it easy for programmers to implement. It's important to note that the response we get when sending REST API request will usually be in JSON, XML or other format which makes it easy to implement in the code and it's not meant to be read immediately by a human being. `````````````````````````````````````````````````````````````````````````````````````````````` ( Website ) https://clevertechie.com - PHP, JavaScript, Wordpress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams. ( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube ( Google Plus ) https://goo.gl/J71p6f - clever techie video tutorials. ( Facebook ) https://www.facebook.com/CleverTechie/ ( Twitter ) https://twitter.com/theclevertechie ``````````````````````````````````````````````````````````````````````````````````````````````

APIs and Microservices with Scala and Play

An extended introduction to writing microservices with Scala and Play. This is a practice run through a talk I'm giving at Applicative Conf in NYC on Friday. http://applicative.acm.org/speaker-TobySullivan.html

How to know your life purpose in 5 minutes | Adam Leipzig | TEDxMalibu

Never miss a talk! SUBSCRIBE to the TEDx channel: http://bit.ly/1FAg8hB Adam Leipzig has overseen more than 25 movies as a producer, executive and distributor. and has produced more than 300 stage plays and live events, and he was one of the founders of the Los Angeles Theatre Center. AdamLeipzig.com In the spirit of ideas worth spreading, TEDx is a program of local, self-organized events that bring people together to share a TED-like experience. At a TEDx event, TEDTalks video and live speakers combine to spark deep discussion and connection in a small group. These local, self-organized events are branded TEDx, where x = independently organized TED event. The TED Conference provides general guidance for the TEDx program, but individual TEDx events are self-organized.* (*Subject to certain rules and regulations)

Essential Scala: Six Core Principles for Learning Scala

In this talk I will discuss six fundamental concepts that underly effective Scala. How can programmers quickly and effectively learn to write idiomatic Scala? This is a question we at Underscore had to answer when developing our own training material. We knew we wanted to go beyond teaching syntax and give developers the concepts and techniques they needed to develop Scala in a systematic and idiomatic way. We identified six core concepts that cover a wide range of Scala programs. These concepts give programmers a reproducible way to create code -- once the problem domain is understood the code follows through a series of systematic and reproducible steps. The resulting code is robust and easily maintained. In this talk I will describe these six concepts, which are:  - expressions, values, and types; - objects and methods; - algebraic data types; - structural recursion; - functors and monads; and - type classes. I will show how they let us create code in a systematic manner, and how we can go about teaching the concepts to new Scala developers. This talk should be of interest to anyone who is transitioning to, or leading a team that is transitioning to, Scala, and anyone interested in guidelines for idiomatic Scala code. Author: Noel Welsh Noel is a partner at Underscore, the leading Scala consultancy. Noel has over fifteen years experience in software architecture and development, and over a decade in machine learning and data mining.

Play is fundamentally a framework for writing REST APIs. Therefore writing such a REST API, is very easy using Play. With the use of ScalikeJDBC, a tidy SQL-based DB access library, and the reverse engineering tool that comes with it, most of the work gets done for you. After this talk you’ll be able to build your first REST API in under 30 minutes, with model classes that are fully tested as well!


Author:
Thomas Meijers
Thomas Meijers is a part-time software developer at Lunatech, while still pursuing a bachelor degree in Information Technology. With his passion for writing complex software, he mostly focusses on the combination of Scala with the Play Framework. With this basis he further fills his toolbox with practices such as functional programming, REST, reactive programming and NoSQL databases.

Comments for video: