Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Pros And Cons Of Building An Html-only Website?


26 replies to this topic

#1 The Simpleton

    Trapped For Life

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,423 posts
  • Gender:Male
  • Location:India
  • Interests:computers, computers and computers
  • myCENT:76.11

Posted 26 April 2010 - 10:14 AM

I have an idea for a website which I want to code entirely on my own. But the problem is that I have neither the skill nor the time required to learn languages like php and java which are required to improve the visual appeal of a website, and also make it dynamic and robust. In fact I don't think in my present situation I can't learn any language thoroughly except for HTML, which is of course, the most basic scripting language.

I don't want my website to be "visually-appealing" - the primary intention is to get it loaded as fast as possible, and that's why I'm thinking of using only HTML and nothing else to build the site. The only concern I have is, will it be safe? Not many people will know about the site, but I'm planning to let some acquaintances at a reputed university to review the site, and they are capable of doing some mischief :P

Actually I don't have to worry so much as it's an information site, pretty much like wikipedia but on a minuscule scale, so not many people would be interested in tinkering with it. But if something goes wrong when someone important is viewing the site, it would be really embarrassing; that's why I;m very concerned about security, and if using only HTML makes its security wafer-thin I would like to reconsider my options. So could someone please shed some light on this matter? (ooh it's been a while since I used that phrase ;) )

#2 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:12.10
  • Spam Patrol

Posted 26 April 2010 - 03:40 PM

i don't think there is a certain language secure than another, especially for HTML it is only a HyperText Markup Language, it isn't deal with database like PHP or ASP. i think you can use some scripts for security but you want only to use HTML then it is not an option.

in the other hand, you can make your website secure from your cpanal, submitting ssl security "but i don't think you need it here since your site only containing general information like wikipedia", our make sure you directories not chomd to777, here is a link to a topic i started before and have a lot of information about security

http://www.knowledgesutra.com/forums/Websi...ure-t70656.html

good luck.

#3 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:69.42
  • Spam Patrol

Posted 26 April 2010 - 04:01 PM

View PostThe Simpleton, on Apr 26 2010, 11:14 AM, said:

I have an idea for a website which I want to code entirely on my own. But the problem is that I have neither the skill nor the time required to learn languages like php and java which are required to improve the visual appeal of a website, and also make it dynamic and robust. In fact I don't think in my present situation I can't learn any language thoroughly except for HTML, which is of course, the most basic scripting language.

HTML, PHP and Java all perform very different functions. If all you want to do is display static information that you don't mind editing by hand then HTML is perfect. It's simple to learn and there are plenty of excellent resources out there to help you. If you need advanced features, such as creating a login system, allowing people to edit the content online, etc then you will need to use PHP to create that code.

View PostThe Simpleton, on Apr 26 2010, 11:14 AM, said:

I don't want my website to be "visually-appealing" - the primary intention is to get it loaded as fast as possible, and that's why I'm thinking of using only HTML and nothing else to build the site. The only concern I have is, will it be safe? Not many people will know about the site, but I'm planning to let some acquaintances at a reputed university to review the site, and they are capable of doing some mischief :P

HTML is infinitely safer than PHP. As HTML doesn't process any user-inputted information, there is no way HTML allows any form of hacking or malicious activity by your visitors. If you introduce PHP and start processing input from the user then you open up loads of security problems.

View PostThe Simpleton, on Apr 26 2010, 11:14 AM, said:

Actually I don't have to worry so much as it's an information site, pretty much like wikipedia but on a minuscule scale, so not many people would be interested in tinkering with it. But if something goes wrong when someone important is viewing the site, it would be really embarrassing; that's why I;m very concerned about security, and if using only HTML makes its security wafer-thin I would like to reconsider my options. So could someone please shed some light on this matter? (ooh it's been a while since I used that phrase ;) )

HTML doesn't affect security in any way. Your site is as secure as your FTP password.
PHP makes a site much less secure (if coded badly).

#4 Ash-Bash

    1337 HaxXx0r

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,270 posts
  • Gender:Male
  • Location:UK
  • Interests:Computers, PHP, HTML, Snow, Food!
  • myCENT:81.31
  • Spam Patrol

Posted 26 April 2010 - 04:56 PM

Well you may know my site Tiny- L-X, the index page is HTML though contains PHP and .CSS to make it look good and for the URL script to work (Obviously) now for a site with just content and maybe a few web widgets I would go with HTML and maybe make it in DreamWeaver or something. Though if It is going to be mine and you don't have the time just code it in PHP.

I have to agree with you on the time thing about learning languages I rarely do though some how fit it in.

#5 The Simpleton

    Trapped For Life

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,423 posts
  • Gender:Male
  • Location:India
  • Interests:computers, computers and computers
  • myCENT:76.11

Posted 26 April 2010 - 05:16 PM

Quote

i don't think there is a certain language secure than another, especially for HTML it is only a HyperText Markup Language, it isn't deal with database like PHP or ASP
. i think you can use some scripts for security but you want only to use HTML then it is not an option.

I don't want to bring in all the stuff like databases - I want to keep the site as simple as possible. It may not be very easy to edit large amounts of text with HTML, but at least I'll know what I'm doing!

Quote

HTML, PHP and Java all perform very different functions. If all you want to do is display static information that you don't mind editing by hand then HTML is perfect. It's simple to learn and there are plenty of excellent resources out there to help you. If you need advanced features, such as creating a login system
, allowing people to edit the content online, etc then you will need to use PHP to create that code.

