August 21, 201214 yr Hi Guys I hope you can help, please forgive my noobness. I have a webhost and I really want to build up some experience in web design. I have dabbled a little with Wordpress and Joomla but I don't like the fact that I am constrained by using other peoples templates. I know I have the option design my own template but I really don't want to use up a great deal of my time learning how to do it. I am slowly getting a handle on using HTML and CSS and would prefer to design my site from scratch, but I have a few questions. I have had a good search around on the net but not turned up anything concrete which answers them. I would like to write my own individual pages so I can tweak each one to my own requirements but I am concerned about security. Once I upload my files via ftp is it enough to protect my site by assigning file permissions? Also, I like the idea of having a blog page on my site without using a CMS. Will I need to add something in javascript to a hand coded website to add a blog (and possibly a contact form)? If I do have any scripting on my site can this be protected from hackers and malicious code? Even if I don't use a CMS do I still need a database for some common website functions? Please accept my apologies in advance if one or more of you turn up the info I need in seconds. I have spent hours trying to get answers though I accept that I may not be asking the right questions in my searches. Many thanks Mikey
August 21, 201214 yr Hi, don't really know how best to answer you. I think that if you build a html/css website keep the blog seperate. What I have done in the past was to include a contact form on most of my pages and invite comments in just the same manner as a blog. The upside is that you have no problem with spam since you have to physically check every response. The downside is that you have to copy all accepted responses into your web page. Worked well for me but sometimes you may wish the automation of a blog. Certainly if I required a blog in addition to my static pages then it would be placed within a sub domain. For a run of the mill site there would be no need for a database unless you were running your own autoresponder for instance but then if you were into that type of market you would likely be better using a company such as aweber and keeping things seperate. Hope this helps. Jim
August 23, 201214 yr Hello Mikey, What I would do if I was you, is build a static website like you said you would like to, and not worry too much about the security of your files. Generally the web host will take care of that side of things for you. You just upload the files, and dont worry about the file permissions. Unless your told to change them for a specific reason. I'm assuming it is just going to be a basic website, with not too much traffic as it's just going to be starting project so to speak. As for the blog, like jamaks said, I personally would use ready made script, as it could be a lot of work and keep it separate. Possibly look at installing WordPress in a directory called "blog" and use it just for that purpose. As for the contact form, I think the best thing to look at is PHP Contact Forms. Providing your web host supports PHP which if you've dabbled with WordPress and Joomla, it will. I hope this helps!
September 4, 201214 yr Just use a tool like WordPress for your blog. If you want something simpler, look at alternatives like Tumblr. I have a webhost and I really want to build up some experience in web design. I have dabbled a little with Wordpress and Joomla but I don't like the fact that I am constrained by using other peoples templates. I know I have the option design my own template but I really don't want to use up a great deal of my time learning how to do it. I am slowly getting a handle on using HTML and CSS and would prefer to design my site from scratch I'm sorry Mikey, but these statements are a contradiction. If you want to build up experience in web design, you need to get deep down and dirty. You need to learn how to make your own templates. Don't be too scared by WordPress. If you have learned HTML and CSS, building WordPress templates is just an extension over coding statically and if you read the many tutorials online and documentation, it should not take you too long to start coding up a basic template. It may take you a while to get it how you want it but unfortunately that's just what's required in order to do things properly. You don't even need to learn PHP to make WordPress templates, all you do is insert simple PHP snippets into your HTML and WordPress takes care of the rest. You could take a look at a basic theme like the bundled TwentyTen/TwentyEleven themes and look at the code. Then read the codex and you can learn what the tags are. You can then tinker about and learn how to do it. As for security issues and hacking. You can't 100% prevent hacking, but you can implement measures to protect yourself. You can use htaccess to protect files, and you can set up automatic back ups so should your site get hacked, you can restore it to how it was.
Create an account or sign in to comment