vendredi 8 mars 2019

PHP details page development

I'm a newest web developer and I want to develop my first website. I noticed, in other websites, that when I see the details page of an object (for example a facebook event) there is the specific page dedicated (for example https://www.facebook.com/events/147413322816792). I thought that I can create a generic php page with a variable in get (e.g. facebook/events?id=147413322816792), retrieve information before load the page (through the id) and show them. Instead, seeing other websites, it seems that there is a specific static page (or semi-static) created for the details (e.g. the page 147413322816792for the facebook event). The question is, what is the best practice to create a details page? Create a generic page with dynamic fields or when an user will create an event I'll store information in database and create a static page?

Thanks!!




Aucun commentaire:

Enregistrer un commentaire