F
Filamentβ€’6mo ago
Soundmit

Best Practices for Websites with FilamentPHP

Now that I understand how to use FilamentPHP for creating apps and backends, I need to create the frontend. I would use Filament as if it were a CMS. The typical website has static content pages, a blog or news section, plus some custom content. Developing this part shouldn't be a problem. As for the frontend, I would use the TALL stack, and this shouldn't be an issue either. However, I'm wondering how to implement the following: Content visible to everyone and restricted content (should I create a panel for users?) Menus: how do you manage menus that have links to pages which can be created by users? I've never done frontend with Laravel, but it seems that working with routes and views is sufficient. Can you give me some advice?
8 Replies
Lara Zeus
Lara Zeusβ€’6mo ago
just use TALL for the frontend you can use laravel with blade or with livewire to create the controllers (posts,pages etc) you can check #lara-zeus-sky and get some ideas
Soundmit
SoundmitOPβ€’6mo ago
you need to install sky on top of a clean laravel installation or on top of a laravel+filament?
Lara Zeus
Lara Zeusβ€’6mo ago
on top of filament its a filament plugin πŸ™‚
Tally
Tallyβ€’6mo ago
I'm using ryangjchandler/filament-navigation for navigation
Soundmit
SoundmitOPβ€’6mo ago
how do you manage the frontend menu? i saw in the demo that you have a builder for the menu
Lara Zeus
Lara Zeusβ€’6mo ago
using something similar to what Tally mentioned #navigation its actually the same base code with small improvements
krekas
krekasβ€’6mo ago
i would recommend learning the basics first of laravel itself. question like Content visible to everyone and restricted content makes an impression that you really lack the basics
Soundmit
SoundmitOPβ€’6mo ago
Thank you. Yes, it's not an issue with Spatie permissions or Shield on the filament side. I believe these concepts are also applicable to the frontend
Want results from more Discord servers?
Add your server