Support the ongoing development of Laravel.io →
Views Blade
Last updated 2 years ago.
0

It's all up to you. In my opinion, yes. It makes a perfect sence. It actually doesn't matter that much where you keep the content (HTML code in your case). It might be important to understand that files are kind of a database too.

For images, you can for example have media library and make it easy from your CMS to paste them to the content as URLs. Another idea is to develop (or use third party) shortcodes system, making image pasting as simple as that:

[img]icons/ok.png[/img]

And as a final thought, if your site is all about displaying content edited by people, consider using existing CMS, like WordPress for example. No need to reinvent the wheel.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.