For dynamic content. php is the best choice.
For static content, HTML is fine.
I'm thinking to build a new website , shall i go for html or php? looking for your suggestions....... thanks in Advance
For dynamic content. php is the best choice.
For static content, HTML is fine.
This completely depends on what would you like to build. If you want a simple site (a few pages, contact form... etc) then you don't need php ...but if you would like to create something more complex like custom cms, use mySQL databases then PHP is a way to go. Consider also that more dynamic system with php maybe be more vulnerable and make your server acting slower due to more dynamic queries.
I always use PHP even for static sites. This means that parts of the pages that are the same for all are written in a PHP include file. This means if I want to change something in the navigation or footer for example, I can change one file and all pages are changed.
Otherwise you have to make the same change to every page which is just damn crazy.
In my own experiences, PHP is powerful when using with DBMS like MySQL. It would be really helpful in generating pages for a big site and search engines now have no problem in indexing and ranking dynamic pages or sites using PHP. It is easy to maintain also.
Thanks,
If your website is supposed to contain dynamic pages then I think you should go for PHP because it will save a lot of time & if the website is supposed to contain static pages then HTML should be preferred.
For the extending development in the future, I suggest you using PHP.
But, if the website you are going to build needs only few pages, it's recommended to use only HTML pages.
Sharing for two nice tools:duplicate file finder to remove duplicates and email Duplicate email reomverfor directing internet marketing.
You will always need to use HTML even if you code with PHP. In the end PHP will output HTML code for the browser to interpret.
It all depends on if you are running a static or dynamic website.
shure php is the best try to use php + some js
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks