[t3con13na] integrating websites with neos

92
Integrating Websites with TYPO3 Neos Donnerstag, 30. Mai 13

Upload: christian-mueller

Post on 12-May-2015

589 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: [T3CON13NA] Integrating Websites With Neos

Integrating Websites with TYPO3 Neos

Donnerstag, 30. Mai 13

Page 2: [T3CON13NA] Integrating Websites With Neos

Implementing a Website with TYPO3 CMS

Donnerstag, 30. Mai 13

Page 3: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 4: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 5: [T3CON13NA] Integrating Websites With Neos

3 Ways to go on

Donnerstag, 30. Mai 13

Page 6: [T3CON13NA] Integrating Websites With Neos

Classic Templating

3 Ways to go on

Donnerstag, 30. Mai 13

Page 7: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 8: [T3CON13NA] Integrating Websites With Neos

Templavoila

3 Ways to go on

Donnerstag, 30. Mai 13

Page 9: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 10: [T3CON13NA] Integrating Websites With Neos

3 Ways to go onFluid Template

Donnerstag, 30. Mai 13

Page 11: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 12: [T3CON13NA] Integrating Websites With Neos

Write Typoscript

Donnerstag, 30. Mai 13

Page 13: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 14: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 15: [T3CON13NA] Integrating Websites With Neos

Create Pages

Donnerstag, 30. Mai 13

Page 16: [T3CON13NA] Integrating Websites With Neos

Add Dummy Content

Donnerstag, 30. Mai 13

Page 17: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 18: [T3CON13NA] Integrating Websites With Neos

Folder Structure?

Donnerstag, 30. Mai 13

Page 19: [T3CON13NA] Integrating Websites With Neos

Folder Structure?

fileadmin

?Donnerstag, 30. Mai 13

Page 20: [T3CON13NA] Integrating Websites With Neos

Folder Structure?

fileadmin

templates ?Donnerstag, 30. Mai 13

Page 21: [T3CON13NA] Integrating Websites With Neos

Folder Structure?

fileadmin

templates

extension?

Donnerstag, 30. Mai 13

Page 22: [T3CON13NA] Integrating Websites With Neos

TypoScript?

Donnerstag, 30. Mai 13

Page 23: [T3CON13NA] Integrating Websites With Neos

TYPO3 Neos

Donnerstag, 30. Mai 13

Page 24: [T3CON13NA] Integrating Websites With Neos

Installation

Donnerstag, 30. Mai 13

Page 25: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 26: [T3CON13NA] Integrating Websites With Neos

Site Package

Donnerstag, 30. Mai 13

Page 27: [T3CON13NA] Integrating Websites With Neos

MyCompany.MySite

Classes

Configuratio

Resources

Site Package Contents

Donnerstag, 30. Mai 13

Page 28: [T3CON13NA] Integrating Websites With Neos

Resources Contents

Resources

Public

Private

Donnerstag, 30. Mai 13

Page 29: [T3CON13NA] Integrating Websites With Neos

Public

StyleSheets

Images

Scripts

Public Resources Contents

...

Donnerstag, 30. Mai 13

Page 30: [T3CON13NA] Integrating Websites With Neos

Private

Content

Templates

TypoScripts

Private Resources Contents

Donnerstag, 30. Mai 13

Page 31: [T3CON13NA] Integrating Websites With Neos

Content/Sites.xml<node type="TYPO3.Neos:Page" nodeName="anotherpage"> <properties> <title>Another Page</title> </properties> <node type="TYPO3.Neos:ContentCollection" nodeName="main"> <node type="TYPO3.Neos.NodeTypes:Headline" nodeName="headline1"> <properties> <title><![CDATA[<h1>Want More?</h1>]]></title> </properties> </node> <node type="TYPO3.Neos.NodeTypes:Text" nodeName="text1"> <properties> <text><![CDATA[ Some content ]]></text> </properties> </node> </node></node>

Donnerstag, 30. Mai 13

Page 32: [T3CON13NA] Integrating Websites With Neos

Content Model

