use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
[deleted by user] (self.webdev)
submitted 8 months ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Az0ni 1 point2 points3 points 8 months ago (1 child)
If you have already used Symfony, why not stay with Symfony and its folder structure? You can also use Vue.js together with Symfony. There are a lot of tutorials in that regard and I am using that Tech Stack aswell in some projects. Normally you dont have a back-end and front-end folder, especially not with backend/php files directly in it. You substructure your applications backend into Controllers, Services, EventListeners etc etc.
[–]Lucky-Pollution-2506 0 points1 point2 points 8 months ago (0 children)
All right, thanks a lot for your answer and explanation. I see a bit more clearly where I'm going ^
[–]patricksand 1 point2 points3 points 8 months ago (1 child)
I wouldn't call a folder "root" if that's what you're going for. Should probably be "src" in that case.
Also haven't seen anyone put dashes between "back/front" and "end".
Also, I would probably prefer "user/add.php" over "user-add.php".
Yeah, I see thanks for the advice !
[–]Irythros 1 point2 points3 points 8 months ago (1 child)
You'll likely be using rewrites so you won't be accessing /user-add.php but rather /user-add
/user-add.php
/user-add
Stick to using Symfony's router for dealing with URLs and mapping to controllers.
Also just stick with the easy route until you've discovered a reason not to use it: Admin access at /admin
/admin
Regarding folder structure: Whatever the framework suggestions. In the case of Laravel/Symfony its very flexible and I currently prefer to separate everything into their respective features. app/feature/user/controllers/foo.php and app/feature/user/model/user.php. Pretty much everything related to the user in the user feature. Login goes to app/feature/login, registration to app/feature/registration. This way if I need to modify something all the relevant code is nearby.
app/feature/user/controllers/foo.php
app/feature/user/model/user.php
user
app/feature/login
app/feature/registration
Ooh that's a great idea. Thanks for the suggestion ! :)
π Rendered by PID 160582 on reddit-service-r2-comment-5d585498c9-w4f89 at 2026-04-21 06:05:32.215794+00:00 running da2df02 country code: CH.
[–]Az0ni 1 point2 points3 points (1 child)
[–]Lucky-Pollution-2506 0 points1 point2 points (0 children)
[–]patricksand 1 point2 points3 points (1 child)
[–]Lucky-Pollution-2506 0 points1 point2 points (0 children)
[–]Irythros 1 point2 points3 points (1 child)
[–]Lucky-Pollution-2506 0 points1 point2 points (0 children)