   From C++ to Web Programming
  Hi everyone,    I was just wondering if anyone had any advice about moving from C++ programming to Web Programming. I have been programming in C++ for 4 years, becoming quite proficient; although, I am in no way an expert. I have experience with both game programming and application programming.    Recently I have been inspired to try my hand at Web Application programming and I don't really know how to get going. I am knowledgeable HTML/XHTML, CSS, &#106avascript, and XML; but how do I put this together to Web Applications like Google Document, Twitter, Facebook, or even something simpler.    I have experience writing web servers for small-scale games and applications, but never from a web service perspective. I know I hear Python is used for web application programming; I'm not quite sure how it ties into the picture either. I am fluent in Python, but I have know I dea how to use it to make Web Applications.    Any help, advice, and references will be greatly appreciated.Thanks :)   
  Since you are fluent in python look at django and the django book.The basics of it is you have a web server that receives a request.  If it is for static content it returns the html directly. If the content is dynamic it hands the request to your web app(usually through FCGI Fast Common Gateway Interface or if using Apache their module system) your web app generates the html that is going to be returned to the client and the web server returns that.  Django and other web frameworks provide code that would be useful to most web apps, session management (cookies, authentication), database orm, request routing, that kind of thing.   ;  Thanks, this looks to be just what I was needing. I'll get reading.   ;  If you want to make Web applications that run in a browser using &#106avascript/XHTML, just come up with an idea, any old idea, and do the research to find out how exactly to put that idea together. By setting specific goals for yourself, you'll be forced to learn the concepts required to meet those goals. For example, to make an in-browser chat client, you'll need knowledge of how to use &#106avascript to manipulate styles, send information back and forth to the server with XmlHttpRequest (AJAX), and so on.Python is used in Web development on the back end, that is, running on the server as a CGI script, often on the receiving end of AJAX queries. A CGI script is just a program that outputs an HTTP header followed by a document. The following Perl script, for instance, creates a basic test page:#!/usr/bin/perlprint "Content-Type: text/html; charset=utf-8\n\n";print <<END;<html><head><title>Test Page!</title></head><body><p>This is a test page.</p></body></html>ENDA CGI script can get parameters from the URI (you know those "?foo=bar&boo=far" bits?) using an HTTP GET request or over standard input using POST.There's a lot to learn but just search for tutorials and resources for things that interest you and I'm sure you'll be fine. Also, if you haven't already, get an account on StackOverflow.com. It's a great community that can answer just about any question you've got.;  to hijack this thread... I pretty much know how to go about creating a database backed app using php (to an extent, I have implemented one as a school project). The question I have is what I should use to create a personal project site. Should I just use a text editor and edit html for my site when I want to make an update, or make a cms, use an existing cms... This is something I have always had tons of trouble with.   ;Quote:Original post by ibebrettto hijack this thread... I pretty much know how to go about creating a database backed app using php (to an extent, I have implemented one as a school project). The question I have is what I should use to create a personal project site. Should I just use a text editor and edit html for my site when I want to make an update, or make a cms, use an existing cms... This is something I have always had tons of trouble with.Actually, this brings up an overlooked point that has not been mentioned. Where do you plan on hosting this website?For example, you could easily create a personal website without any HTML, or any other low level web programming knowledge, using Frontpage or any other WYSIWG programs but if you hosting website doesn't support Python you ain't gonna be able to use Django, etc.;Quote:Original post by ibebrett The question I have is what I should use to create a personal project site. Depends on why you want to make a personal site.  If it is so you can learn something you might try going low level and doing most of it yourself, or you might pick a CRM you want to learn about and look into customizing it.  If you just want to have a personal site to show off your work, I would invest a little time up front and find the one that is going to take the least amount of work to customize for your use, and use that.   ;Quote:Original post by ibebrettto hijack this thread... I pretty much know how to go about creating a database backed app using php (to an extent, I have implemented one as a school project). The question I have is what I should use to create a personal project site. Should I just use a text editor and edit html for my site when I want to make an update, or make a cms, use an existing cms... This is something I have always had tons of trouble with.I use XAMPP for MySQL database and JEdit as my text editor.   