BLBProductions
03-03-2005, 04:09 PM
I am starting my own web hosting company. I dont know what I should use for the coding of the site. PHP, ASP, etc. Can you help me out?
brian
brian
![]() | View Full Version : What should I use for coding my website? BLBProductions 03-03-2005, 04:09 PM I am starting my own web hosting company. I dont know what I should use for the coding of the site. PHP, ASP, etc. Can you help me out? brian JPortal 03-03-2005, 04:34 PM I use Assembly. Er, PHP. I don't like ASP, PHP is better/easier etc IMHO. ub3r 03-03-2005, 04:49 PM xhtml, css, and php. hozt 03-03-2005, 04:49 PM PHP is easy to learn and has a very large group of programmers using it so there is an enormous amount of scripts and snippets available. Hotscripts has only about 2500 asp scripts and about 9400 PHP scripts. It also has the largest install base behind Perl. VolkNet 03-03-2005, 11:37 PM css and php also gets my vote :) fastduke 03-04-2005, 12:09 AM css goes without saying ( kinda like the html part). php even at the basics is really the time saver. Like css for site wide formatting php makes it very easy to manage content site wide. When I say content, I refer to things like menus, header,footer and without any knowledge of php you can come up with an easy to manage website with plain old html. Example: header.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Tech-Expert.com</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="description" content="IT/IS" /> <meta name="keywords" content="Perl, PHP, Linux, Networking, IP" /> <link rel="stylesheet" href="stylesheet.css" type="text/css" /> </head> Now on every php page I want my header on I just do(example index.php): <? include("header.html"); ... ?> So only having used very little php I can change my header across 200 pages by editing header.html. I am no php expert, but I would consider myself a good sysadmin and I've learned a few things on the way. The one thing I've learned as a sysadmin is that there is the right tool for the right job(normally the most efficient and easy one). IMO php is the right tool for simple to advanced web projects. bentruyman 03-04-2005, 08:49 AM Use PHP. Your server is most likely going to be a Linux server..so...Your server may allow ASP, but still, PHP is much more wide-spread than other languages. And many people like us would be here to help you if you had any questions. -Ben rythm 03-05-2005, 03:29 AM Originally posted by bentruyman Use PHP. Your server is most likely going to be a Linux server..so...Your server may allow ASP, but still, PHP is much more wide-spread than other languages. And many people like us would be here to help you if you had any questions. -Ben Precisely. With PHP, you can jump start easier, faster and better. PHP rocks! :) ircnetworkz 03-05-2005, 06:56 AM Yer Use Php Is the best Way to Program a site I use a bit of html and php an works like a dream :) chrisjames 03-07-2005, 05:06 PM Having used both - another vote for PHP. There are plenty of good books around that will get you in to it pretty quickly! Rich2k 03-08-2005, 05:48 AM Originally posted by fastduke css goes without saying ( kinda like the html part). php even at the basics is really the time saver. Like css for site wide formatting php makes it very easy to manage content site wide. When I say content, I refer to things like menus, header,footer and without any knowledge of php you can come up with an easy to manage website with plain old html. Example: header.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Tech-Expert.com</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="description" content="IT/IS" /> <meta name="keywords" content="Perl, PHP, Linux, Networking, IP" /> <link rel="stylesheet" href="stylesheet.css" type="text/css" /> </head> Now on every php page I want my header on I just do(example index.php): <? include("header.html"); ... ?> So only having used very little php I can change my header across 200 pages by editing header.html. I am no php expert, but I would consider myself a good sysadmin and I've learned a few things on the way. The one thing I've learned as a sysadmin is that there is the right tool for the right job(normally the most efficient and easy one). IMO php is the right tool for simple to advanced web projects. That's all very well and good but personally I would include a PHP file rather than an HTML file, why, because in the future you may well want to put PHP in the header of your site template, and it'll save you the need to edit every file. If you use some form of PHP caching system you won't notice any processing delays or higher resources either. mfonda 03-08-2005, 10:58 AM PHP is definitely the language to use. It is far superior to others in my humble opinion :) Also, make sure you have the site valid XHTML, and use CSS, it will make for a much nicer site, and people will be impressed and thankful you took the time to make it. Also, although you will code the site in PHP, I would recommond still having other languages installed on the server, so clients you host can use them if they wish. And I would definitely recommend using a template engine. This will make your life much easier. A link to some good template engines is http://pear.php.net/package/HTML_Template_Sigma and http://smarty.php.net |