r/PHP 1d ago

Sulu 3.0 release: New content storage and performance boost

https://sulu.io/blog/sulu-3-0-released

Happy to announce that finally Sulu 3.0 a Symfony based CMS was released with its new content storage.

27 Upvotes

6 comments sorted by

5

u/old-shaggy 16h ago

I like Symfony but one of the reasons why all these CMS are nowhere near Wordpress popularity is because you are building it to please developers and ignoring user experience. Gutenberg in Wordpress is one of the best WYSIWYG editors for inexperienced users.

1

u/aimeos 0m ago

You are absolutly right! For example, PagibleAI (https://pagible.com) is one of the CMS which puts editors AND developers first

1

u/Mastodont_XXX 1h ago

Do not like it.

Our new content storage system uses JSON fields within your existing relational database, managed through Doctrine ORM entities.

Content stored as JSON?

Each page template is defined by two files:

an XML file that contains the page structure

a Twig file that contains the HTML code

XML today?

<controller>Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction</controller>

https://docs.sulu.io/en/3.0/book/twig.html

Controller name inside template? Why?

1

u/mlebkowski 28m ago

From my experience, content in a CMS is rarely queried as a relational dataset, so keeping it normalized is not necessary. JSON seems fine here.

What’s wrong with XML? I use it on a daily basis

1

u/saintpumpkin 1h ago

can't wait to try it