typo3 as things management system

29
T3CON13DE, Stuttgart, Germany TYPO3 as Things Management System Talk by Fedir RYKHTIK @FedirFr, WebDev, Toulon, France

Upload: fedir-rykhtik

Post on 08-May-2015

1.429 views

Category:

Technology


3 download

DESCRIPTION

TYPO3 as Things Management System Slides from my talk during TYPO3 conference at Stuttgart (2013) #t3con13de

TRANSCRIPT

Page 1: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

TYPO3 as Things Management System

Talk by Fedir RYKHTIK @FedirFr, WebDev, Toulon, France

Page 2: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Hello World

I’m Fedir RYKHTIK.

Developer/SysAdmin at Stratis (Toulon, France).

TYPO3 developer since 2007.

Certifications PHP, TYPO3.

Also participate at Drupal, OpenStreetMap, Raspberry PI, Linux and lots of other open culture projects.

Page 3: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

The evolution of Internet

Web0.0 - prehistoric times (mails, FIDO, BBS)

Web1.0 - static sites, beginning of CMS

Web2.0 - social networks, cloud computing

Web3.0 - semantic stuff, 3D, augmented reality

Web4.0 - ... ?

Page 4: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Welcome to the Internet of Things.

So let’s make Web4.0 !

Page 5: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Let’s change our idea about the Internet.

From the abstract information to real life.

And TYPO3 still could be successfully used.

Page 6: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Where are we now ? Or when ?

Looks like TYPO3 is used mostly for static sites.

Some extensions provides functionalities of social pulls (CWT Community, HOI Community etc)

Some extensions adds semantic support.

Page 7: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

TYPO3, the future TMS leader

Always in motion is the future.

Master Yoda

Page 8: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

First CMS => First TMS

TYPO3 was one of first open source CMS, the most complete on the market.

It’s the moment to be one of first TMS.

Page 9: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

How it works

The basics of Things Management

Page 10: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Simplest realisation - Raspberry PI

● 700 MHz ARM processor● 256M/512M RAM● Works on Linux (Debian etc)● Ethernet / USB port● GPIO

Page 11: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

GPIO

Raspberry PI natively has GPIO (general-purpose input/output) pins. It could be directly connected to an external interface to get data and to set data.

Page 12: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Starter Kit

Page 13: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Some components for GPIO connection

● Sensors○ Movement○ Light○ Temperature○ Sound

● Buttons● Switches● LEDs & Displays● Servo motors● Buzzers & Speakers

Page 14: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

How TYPO3 works with external devices

● PHP if the CMS is hosted on the same PC○ https://github.com/ronanguilloux/php-gpio

● Web-GPIO for remote○ https://code.google.com/p/webiopi/○ https://github.com/swooingfish/raspberrypi-

web-gpio

Page 15: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

PHP-GPIO tiny example

<?php

require 'vendor/autoload.php';

use PhpGpio\Gpio;

echo "Setting up pin 17\n";

$gpio = new GPIO();

$gpio->setup(17, "out");

echo "Turning on pin 17\n";

$gpio->output(17, 1);

echo "Sleeping!\n";

sleep(3);

echo "Turning off pin 17\n";

$gpio->output(17, 0);

Page 16: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

WebIOPI

Web interface

Press the OUT/IN button to change GPIO direction

Press pins to change the GPIO output state

AJAX will do the job

Page 17: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Same PC example

Page 18: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Remote PC example

Page 19: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Remote + RPI managers + Atmel agents

Page 20: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

System architecture based on TYPO3 TMS

TYPO3 side implementation

Page 21: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Hierarchical structure

Page tree to define the system hierarchy

FCE to describe elements

TypoScript to pass the configuration

Page 22: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

DDD to define relations and behaviour

Page 23: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

It’s easy to implement

● TYPO3 Neos + FLOW3● Extbase will work fine - for TYPO3 6.2 LTS

Page 24: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

TYPO3 as Things Management System

TYPO3 is bigger than You think.

FLOW3 is not only for sites, it’s for everything.

TYPO3 Neos is coming (as winter).

Page 25: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Wants to participate

Let’s do it together !

https://github.com/fedir/TYPO3.TMS/

Page 26: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Q&A

Please, ask You questions, we have few minutes

(if the timing was well calculated).

Page 27: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

Useful links

● http://en.wikipedia.org/wiki/Internet_of_Things● http://www.raspberrypi.org/● http://www.skpang.co.uk/catalog/raspberry-pi-c-240.html● http://www.instructables.com/id/Web-Control-of-Raspberry-Pi-GPIO/● http://uk.farnell.com/

Page 28: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

©

● http://en.wikipedia.org/wiki/File:Raspberry_Pi_Logo.svg● http://www.flickr.com/photos/kenfagerdotcom/9044342859/● http://www.flickr.com/photos/55514420@N00/3314993893/

Page 29: TYPO3 as Things Management System

T3CON13DE, Stuttgart, Germany

contacts

Fedir RYKHTIK

@FedirFR

https://github.com/fedir/

http://fedir.github.io/