Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
Liking, Watchlisting and Uploading through Vimeo’s API
Nov 26, 2015 @ 16:26:40

The SitePoint PHP blog continues their series looking at using the Vimeo API from PHP with the second part of their series, enhancing the previous functionality. In this new tutorial they show you how to hook in to the Vimeo API and "like" videos, add them to watchlists and even push them through as uploads.

In a previous post, we used the Vimeo API to build a rudimentary video application with Silex and Twig. We added login and user feed functionality and wrapped it all up with a video searching feature. In this one, we’ll add in liking a video, adding a video to a watchlist for later, and uploading videos via the Vimeo API.

You'll need to have the functionality from part one in place first. From there they take off running, showing you how to interact with videos to perform the "like" and "add to watchlist" actions. The interaction with the API is fired from Javascript on the page and passed through a backend script through to the API. They follow this with the handling for the uploads, using a standard file upload form for input with a few validations once submitted. The code then uses the library to pull in the contents of the file and push it through to the API.

tagged: vimeo api tutorial part2 series watchlist like upload video

Link: http://www.sitepoint.com/liking-watchlisting-and-uploading-through-vimeos-api/

SitePoint PHP Blog:
Building a Basic Video Search App with Vimeo’s API and Slim
Nov 24, 2015 @ 18:02:15

The SitePoint PHP blog has a new tutorial posted showing you how to integrate the Vimeo API with Slim to create a simple web application allowing you to search for videos matching a simple query string.

In this tutorial, you’ll get to know the basics of the Vimeo API. With it, you can fetch information on a specific user or get information on the videos uploaded by the user. If the video is private, you can only get it from the API if the user has given permission to your app.

They start with helping you create a new application on the Vimeo developer site and introduce you to the API playground for trying out various API queries and fetching the results. Following this the tutorial starts in on the application itself, helping you get a Slim application up and running with Twig templating and the Vimeo API library. They bootstrap the application with your Vimeo application credentials and how to log into the API via access tokens. The flow then allows the user to connect their Vimeo account to your Slim application. With this connection in place the user can then view their profile information and execute a search on the "videos" endpoint with a simple query string.

tagged: tutorial api vimeo video slim framework search results apiplayground application

Link: http://www.sitepoint.com/building-a-basic-video-search-app-with-vimeos-api-and-slim/

Community News:
Laracasts.com - Laravel 4 Screencast Archive
Apr 17, 2013 @ 16:50:59

A new resource has popped up for those wanting to get even more information about the Laravel PHP framework - the Laracasts.com site. The site is devoted to providing a consolidated listing of Laravel screencasts across the web.

[This site is a] compilation of screencasts from Youtube and Vimeo. Let's learn Laravel together!

There's already a good number of screencasts posted to the site from folks like Taylor Otwell (author of the framework), Jeffrey Way (NetTuts) as well as several recordings of talks from various conferences about the framework. If you have a screencast that's not linked on the site, you can submit the information for review and inclusion.

tagged: laracasts laravel4 screencast archive youtube vimeo sessions

Link: http://laracasts.com

Script-Tutorials.com:
Vimeo API - OAuth and Upload Example
Jul 16, 2012 @ 17:03:11

On the Script-Tutorials.com site there's a new tutorial showing how to use the Vimeo API to upload your content to their service:

Today I would like to continue talking about video. Last time we talked about Youtube, but today I decided to select Vimeo. [...] Our second example – Vimeo. In our new tutorial I will tell you how you can create Vimeo cross-uploader for your website. To achieve our idea we will use Vimeo Upload API. In the beginning, we should register at Vimeo here.

The full code for the upload script, the HTML for the frontend for it and the CSS to give it a little bit of style. You can see a demo of it here or just download the source.

tagged: vimeo api upload example tutorial oauth

Link:

Community News:
UNA Editor Screencast - PHP integration
Jun 27, 2008 @ 17:07:45

John De Goes (of N-Brain) let us know about a screencast he's posted on Vimeo of how he's set up the UNA Editor (Personal Edition - now free!) to work with PHP.

UNA Personal Edition includes full support for standard features of source code editors, such as syntax highlighting, auto-complete, regular expression search and replace, and external tool integration. [...] UNA Personal Edition allows developers to edit, compile, test, and execute files in any and all languages, and is a nice complement to heavyweight IDEs such as Eclipse and IntelliJ Idea.

The screencast lasts about five minutes and shows the creation of a new PHP project, how to set up a "launcher" to access the PHP online documentation right in the browser, use the built-in syntax checker PHP has (lint) and execute the current file.

tagged: una ide editor integration screencast vimeo

Link:


Trending Topics: