Thread: Web Languages

  1. #1
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200

    Web Languages

    I am in the process of making a site, but I was wondering.

    Since my host allows stuff like php and all kinds of crap like that..

    Should I go into learning this stuff or just stick with html/css.. and maybe some javascript?

    I was just wondering if any of you knew of any good resource sites for these different languages and the pros and cons of them.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >Should I go into learning this stuff or just stick with html/css.. and maybe some javascript?
    It really depends on what you want to get out of your web site.
    My best code is written with the delete key.

  3. #3
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Well I wasnt really planning on anything fancy.

    I would like a decent looking site.

    I was thinking about going into things like, maybe being able to log in and post a news entry like Ive seen other sites do. Or maybe a small forum, for Q/A.

    The problem is I dont how to do that stuff. So basically, would it be worth learning how to do these things if thats all Im wnating to do, or should I just forget about those things and just keep a simple layout.

  4. #4
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    If you're considering a forum or logins or anything then go ahead and learn php. It's easy, syntax is similar to C++. I'ts worth learning anyway so you might as well go ahead and tinker with it. If you need any help I believe Ober and I are the resident PHP geeks here.
    PHP and XML
    Let's talk about SAX

  5. #5
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    With only html/css you'll get static pages, add some php and you'll get dynamic pages and will be easier to maintain (in most cases). If you want to post news entries or set up a forum, you want to just install available Content Managament System (CMS) or Weblog or forum board software like phpBB. They come with installation instructions so just follow them. At some point you want to personalize that software and you have to look into the source code. That's when you'll accidently learn php.
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  6. #6
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Currently PHP is my favoriate language. Its easy to use, syntax is pretty stright forward, can do most of the high level programming tricks, and it allows you to use HTML whenever you want.

    A word of advise: Follow the w3.org standard as much as possible. It will help you greatly in making a page that looks the same in most browsers

  7. #7
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    Quote Originally Posted by Thantos
    It will help you greatly in making a page that looks the same in most browsers
    Another input, CSS is way so much easier to implement the style and layout of a web page, well supposely. The same CSS statement could give different result in different intenet browser. I would suggest that you test your page in at least IE 6 and Firefox/Mozilla. Stick to those two to reduce your stress level learning CSS. This website, www.positioniseverything.net, documents the improper CSS behavior that will rise here and there. So if your webpage does not come out like you'd expect you want to consult that site.
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  8. #8
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Thanks everyone, you have given me much to think about.

  9. #9
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    On the same note www.w3.org also has a CSS validator and links to every css/html item

  10. #10
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    You'll also want to check out here as well. It has some great links and information on your subject. Depending on what your site is for and where it is being hosted. You could even use C on the backend. I've implemented some simple CGI scripts in C on a server I host on my home computer.
    Personally though I prefer Python to use on the backened of my web pages- but thats only cause i host them myself.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  11. #11
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    The biggest problem with css comes from 2 things, propriety IE statements (scrollbar colors, etc) and rendering differences. The main rendering differences come when making fluid layouts, available screen area is reported MUCH differently between IE and mozilla/netscape...I haven't played much with opera but I hear that it's different from either of the first 2 in that sense.
    PHP and XML
    Let's talk about SAX

  12. #12
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I just finished setting up an apache server, so I can finally get to learning some PHP as well... I've been wanting to for almost two years now...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  13. #13
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    Thantos, I really like your website layout.

    But I also know that you dispise tables. So what did you use for your site?

    The only way I know to get that kind of layout is either tables or frames.

    (You'll have to excuse me, I havent used html in YEARS)

    EDIT:
    I have been looking at your source and it seems you just used html and css?

    I didnt know you could separate a page like that with css. Oh boy, I need to hit google hard.
    Last edited by Vicious; 09-06-2004 at 01:10 AM.

  14. #14
    unleashed alphaoide's Avatar
    Join Date
    Sep 2003
    Posts
    696
    You might wanna check this out, how to lay down the layout with CSS.
    http://www.thenoodleincident.com/tut...son/boxes.html
    source: compsci textbooks, cboard.cprogramming.com, world wide web, common sense

  15. #15
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Yeah all my outputed pages are in html and css. I use <div>s instead of tables.

    Just realize that my source HTML is being created by the PHP engine which is why there is no formating of it, and how I output things from a loop and such.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Consuming same Web Service multiple times
    By cfriend in forum C# Programming
    Replies: 2
    Last Post: 01-10-2006, 09:59 AM
  2. I just want to smash all programming languages
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 05-30-2005, 01:02 AM
  3. web programming career?!
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 01-13-2004, 07:47 AM
  4. SWEBS Web Server
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-22-2003, 02:46 AM