Making a website; Crash course let's go!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fido123
    FFR Player
    • Sep 2005
    • 4245

    #1
    Re: Making a website; Crash course let's go!

    If you want to add me as a contact I could make you the site for a few bucks, and/or I could help you out on how to learn a lot of this stuff. Even a lot of people who claim to be web developers, make half decent looking sites but search engines like Google don't know what the hell's going on on their because they just hack and slash at the site until it works right then probably doesn't work on major browser 'X'. Also when working with JavaScript I HIGHLY suggest working with the jQuery library. Google hosts it so all you need to do is add the following tag to your header:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    Also just a few more tips, when developing keep your HTML, CSS, and JavaScript separate in separate files just because it's easier to work with. When rolling something out put everything you can in one file (even jQuery if you want) to minimize the amount of HTTP requests needed on document load. Also use the living shit out of <div> tags for pretty much everything. I still see today some morons doing their page layouts in tables. If you do this, stop.

    Also one final thing, unless you don't want to ever deal with these things, most websites also highly revolve around databases and require a lot of server side scripting. A lot of people will tell you to learn/use PHP but although I do love it's syntax, it's pretty much discontinued and was kinda trashy to begin with. I use Perl when I can, but Python (subjectively easiest) and Ruby (on rails) are also pretty popular. If you know ANY other programming language you can use it for server side scripting, even as low level as C and straight up binary/assembly. I haven't really looked too deeply into ruby on rails, but for somebody like you it's perfect.

    Also http://validator.w3.org/#validate_by_input this is a good tool to know if your HTML is right. I think they have a CSS one too but I don't really use it since CSS is pretty hard to mess up if you know what you're doing. The equivalent to testing your JS would be http://www.jslint.com/. Care about stuff like this, because if your code isn't to the standards, it may be rendered incorrectly by browsers (at the fault of you unless it's IE (I'm serious)). Also just because I have something open now and can just copy paste it here's the template I start every page with. It's HTML5 which is experimental but your page will stay up to standards till it's dead. I also usually have jQuery local when developing, and when I'm dealing with low-traffic sites:

    Code:
    <!DOCTYPE HTML>
    <html lang="en">
    <head>
            <meta charset="utf-8" />
            <title></title>
            <link rel="shortcut icon" href="images/favicon.ico">
            <link rel="stylesheet" href="style.css" type="text/css" />
            <script type="text/javascript" src="jQuery.js"></script>
            <script type="text/javascript" src="gears.js"></script>
    </head>
    <body>
    
    </body>
    </html>
    Also I use Notepad++ to do all my editing. Can change themes, and has a lot of awesome features that don't get in the way of things or piss me off like auto-complete.

    If you have a Skype or preferred contact method PM/post it if you want me to contact you.
    Last edited by fido123; 05-17-2012, 02:12 PM.

    Comment

    Working...