Blog

Welcome to our blog, where we share news related to Sylius and post about technology & eCommerce.

Content editing with Symfony CMF

Another big integration has just been merged into the master branch.
Please give a warm welcome to the Symfony CMF, which joined our vendors dir.

Until now, there was no built-in content editing feature for Sylius. Most of the time, developers handled it pretty well by using other bundles or content management systems. Thanks to the great work of the guys from Symfony CMF & PHPCR team, working with content and Symfony2 is pure pleasure.

We have also integrated SonataBlockBundle, which is a great foundation for website building blocks.

About Symfony CMF

The Symfony CMF project makes it easier for developers to add CMS functionality to applications built with the Symfony2 PHP framework.
Key development principles for the provided set of bundles are scalability, usability, documentation and testing.

Believe me, it is much easier.

Pages & Blocks

For initial integration, we have introduced only two very basic content types, Pages & Blocks. You can manage them through our backend interface and fortunately, it was possible to do through our SyliusResourceBundle, which now supports Doctrine PHPCR ODM. (ORM & MongoDB ODM are supported as well)

Kudos to David Buchmann who worked on the initial support for the ODM!

Pages can be accessed through the content/{the/name/of/content} path and you can render the blocks anywhere you want in the templates. Your users will be able to edit them as well!

Database backend

As you may already know, PHPCR ODM supports different content repository implementations, we're using the simplest DBAL driver. For larger installations, with a really large number of documents & nodes, you can consider Jackrabbit.

Future

The goal of this initial integration is to provide the architecture for future features together with a very basic interface for managing it.

Below you can see a very brief overview of our plans regarding this area of Sylius.

  • Adding a proper tree view for the backend editing.
  • Integrating WYSIWYG editor.
  • Allowing to create & manage different types of blocks. (videos, images, custom actions)
  • Enabling the inline editing in the frontend, using the create.js tool.

We are very excited about these plans and you should be too!


More from our blog

New Sylius API For Modern eCommerce Web Apps (SPA/PWA)

We have a really strong belief that the next-generation eCommerce platform is not the one with all possible features, but the one that integrates with the best tools in the category. Read our latest blog post and find out why Sylius ShopApiPlugin is our another step in the direction of modern eCommerce projects with separate frontend applications.

Sylius Croatia Meetup #2 Summary

A week after our second Sylius Meetup in Croatia, we can already say with full confidence: We have the best Open Source community! Read more about lectures, BBQ and workshops that took place in Zagreb.

Sylius Croatia 2017

After successful travel to Berlin, Sylius is going to conquer Croatia. Come to Zagreb on 14th of June and meet our team at Sylius & Symfony Croatia 2017 Meetup, organised by our friends from Netgen & Locastic.

Want to boost your business with Sylius?

CONTACT US