Tech Support Guy banner
Status
Not open for further replies.
1 - 7 of 7 Posts

· Registered
Joined
·
309 Posts
Discussion Starter · #1 ·
I'm starting to make a website for myself and I was wondering what is the best language to use is. I'm not a novice to computer programming, but am alittle new to adavanced web programming. I know HTML, and want to build off of that. I'm going to be using MYSQL for some database stuff. I'm thinking about either PHP, CGI, or Perl... but I don't know. Any advice would be much appreciated.
FYI: I'm going to be hosting this from my house, with Apache 2.0. So, if you could, please tell me how to load the perfect language(s) into apache would be great... or just give me a tutorial online.
 

· Registered
Joined
·
2,640 Posts
They all have their pros and cons.

Put simply, you should probably get started with php. PHP is probably the easiest and very much c++ like.

However, you should also install perl and python.

Figure out something in php, then do the same in python and perl. Then you decide.

Definitely consider python . The syntax and structure is pretty cool.

You can use them all with cgi.
 

· Registered
Joined
·
309 Posts
Discussion Starter · #3 ·
Thanks for the advice. I figured out how to install PHP on my Apache 2.0 sever, how do I go about installing Python and Perl?
 

· Registered
Joined
·
2,640 Posts
Assuming you are running windows..

goto http://www.activestate.com/Products/ActivePerl/

Download ActivePerl 5.8.3 build 809 msi installer.

once downloaded, right-click on it and click install.

install to c:\usr

When the installation is done, perl.exe should be in c:\usr\bin

Then goto http://www.python.org and download the python windows installer.

install to c:\usr\bin

When the install is done, python.exe should be in c:\usr\bin

Then in your apache cgi-bin directory you can put test.pl

#!/usr/bin/perl

print "Content-type: text/html\n\n";

print "Hello World!\n";

and test.py

#!/usr/bin/python

print "Content-type: text/html\n\n"

print "Hello World!\n"

If you get that far, then we can instruct on how make the scripts work in the htdocs dir.
 

· Registered
Joined
·
1,769 Posts
the current best and most advanced solution in ASP.NET and c#, if you can afford it... xml web services are good too... xml and xslt are easy to learn once uve mastered html and jscript
 

· Registered
Joined
·
15,981 Posts
Originally posted by Möbiús:
the current best and most advanced solution in ASP.NET and c#, if you can afford it... xml web services are good too... xml and xslt are easy to learn once uve mastered html and jscript
How do you measure best and most advanced? What can ASPX do that other languages can't?
 
1 - 7 of 7 Posts
Status
Not open for further replies.
Top