Donnerstag, 30. Mai 13

Page 33: [T3CON13NA] Integrating Websites With Neos

Nodes

Donnerstag, 30. Mai 13

Page 34: [T3CON13NA] Integrating Websites With Neos

Node structure

site root

page

content collection

content element

representation of domain models

Donnerstag, 30. Mai 13

Page 35: [T3CON13NA] Integrating Websites With Neos

/sites/typo3org/home/subpage/main/text1

are addressed by nodePaths

Donnerstag, 30. Mai 13

Page 36: [T3CON13NA] Integrating Websites With Neos

/sites/typo3org/home/subpage/main/text1

site root

are addressed by nodePaths

Donnerstag, 30. Mai 13

Page 37: [T3CON13NA] Integrating Websites With Neos

/sites/typo3org/home/subpage/main/text1

pagessite root

are addressed by nodePaths

Donnerstag, 30. Mai 13

Page 38: [T3CON13NA] Integrating Websites With Neos

/sites/typo3org/home/subpage/main/text1

contentcollectionpages

site root

are addressed by nodePaths

Donnerstag, 30. Mai 13

Page 39: [T3CON13NA] Integrating Websites With Neos

/sites/typo3org/home/subpage/main/text1

content

contentcollectionpages

site root

are addressed by nodePaths

Donnerstag, 30. Mai 13

Page 40: [T3CON13NA] Integrating Websites With Neos

Private

Content

Templates

TypoScripts

Private Resources Contents

Donnerstag, 30. Mai 13

Page 41: [T3CON13NA] Integrating Websites With Neos

Page Template

Donnerstag, 30. Mai 13

Page 42: [T3CON13NA] Integrating Websites With Neos

Fluid Template

Donnerstag, 30. Mai 13

Page 43: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 44: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 45: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 46: [T3CON13NA] Integrating Websites With Neos

Private

Content

Templates

TypoScripts

Private Resources Contents

Donnerstag, 30. Mai 13

Page 47: [T3CON13NA] Integrating Websites With Neos

TypoScript2 Basics

Donnerstag, 30. Mai 13

Page 48: [T3CON13NA] Integrating Websites With Neos

‣ TypoScript v4: Extensibility, stdWrap

‣ Fluid: HTML Templates

‣ JavaScript: Prototypes

‣ jQuery: DOM Selection, Filters

‣ CSS: Selectors

Inspirations

Donnerstag, 30. Mai 13

Page 49: [T3CON13NA] Integrating Websites With Neos

limited set of objects

Donnerstag, 30. Mai 13

Page 50: [T3CON13NA] Integrating Websites With Neos

Basic TypoScript objects

‣ Template

Donnerstag, 30. Mai 13

Page 51: [T3CON13NA] Integrating Websites With Neos

Basic TypoScript objects

‣ Template

‣ Array

Donnerstag, 30. Mai 13

Page 52: [T3CON13NA] Integrating Websites With Neos

Basic TypoScript objects

‣ Template

‣ Array

‣ Collection

Donnerstag, 30. Mai 13

Page 53: [T3CON13NA] Integrating Websites With Neos

Basic TypoScript objects

‣ Template

‣ Array

‣ Collection

‣ Case

Donnerstag, 30. Mai 13

Page 54: [T3CON13NA] Integrating Websites With Neos

Basic TypoScript objects

‣ Template

‣ Array

‣ Collection

‣ Case / Matcher

‣ Value

Donnerstag, 30. Mai 13

Page 55: [T3CON13NA] Integrating Websites With Neos

Prototypes

Donnerstag, 30. Mai 13

Page 56: [T3CON13NA] Integrating Websites With Neos

Prototype Declaration

Donnerstag, 30. Mai 13

Page 57: [T3CON13NA] Integrating Websites With Neos

processors

Donnerstag, 30. Mai 13

Page 58: [T3CON13NA] Integrating Websites With Neos

processors

Donnerstag, 30. Mai 13

Page 59: [T3CON13NA] Integrating Websites With Neos

Example TypoScript

