"Sulu CMS as a full headless solution" - Keynote from the PHPUG-Rhein-Neckar, at the 29.April.2021
Sulu CMSSulu CMS as a full headless solution
View Slide
Hi, I’m Oliver Kossin@Cadien1– Symfony and PHP-Developer for more than 6 Years– Working with sulu for 2 years– Work in Cologne at the agency brandung – Loves football, traveling and DIY projectshttps://github.com/TheCadien
Live Demohttps://github.com/TheCadien/PHPUGMRN-sulu-demo
Let’s Start!
Sulu CMS is…– Enterprise content management platform– Built full-stack on the Symfony framework– Made for businesses– Intuitive UI with great UX– High performance– 100% Open Source
Framework based– Don't reinvent the wheel– Built on top of a solid foundation– Re-using proven and widely tested software designpatterns– Secure and long term maintained – More than 3 billion downloads
Worldwide community23.056Commits1.561GitHub stars434.875 Package downloads112Contributors1.239Slack users375Releases
When to use Sulu– Complex brand and corporate websites– News and media platforms– Social and collaborative sites– Custom eBusiness solutions– Handling external data resources– Headless data & content provider – Speed is a critical success factor
Webspaces– One single content-structure / page tree – The structure represents one or morewebsites– Multiple languages implemented asdimensions– Multiple webspaces support
– Powerful template engine– Each page template is defined by✓ an XMLfile that contains the pagestructure✓ a Twigfile that contains the HTMLrepresentation– The page structure consists of properties,each of which has a content typeTemplating
Snippets & Articles– Additional concepts for centralised content management✓ Snippets for re-usable content fragments— across webspaces✓ Article repository for centralisedpublisher oriented content management(blog-posts, news, …)
Media Management– Centralised repository for documents,images etc.– Independent management based on folder hierarchies – Multi-language support for document meta-data– Document versioning– Automated image re-sizing & optimisation
What is our Demo about
Headless
The End
What does Headless mean ?– without a graphical display
Why Headless
Website Webshop Mobile App Social Media IoT WearablesContent DeliveryIntegrationsCRM Film DB …ERPSulu ModulesSulu CMS
SuluHeadlessBundle
Let’s install the Bundle !
Let’s use the Bundle !
What exactly has changed
Let’s use the Bundle !– https://localhost:8000/
Whats next ?
Add own ContentTypes
Add own ContentTypes– Create Service and tag it with „sulu_headless.content_type_resolver“
Add own ContentTypes– Create a ContentTypeResolver Service which implements ContentTypeResolverInterface
Nothing more?
Interested in more ?
Cheers
sulu.ioThank you!