-2

I'm working on startup project and i have company profile for each employer contains images , videos , and some contents save to database, i'm thinking to create html page for each company and save it to the server and direct users to this page instead of one page and retrieve data each time.

and of course each time if some data changed for one company from our dashboard we will replace the exists one with the new content and save it to the server

Is it a good practice or not ?

2 Answers2

0

This could be a good practice if you want to create a different page for each company, but this method could become tricky to administrate when you have a lot of company under you. Generally i suggest you to use a standart html page for every company, and improve the user page customization.

Edit:

Create a path for each company profile, e.g. www.domain.com/company

Giorgio B
  • 193
  • 6
0

Good practice would be to create a template html page, and fill that template with code from a database - there for storing all the information for each employer in the database, and populating the template with that data.

That being said, if you just have a few employers, it may be 'faster' to just create individual html files for each employers profile. You should use this method only to get your website off the ground, and opt to use a template style once the business scales.

scottc11
  • 716
  • 2
  • 7
  • 20