A question for you website whizzes
hey guys got a question for you.Eddie53 wrote:Yes that works, make sure your site is in php.
sean06 wrote:I might try doing my next site in php, just for something different, if I'm using dreamweaver, there should be no big difference right?
Eddie53 wrote:Adrian,
I read somewhere that html is preferable as the pages are deemed to be not as dynamic as php.
Is there any truth in this?
fkish wrote:Both PHP & HTML have different purposes:
HTML, is more for laying out and formatting text. PHP on the other hand is a full-blown scripting/programming language and can also be used outside of the server environment too. Eg, I havent used batch files on my machines since I'd learnt PHP.
Not only is PHP more powerful than a batch file but is also cross-platform! So I can write stuff on my windose box and use them on my linux box too, great for automating website updates!
The beauty of PHP is that most servers have it installed as standard and all you need to do is rename any/all your .htm(l) files to .php; small step but great benefits.
Not only could you generate your troublesome menus dynamically but small things like updating copyright dates etc becomes a doddle...
I dont write html files any more...just use php to create my content from simple template files.
So, if you want to be more productive without having to wait for dreamweaver to startup, get yourself a good, simple text editor and learn php, you wont regret it...
bye for now,
ference
PS: How long do you wait for dreamweaver to startup??