• Lucid Dreaming - Dream Views




    Results 1 to 9 of 9
    1. #1
      Member majorthomas's Avatar
      Join Date
      Nov 2011
      LD Count
      16
      Gender
      Posts
      28
      Likes
      3

      Tell me about how to create a website.

      ...from scratch.

      I actually started making one yesterday (or maybe the day before that, I'm not sure) anyway, it's actually easier than I thought it would be but still complicated enough to give me a headache.

      So fire away with any advice you have!

    2. #2
      XeL
      Japan XeL is offline
      光陰矢のごとし XeL's Avatar
      Join Date
      Jul 2009
      LD Count
      130+
      Gender
      Location
      Japan
      Posts
      1,407
      Likes
      563
      PHP Code:
      [HTML][/HTML
      This is basic.
      ~XeL's DJ~
      ~Adopted by Cygnus~

    3. #3
      Member majorthomas's Avatar
      Join Date
      Nov 2011
      LD Count
      16
      Gender
      Posts
      28
      Likes
      3
      Thanks, got any other basic (maybe not that basic though) stuff? I've already learned about how to change text, colors, add images, add links and what I think is called a table.

    4. #4
      Banned
      Join Date
      May 2007
      LD Count
      Loads
      Gender
      Location
      Digital Forest.
      Posts
      6,864
      Likes
      385
      Quote Originally Posted by XeL View Post
      PHP Code:
      <html></html
      This is basic.
      ftfy

    5. #5
      ├┼┼┼┼┤
      Join Date
      Jun 2006
      Gender
      Location
      Equestria
      Posts
      6,315
      Likes
      1190
      DJ Entries
      1
      There aren't many pro-tips to be given when it comes to making websites. There are many ways to do it. I'll explain some concepts though, to the best of my ability. I won't be particularly exhaustive, so if anyone feels I left anything very important out, or I messed anything up, feel free to add.

      HTML: This is the base of any webpage. It tells the webbrowser where everything goes on a website. That's mostly all it does, although it does have some more interesting specifications in its most recent incarnations (HTML5).

      CSS: This is used to style elements (text, boxes, backgrounds and so on). This is practical, because you can have a website that looks mostly the same everywhere, because every page on your website (more specifically, the pages that you specify) all use the same CSS styling sheet. Then it's just a matter of also using generally the same HTML body, except for textual differences, since pages obviously won't all contain the same material.

      PHP/ASP/JSP/what have you: This is basically webprogramming. This can be used to actively execute algorithms, in order to modify content on a site in realtime, like writing a post on this forum. When you press "Post reply", a function is invoked, which basically grabs all the text that is submitted in this textbox, formats it into an entirely new postbody (basically a post, like the ones you see in this thread), and this postbody is then appended to the HTML file that contains this page. This is is probably a little weird if you're all new to it, but think of it like making a program, that basically uses a template of a post, where you have a bunch of different things to fill in, like the actual message, the username, avatar, signature, post count, time stamp, post number and so on. Your program does all this for you, and then it takes the filled out template and puts it into the HTML file that contains the thread.
      This is just one application (though probably one of the most common) of webprogramming, and you'll probably spend a lot of time doing it. It's generally not that hard, and once you get the hang of it, it can be a lot of fun.

      Client side: Stuff that the user's computer does, which does not affect the server which hosts the website.

      Server side: Stuff that the server does, that the user cannot observe (unless it is made to be observed).

      Knowing the difference between these two is important. For example, when you write a password to log into your webbanking, you basically send the password to the webserver, the webserver then checks if the password is correct, and then grants you access. If such a check was done client side, the webserver would have to (theoretically) send ALL passwords to the client, so that the client could do the check on its own. This would be incredibly insecure.
      On the other hand, if the website you're using has a flash element, like a flash game or a flash movie, it will be the client that runs the flash element. The website merely supplies the files.

      One of the more tricky things to do when doing webprogramming, is updating a site in realtime, as in, update visuals for the user, without them refreshing the page. Facebook does this for example, when you receive an update, you get a little red speech bubble, without refreshing the website. It's nice to be able to do this, because refreshing is basically annoying for the user, and it can also spare you a lot of bandwidth usage.

      Personally I don't code websites. I've learned basic stuff, but I like coding programs more.

      ---------
      Lost count of how many lucid dreams I've had
      ---------

    6. #6
      Member majorthomas's Avatar
      Join Date
      Nov 2011
      LD Count
      16
      Gender
      Posts
      28
      Likes
      3
      WOW, thanks a lot!
      I read it all and it helped a lot, especially about CSS, I was a little unsure what it was (before). Now it makes sense.

    7. #7
      ├┼┼┼┼┤
      Join Date
      Jun 2006
      Gender
      Location
      Equestria
      Posts
      6,315
      Likes
      1190
      DJ Entries
      1
      Quote Originally Posted by majorthomas View Post
      WOW, thanks a lot!
      I read it all and it helped a lot, especially about CSS, I was a little unsure what it was (before). Now it makes sense.
      Keep in mind that most webcoding "standards" have been developed over a long period of time. There are a lot of very weird conventions, that you'll simply have to learn. In theory, if you could reboot the web and make a few universal languages from scratch that everybody used, everything could be optimized so much. The same could be said about most computing related matters, but it's especially true in webcoding.

      ---------
      Lost count of how many lucid dreams I've had
      ---------

    8. #8
      Member
      Join Date
      Feb 2004
      Posts
      5,165
      Likes
      709
      The biggest thing to keep in mind is that you want a site that is easy to read, and isn't annoying looking. The biggest mistakes people make with their first sites is that they get carried away, and put pictures all over, or have flashing text, or background and text combinations that look neat but strain your eyes if you look for longer than give minutes, or sound effects. I think almost everyone makes obnoxious looking sites when they start. Some times simple is better when starting out.

    9. #9
      Member ryuken's Avatar
      Join Date
      Dec 2011
      Posts
      8
      Likes
      1
      W3schools, all you want to learn about web page development (HTML, CSS,PHP) it's there. I am also learning (php) as of now but not yet managed to reach database and webpage interaction.

    Similar Threads

    1. Replies: 2
      Last Post: 01-22-2011, 04:14 AM
    2. How do i create this particular world in a LD?
      By savage in forum General Lucid Discussion
      Replies: 6
      Last Post: 01-17-2011, 08:28 AM
    3. Create Your Own Planet?
      By Dream420 in forum Dream Control
      Replies: 5
      Last Post: 12-09-2009, 09:16 PM
    4. LETS CREATE AN LD MOD FoR HL2!!!
      By [SomeGuy] in forum Senseless Banter
      Replies: 8
      Last Post: 09-03-2008, 05:56 PM
    5. Lets create a website.
      By Sandform in forum Senseless Banter
      Replies: 53
      Last Post: 06-08-2008, 02:38 AM

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •