Thread: Which is good?

  1. #1
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189

    Which is good?

    I am quite familiar with C++ programming. I rated myself about intermediate level. But I am completely beginner for web programming. Which web programming should I start to learn? I heard CGI is similar to C++. Please give me advice.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    You could try PHP.

    CGI is not really a programming language, but provides for running programs (e.g. a Perl script, or PHP for that matter) on a webserver.

  3. #3
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I second the notion of PHP. If you know C/C++ fairly well, the switch should be easy. It would also be helpful to know HTML if you're going to use PHP tho.

  4. #4
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I third the PHP... it's pretty close to C++ and it won't be hard at all to learn if you already know some C++.
    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

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    Well html and javascript would be the first 2 to learn, then move on to php. FYI html and javascript are client side languages, php works on the server.
    PHP and XML
    Let's talk about SAX

  6. #6
    Registered User
    Join Date
    Jul 2003
    Posts
    12
    If you want to do a CGI-program, all you need is a language that can handle standard I/O, for example C/C++.

    It's not always the best choice because php and perl can handle text strings much easier.

  7. #7
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    >>Well html and javascript would be the first 2 to learn, then move on to php. FYI html and javascript are client side languages, php works on the server.

    IMO, that's not entirely necessary, but it's a really good idea so you get a little experience with web scripting/markup... HTML is good to learn as a beginner because you really only have to write a little more than half of the 'code' and it will still show up properly in most browsers...
    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

  8. #8
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    >>because you really only have to write a little more than half of the 'code' and it will still show up properly in most browsers...

    And that is supposed to be good practice??? That's why stuff is messed up in random browsers. Because crappy web designers don't know how to write markup that works in all browsers.

    I spit on your remarks *patooey*

  9. #9
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    i never said it was good... just possible... I'm actually kinda like a code nazi when it comes to explicitly closing tags...
    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

  10. #10
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189

    for html?

    Thanks for every reply.

    Now I may start php. By the way, Without learning html, can I use like frontpage or dreamwaver? is it good or bad? the truth is now i seek a job and they need only web programmer. I am a C++ programmer already.

  11. #11
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    From a programmer's point of view, using Frontpage or Dreamweaver to be a web designer is BAD practice. Sure, you could probably do your job, but doing your job effectively should be your concern. Frontpage and Dreamweaver through a lot of "placement" code into your markup. In otherwords, you're doing everything from a graphical standpoint and for the editor to understand what you want, it has to add a lot of extra code to your pages.

    I can usually write the same page in pure markup/scripting languages that someone else can write with dreamweaver/frontpage using half the code or maybe less. That translates to speed when it comes to people using dialup connections.

  12. #12
    30 Helens Agree neandrake's Avatar
    Join Date
    Jan 2002
    Posts
    640
    I highly recommend learning Cascaded Style Sheets (CSS) when making pages. You can still use PHP (HTML and JavaScript too of course), but CSS is used for making templates for pages, so you can make lots of pages with the same visual effects.

    http://www.htmldog.com

    PHP is very useful for creating dynamic html.

    Has anyone ever thought of using PHP to create dynamic C++ code?
    Last edited by neandrake; 11-19-2003 at 09:24 AM.
    Environment: OS X, GCC / G++
    Codes: Java, C#, C/C++
    AOL IM: neandrake, Email: neandrake (at) gmail (dot) com

  13. #13
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    IMO, learning in Dreamweaver MX isn't a bad thing as long as you begin by developing from a code perspective only. It has a lot of nice features like syntax checking, syntax highlighting, built in references, attribute definition lists etc., that can be very useful to a newb web developer.

    However, if you only develop from the design view it can add a ton of extra code just like Ober said, and will probably confuse you even more when you flip back to the code view to see what is going on in the background. I use Dreamweaver MX all the time and I have been developing for the web for a long time, but I still would never consider using the design view to develop with unless I am creating a simple page with a single picture on it or something like that. I have to be in control of my own code.

  14. #14
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    I would say to stay away from WYSIWYG editors for now... at least until you learn more about the languages...
    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

  15. #15
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    I have a question for everyone...how is he going to write php is he doesn't know html? PHP is used to output specific html to a page, it's a server side scripting language, it manipulates what html is sent to the client...so don't you think it'd be a good idea for him to know html first? I mean, it's not like it's neccessary or anything
    PHP and XML
    Let's talk about SAX

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. In a game Engine...
    By Shamino in forum Game Programming
    Replies: 28
    Last Post: 02-19-2006, 11:30 AM
  2. Good books for learning WIN32 API
    By Junior89 in forum Windows Programming
    Replies: 6
    Last Post: 01-05-2006, 05:38 PM
  3. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM
  4. what is good for gaphics in dos
    By datainjector in forum Game Programming
    Replies: 2
    Last Post: 07-15-2002, 03:48 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM