Answer the question
In order to leave comments, you need to log in
What is the best way to organize the structure of the site?
Hello! I am making a business card website for a photographer, it has a portfolio section. For each client in a specific category (portraits, group photos, etc.) there is a separate card that leads to a page generated from a template (with a filled in name and uploaded photos).
Question: what is the best way to make such functionality? So far, the amount of material is small, and everything can be done manually, but common sense suggests that this business should be automated.
I see it like this:
/portraits/:name
send the view to a page where the data will be changed in the right places, and inside them it will be necessary to run a cycle to read the photos from the directory. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question