View Full Version : Which Server Script is the Easiest?
02-23-2007, 07:58 PM
Ok, I am looking to set up a small test site so I can get my way around the easiest server script.
I heard of these three:
Which one is the easiest?
Do I need anything to view these (if so please list a link directly to the thing I need to download)? Do I need to use a certain program (other than notepad)
Keep in mind this site is not going up on the web. I am just making one to learn my ways around server scripting.
02-23-2007, 08:32 PM
I don't know about ASP, never used it. From what I know about it, it is a Windows Server scripting language and I always use Linux Servers.
from your list, php is probably the easiest to learn, mixed with sql both can be grasped in a few days to a few weeks.
CGI/PERL is a fairly different beast, and needs other restrictions (where to upload etc)
this link (http://www.php-mysql-tutorial.com/) is pretty descent but not to overly in depth or complicated.
and PHP Net (http://www.php.net/) could be considered the "Defacto" about php standards.
02-23-2007, 08:46 PM
If you're just starting off, go with PHP.
CGI is more complex, and... complicated in use, as said above.
ASP is the 'same' as PHP, but proprietary and only runs on windows, doesn't have as much support/free addins/etc. It's fine... just... no advantage over PHP, and some things aren't great about it... so... no point, really.
SQL, MySQL, etc. are used with PHP, ASP, etc. and are databases that just store info and allow for basic commands, like searching, adding, deleting, etc. PHP/etc is then used to get the info from it and do stuff with it... like displaying it.
I'd recommend MySQL and PHP, but play with PHP first, then get into MySQL when/if you need a database.
Here's a good resource. It starts with php basics (good to do), then gets into MySQL, so no need to do that until you're ready.
Additionally, php.net is a great place for info on PHP, though a bit less user friendly. The function search is wonderful for looking up a certain function, though overall documentation is a little harder to work your way through.
02-23-2007, 08:49 PM
Thanks for linking to the same sites as I did... never know... just in case :p
CGI is an interface, not a language.
The easiest of those is probably ASP, but it lacks a great deal of PHP's flexibility and power. PHP is not much trickier to master, and will serve you much better.
I'm particularly enjoying my experiences with Python and Django at the moment, although that would perhaps not be so desirable for a beginner. Something to think about when you've gained some experience, maybe.
02-23-2007, 08:55 PM
Ha, sorry, BLiZZaRD.
I didn't notice the URL on the first; I assumed it to be a link to an overall explanation of CGI and such :p
I noticed you did php.net, but I just wanted to expand on how it can be used. It IS daunting at first if you're not familiar with PHP.
02-23-2007, 08:56 PM
I see you are attempting to learn python Twey.. that is cool, I too one day hope to be able to take it on.
However, I thought you might like The Python Challenge (http://www.pythonchallenge.com/)
If you have seen my site (and I know you have :p) it is the same concept, a riddle trail of sorts (this one only 33 levels) but this one deals with the Python Language.
I have heard it is quite well done. Anyway thought you might like to have a look at it :D
No worries djr, just flipping you a bit of a tough time :)
No, I learnt Python quite a while ago. I've never tried to use it for web development before now, though, and this is my first encounter with Django.
I've seen the Python Challenge before, and completed the first few levels, then got bored and went off to do something more productive, if I remember correctly :p
02-23-2007, 09:19 PM
I've seen the Python Challenge before, and completed the first few levels, then got bored and went off to do something more productive, if I remember correctly
How much more productive can you get then learning python :p. It's only recently getting some popularity, but other than that I don't know anyone that uses it.
02-23-2007, 09:19 PM
Oh, well yeah if you already know it I suppose it wouldn't do much good. I heard it was fun though :D
It's pretty fun, but I like the feel of having an application/page in front of me. Having an algorithm alone just doesn't cut it :)
All in all, it's actually a very handy little language :)
02-24-2007, 08:21 AM
Been playing with that site. Fun.
I'm doing it in PHP... but... fun puzzles.
I'm getting stuck though, at what is to be done, more than the code. 4 took me forever as I didn't really get what was being looked for, but then I found it, and now 5 is just too vague.
Incidentally, while the topic of Python is open:
Mark Hammond's work on PyXPCOM and a language-neutral DOM is well under way as of October 2005, and we believe that the glue code and bindings will be slim enough to be part of a default XULRunner or Firefox distribution when the 1.9 cycle is complete.I've been telling people they'd do that for ages :)
02-26-2007, 03:42 PM
I like python applications more than other ones as they are both light weight and give a great deal of performance(you may have noticed blender, it's light but so awesome). Twey is a beast of programming languages. :p
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.