Page 1 of 1

What code do you suggest to learn after HTML

PostPosted: Fri May 21, 2004 1:45 pm
by Pent
I just learned HTML in school. I'm looking for some new codes to learn. I don't know exactly wich ones would be useful and/or simple to learn. (I only know HTML so I'm not that good yet). I know it depends on what you want to do really. If you want to do one thing learn that if you want to do this thing learn that, but maybe there is one that covers a large vairty of things and stuff. Wich one did you learn first? if you can remember. And wich one do you suggest for me to learn next. Thanks. :cool:

PostPosted: Fri May 21, 2004 1:48 pm
by shooraijin
If you mean 'codes' for web page design, it would behoove you to pick up a little CSS, too, so you can understand how that works.

If you mean programming abilities, learning Perl and PHP are two very handy skills for creating interactive websites. JavaScript might also be a good use of your time.

PostPosted: Fri May 21, 2004 2:07 pm
by Pent
I don't really know what I exeactly want. Although I might want to learn some stuff to make my website a little more interactive. I know very very basic Java Script, but other then that noten. What can you do with PHP and perl? kind of the same stuff as Javascript or different?

PostPosted: Fri May 21, 2004 3:52 pm
by blkmage
Javascript is usually used to manipulate HTML and the browser in some way, like rollovers and such.

PHP is for dynamic pages, like forums and blogs and stuff.
Perl is used for CGI, usually for handling forms.

PHP and CGI are both server-side, so you'll need a host that can support them.

Javascript is handled by most modern browsers.

CSS is used for positioning and formatting. It is a lot easier to use CSS than <font> tags.

I would suggest CSS and Javascript. Both will be useful and not terribly difficult to learn. However, Javascript is a scripting language and not markup, so it'll be different.

PostPosted: Sat May 22, 2004 8:42 am
by Mithrandir
blkmage wrote:Perl is used for CGI, usually for handling forms.

OK... I have to respond to this. Perl is the glue that holds the internet together. It's NOT just used for CGI, that's just what most people learn it for. It's a very handy tool for nearly ANY system task. If you have any intention of acutally doing something other than just a few web pages, it would be worth your time to learn it. I use perl for all my system administrative tasks, and I also wrote a database wrapper for my PHP scripts in Perl. There are modules out there to do nearly anything you could ever hope to do.

For example, I have a program that I wrote in perl at work that grabs data from 3 different internal websites, then compares/merges the data, and then passes it to a person viewing the website from the outside world. Since these internal systems are under the jurisdiction of three different divisions, and their owners have NO interest in helping me do MY job (despite what is best for the organization) it was the only option availible for me.

PostPosted: Sat May 22, 2004 10:10 am
by Straylight
Oldphil is right, perl can do an indredibly large number of things. PHP is different because it's designed specifically with web scripting in mind, which has made it extremely popular for that task.

PostPosted: Sat May 22, 2004 10:22 am
by btboy500
I wouldn't be able to recommend anything for web programming, but otherwise, I'd recommend Python as a stable, powerful, and reasonably easy language to learn. From then I'd recommend C++.

PostPosted: Sat May 22, 2004 4:09 pm
by glitch1501
i definatly reccomend css i use it alot

i need to learn perl though

PostPosted: Sat May 22, 2004 10:38 pm
by LorentzForce
I learned Perl some time ago; I found out it was WAY too broad for my needs. While I admit Perl is a very useful programming language, it's not quite something most beginner web developers would use. I'd rather people start PHP in earlier years.

Don't forget to learn Perl though; it is indeed very powerful. So powerful most people can't control it properly :P Thankfully, PHP code and Perl code is remarkably similar. Shouldn't take anyone more than few weeks to adjust to the new programming language, and change over from Perl to PHP and vice versa.

PostPosted: Sun May 23, 2004 3:14 pm
by Mithrandir
Yup. As long as you realize a few simple things, you'll be fine. For example, I'm glad I learned early on that perl equalities and php equalities don't really work the same way.

php:
Code: Select all
 if ($variable == "oldphilosopher") { print "Welcome, sir!"; }
 


perl:
Code: Select all
 if ($variable eq "oldphilosopher") { print "Welcome, sir!"; }
 


Strictly speaking, perl will complain if you write $variable == "old" and ask if you meant "eq" instead. But then again, I haven't decided which way I like better, yet.

PostPosted: Sun May 23, 2004 11:28 pm
by ThaKladd
You could also try ASP.....

PostPosted: Mon May 24, 2004 4:55 pm
by Mithrandir
ThaKladd wrote:You could also try ASP.....

I was under the impression that you pretty much had to run your own server to use ASP for anything except rudamentary stuff. Are my ITS guys just trying to pull the wool over my eyes on that one?

PostPosted: Mon May 24, 2004 11:58 pm
by ThaKladd
ASP is server based, yes....

The code is kind of similar to Visual Basic.