Donnerstag, 30. Mai 13

Page 60: [T3CON13NA] Integrating Websites With Neos

Extensibility

Donnerstag, 30. Mai 13

Page 61: [T3CON13NA] Integrating Websites With Neos

Implement custom TypoScript objects

Donnerstag, 30. Mai 13

Page 62: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 63: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 64: [T3CON13NA] Integrating Websites With Neos

Add processors

Donnerstag, 30. Mai 13

Page 65: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 66: [T3CON13NA] Integrating Websites With Neos

Embedded Expression Language (EEL)

Donnerstag, 30. Mai 13

Page 67: [T3CON13NA] Integrating Websites With Neos

domain specific language

Donnerstag, 30. Mai 13

Page 68: [T3CON13NA] Integrating Websites With Neos

Parsing Expression Grammar

Donnerstag, 30. Mai 13

Page 69: [T3CON13NA] Integrating Websites With Neos

WAIT

Donnerstag, 30. Mai 13

Page 70: [T3CON13NA] Integrating Websites With Neos

Why would I want

in my code?

Donnerstag, 30. Mai 13

Page 71: [T3CON13NA] Integrating Websites With Neos

Donnerstag, 30. Mai 13

Page 72: [T3CON13NA] Integrating Websites With Neos

jQuery like syntax

Donnerstag, 30. Mai 13

Page 73: [T3CON13NA] Integrating Websites With Neos

Collections

Donnerstag, 30. Mai 13

Page 74: [T3CON13NA] Integrating Websites With Neos

Traversal

Donnerstag, 30. Mai 13

Page 75: [T3CON13NA] Integrating Websites With Neos

Object Methods

Donnerstag, 30. Mai 13

Page 76: [T3CON13NA] Integrating Websites With Neos

Accessing objects

Donnerstag, 30. Mai 13

Page 77: [T3CON13NA] Integrating Websites With Neos

Accessing objects

Donnerstag, 30. Mai 13

Page 78: [T3CON13NA] Integrating Websites With Neos

Operations

Donnerstag, 30. Mai 13

Page 79: [T3CON13NA] Integrating Websites With Neos

Operations

Donnerstag, 30. Mai 13

Page 80: [T3CON13NA] Integrating Websites With Neos

comparisons

Donnerstag, 30. Mai 13

Page 81: [T3CON13NA] Integrating Websites With Neos

comparisons

Donnerstag, 30. Mai 13

Page 82: [T3CON13NA] Integrating Websites With Neos

Filtering objects

Donnerstag, 30. Mai 13

Page 83: [T3CON13NA] Integrating Websites With Neos

Filtering objects

Donnerstag, 30. Mai 13

Page 84: [T3CON13NA] Integrating Websites With Neos

Add custom operations

Donnerstag, 30. Mai 13

Page 85: [T3CON13NA] Integrating Websites With Neos

TypoScripts Contents

TypoScripts

Library

Donnerstag, 30. Mai 13

Page 86: [T3CON13NA] Integrating Websites With Neos

TypoScripts Contents

TypoScripts

Library Root.ts2

Donnerstag, 30. Mai 13

Page 87: [T3CON13NA] Integrating Websites With Neos

Tips

Donnerstag, 30. Mai 13

Page 88: [T3CON13NA] Integrating Websites With Neos

Custom Node Types

Donnerstag, 30. Mai 13

Page 89: [T3CON13NA] Integrating Websites With Neos

Stick to conventions

Donnerstag, 30. Mai 13

Page 90: [T3CON13NA] Integrating Websites With Neos

My Request

Donnerstag, 30. Mai 13

Page 91: [T3CON13NA] Integrating Websites With Neos

TRY AND GIVE FEEDBACK

Donnerstag, 30. Mai 13

Page 92: [T3CON13NA] Integrating Websites With Neos

@daskitsunet

‣ likes books, music, tea and more

‣ Flow and Neos Community Contact

‣ Freelance Trainer / Developer

‣ plays the piano

[email protected]

Donnerstag, 30. Mai 13