jbhoo — 2013-03-13T11:31:31-04:00 — #1
I was looking at this site and the underlying code, its not a cms system It dosen't seem to need a database, and I see no reason for them to use a php extension for there pages?
Can some one shed some light on this for me why they did this?
xhtmlcoder — 2013-03-13T13:43:51-04:00 — #2
I suspect they used the same logic most people do that use PHP includes; to include content/code to save themselves time having to code common page components such as the navigation menu, for each individual page, etc. Once you have over let's say 10 pages usually it makes more sense to use server-side includes as saves on maintenance time.
jbhoo — 2013-03-13T16:08:11-04:00 — #3
system — 2013-03-19T13:54:47-04:00 — #4
xhtmlcoder hit it right on the spot.
PHP includes allows me to have 1 page be static (have the design and main navigational links) then I can include the content pages. It saves so much time. Every time I have new content, I just make a simple page with only the content (text) and include it.
felgall — 2013-03-19T14:47:31-04:00 — #5
Using PHP has the advantage over using Server Side Includes that you can expand into using actual logic if you decide that your site requires it. SSI only allows include statements and little more.
system — 2013-03-23T07:16:07-04:00 — #6
You can create other pages by just including a file into PHP code.
system — 2013-03-23T07:46:16-04:00 — #7
The major feature of PHP is SFS:-Stability, Flexibility and Speed are the chief qualities that attract business owners to choose PHP.
stephenbolt — 2013-03-27T10:23:01-04:00 — #8
Coding on PHP is comparatively easy than other programming language. Generally owner use PHP as a platform to build their site and adopt WordPress as a CMS.
cpradio — 2013-04-15T09:26:56-04:00 — #9
Closing this thread, it has become a fluff magnet and isn't providing anything useful any more.