Jump to content

Template design - Whats the most easiest way to design one in php?


TeddyKiller

Recommended Posts

You may think this is HTML/CSS, as a fact.. it's not.

A template in HTML/CSS .. very well, it does the job. However.. what if you didn't want to update 50+ pages one at a time, wasting valuable days.. what would be the best solution?

 

You could create functions, but then you may have loads of functions to consider.

I know what SMF does, it has a template file, which is the actual template. How is this done though?

 

My website is getting bigger, more functions get added in, thus making more pages, and more to change when adding stuff in. I want a solution to make editting easier.

 

Sorry if this is suppose to be under application design, it's just php related so I posted it here.

 

Can anyone assist me?

Thanks

ideally the concept is that php (or any server side 'language') should be separate from html/css etc.  Not a really easy thing to do. It takes lots of planning.  includes and functions are extremely helpful.

 

perhaps taking 'similar' functions and combing them so that a 'key' parameter makes a completely different result.

 

I for a long time (and unfortunately stiil so on too many occasions) try to 'do it all at once'. I find my best work comes when I work backwards AND keep the overall objective in mind (ie why is the site necessary and what specifically should its objective be).

 

just my two cents.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.