Text
Automation and External
services Integration in Neos
explore
tt ttree
digital beans
tt ttree
digital beans
Building website
since 2000
Back then a website
were just an island
But everything changed
Define « external service »
Why you need external service ?
not invented here
simple does not mean easy
pay as you go
Give me some
good external service ?
filepreviews.io
https://dl.dropboxusercontent.com/s/opcxbgkl4znvdc3/2016-04-19%20at%2022.43.png?dl=0
FilePreviews
github.com/ttreeagency
cloudconvert.com
moltin.com
AWS Lambda
and many many more
But how ?
has an editor,
I need to preview link to external
website in my blog post
Let’s build a web scrapper
or try to integrate embed.ly
/**
* Embedly Helper
*/
class EmbedlyHelper implements ProtectedContextAwareInterface
{
/**
* @param string $url
* @return...
prototype(Ttree.Embedly:Oembed) {
@override.response = ${Embedly.oembed(q(node).property('url'))}
content = TYPO3.TypoScri...
Embedly
github.com/ttreeagency
This world is full of Unicorns
Pitfalls and Pain points
vendor lock in
external downtime
pricing
hard to code
with external dependencies


ngrok is your best friend
make your web hooks available online
# ngrok http -host-header=rewrite 
-subdomain=cloud-butler 
master-dev.neos-workplace.dev:80
What about automation ?
web hook in Neos
CloudButler
project under development
trigger based on temporal data
Scheduler
github.com/ttreeagency
sync data from external source
Aggregator
github.com/ttreeagency
Aggregator
github.com/ttreeagency
opensource & sharing

is part of our DNA
we love client project
to support our open source efforts
hello@ttree.ch - @ttreeagency - github.com/ttreeagency
tt ttree
digital beans
you are welcome in our office @ lausanne
don’...
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Inspiring conference -  Automation & external service integration
Prochain SlideShare
Chargement dans…5
×

Inspiring conference - Automation & external service integration

801 vues

Publié le

How to integrate external service in your Neos CMS & Flow Framework project. Mostly valid for any kind of project.

Publié dans : Technologie
0 commentaire
1 j’aime
Statistiques
Remarques
  • Soyez le premier à commenter

Aucun téléchargement
Vues
Nombre de vues
801
Sur SlideShare
0
Issues des intégrations
0
Intégrations
8
Actions
Partages
0
Téléchargements
4
Commentaires
0
J’aime
1
Intégrations 0
Aucune incorporation

Aucune remarque pour cette diapositive

Inspiring conference - Automation & external service integration

  1. 1. Text Automation and External services Integration in Neos explore tt ttree digital beans
  2. 2. tt ttree digital beans
  3. 3. Building website since 2000
  4. 4. Back then a website were just an island
  5. 5. But everything changed
  6. 6. Define « external service »
  7. 7. Why you need external service ?
  8. 8. not invented here
  9. 9. simple does not mean easy
  10. 10. pay as you go
  11. 11. Give me some good external service ?
  12. 12. filepreviews.io
  13. 13. https://dl.dropboxusercontent.com/s/opcxbgkl4znvdc3/2016-04-19%20at%2022.43.png?dl=0
  14. 14. FilePreviews github.com/ttreeagency
  15. 15. cloudconvert.com
  16. 16. moltin.com
  17. 17. AWS Lambda and many many more
  18. 18. But how ?
  19. 19. has an editor, I need to preview link to external website in my blog post
  20. 20. Let’s build a web scrapper
  21. 21. or try to integrate embed.ly
  22. 22. /** * Embedly Helper */ class EmbedlyHelper implements ProtectedContextAwareInterface { /** * @param string $url * @return array */ public function oembed($url) { $embedly = new Embedly(); $response = $embedly->oembed([ 'url' => $url ]); $data = json_decode(json_encode(reset($response)), true); return $data; } /** * All methods are considered safe * * @param string $methodName * @return boolean */ public function allowsCallOfMethod($methodName) {
  23. 23. prototype(Ttree.Embedly:Oembed) { @override.response = ${Embedly.oembed(q(node).property('url'))} content = TYPO3.TypoScript:Case { link { condition = ${response.type == 'link'} type = 'Ttree.Embedly:Oembed.Link' } video { condition = ${response.type == 'video'} type = 'Ttree.Embedly:Oembed.Video' } photo { condition = ${response.type == 'photo'} type = 'Ttree.Embedly:Oembed.Photo' } } }
  24. 24. Embedly github.com/ttreeagency
  25. 25. This world is full of Unicorns
  26. 26. Pitfalls and Pain points
  27. 27. vendor lock in
  28. 28. external downtime
  29. 29. pricing
  30. 30. hard to code with external dependencies
  31. 31. 
 ngrok is your best friend make your web hooks available online
  32. 32. # ngrok http -host-header=rewrite -subdomain=cloud-butler master-dev.neos-workplace.dev:80
  33. 33. What about automation ?
  34. 34. web hook in Neos
  35. 35. CloudButler project under development
  36. 36. trigger based on temporal data
  37. 37. Scheduler github.com/ttreeagency
  38. 38. sync data from external source
  39. 39. Aggregator github.com/ttreeagency
  40. 40. Aggregator github.com/ttreeagency
  41. 41. opensource & sharing
 is part of our DNA we love client project to support our open source efforts
  42. 42. hello@ttree.ch - @ttreeagency - github.com/ttreeagency tt ttree digital beans you are welcome in our office @ lausanne don’t be shy ping us is you are in the area

×