I said wikipedia only in the sense that it's supposed to provide information, and not in the sense that users will be allowed to edit the content ;) So I'm not planning on any of the complex stuff you mentioned. And reading your words I'm beginning to think HTML is indeed perfect for my purpose.

Quote

HTML is infinitely safer than PHP. As HTML doesn't process any user-inputted information, there is no way HTML allows any form of hacking or malicious activity by your visitors. If you introduce PHP and start processing input from the user then you open up loads of security problems.

That's a relief to know. Thanks a lot!

#6 The Simpleton

    Trapped For Life

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,423 posts
  • Gender:Male
  • Location:India
  • Interests:computers, computers and computers
  • myCENT:76.11

Posted 26 April 2010 - 05:16 PM

Quote

Well you may know my site Tiny- L-X, the index page is HTML though contains PHP and .CSS to make it look good and for the URL script to work (Obviously) now for a site with just content and maybe a few web widgets I would go with HTML and maybe make it in DreamWeaver or something. Though if It is going to be mine and you don't have the time just code it in PHP.

I have to agree with you on the time thing about learning languages I rarely do though some how fit it in.

Obviously I too want my site to look good but I have only one month of holidays in June to spare. If I use up that time tinkering with new languages I may not create anything impressive. On the other hand if I use HTML progress will be faster as I already know a little bit about that; and somehow I think amongst the crowd of php sites, a plain HTML site will stand out ;) On top of that it will be easier and faster to load on all computers with all types of connections. That's my theory...

#7 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:12.10
  • Spam Patrol

Posted 26 April 2010 - 05:38 PM

Quote

Obviously I too want my site to look good but I have only one month of holidays in June to spare. If I use up that time tinkering with new languages I may not create anything impressive. On the other hand if I use HTML progress will be faster as I already know a little bit about that; and somehow I think amongst the crowd of php sites, a plain HTML site will stand out smile.gif On top of that it will be easier and faster to load on all computers with all types of connections. That's my theory...

if you use only colors in HTML then you are right, your page will load so fast. but if you use images and flash in your site even you are using HTML then it will load slow too. if you compare plain HTML page with plain PHP page " with plain i mean with no images or flash" then HTML certainly will load faster, because php needs to connect to the database most of the time.

the point here, images, flash or java scripts will slow your pages even if you use it with HTML. also, keep in mind not using a lot of tables, because tables are slower loading than divs in CSS.

i think since you have a background about HTML, in a month you can make a good website if you use a little of CSS too. CSS will make your site look better and you will have more control of it. anyway, we are ready to help, if you need any help. good luck.

#8 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 26 April 2010 - 10:12 PM

This is why you use advanced content management systems (i.e. those that can create, edit and delete content). However, i won't say that designing a template that is compatible with the content management system is easy, but the popular ones tend to have user-submitted templates. It is true that you won't need a database, nor a system that allows you to manage files from your own website, but one of the major conveniences a content management system provides is menu generation. HTML-only pages implies that you would have to manually update the navigation menu everytime you, for example, upload a page that you want others to see. For my website i have a flat-file content management system that i coded from scratch do that for me (and a few other things for convenience)—though the system itself doesn't completely manage the content in the way one normally thinks of "management."

#9 StvenWesley

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 128 posts

Posted 27 April 2010 - 07:36 AM

Actually HTML is very easy if you just want to create a website using this markup language, you could not nearly learn it because most of the time you can edit webpage visually in Dreamweaver. of course,you can get a book about HTML for reference. And BTW, it is easy to learn PHP or ASP, you can learn them fastly in the course of edit your website.

For SEO, people says that static page is more friendly to search engine compared to dynamic page, I am not sure about it but it is meaningful in some extent. I suggest if your site is a smaller one, static would be better and if it is very large and contians tons of information, try dynamic settings, which would be good.

#10 shadowx

    Live your life so that in death you may stand side by side with your gods. Not at their feet.

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,674 posts
  • Gender:Male
  • Location:Essex, UK
  • Interests:Photography is a big interest, i have some photos up at my site, apex photographs (http://apex-photographs.com). Using my Lumix g1 to take the photos of course! <br /><br />Um computer games... photo editing and thats about it!
  • myCENT:68.57
  • Spam Patrol

Posted 27 April 2010 - 09:34 AM

Pros: ... Um.... Nothing to play with for script kiddies or failed hackers?

Cons: Not dynamic, looks and feels like a site from the 50s, hard to maintain, useless for anything more than about 3 pages, hard to edit and add to, hard to organize, boring, dull, no form of interaction (let's face it, how many HTML only sites do you regularly visit? None)

Quote

with plain i mean with no images or flash" then HTML certainly will load faster, because php needs to connect to the database most of the time.

In a comparison this is true, however, the time difference will be on the order of MILLISECONDS for a site that does not use a database, and for a site with a medium to small sized DB, like the one the OP would probably use the time delay would be far less than .5 seconds. Regardless of internet speed. This time delay, as you probably know is that of the processing needed to run the PHP code on the server and is NOT affected in any way but internet speed or connection type.

I hate HTML only sites.... They just dont work. Even if you only learned a little CSS and a tiny fraction of PHP, or even used a premade PHP script your site's appearance would sky rocket, not to mention that users would return for the interaction. Web 1.0 died long ago, Web 2.0 is here now and we need to embrace it!




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users