golgoj4 wrote:
Vilham wrote:
http://vilham.freehostia.com/index.html
and voila. Took about an hour and a bit.
Ofc im going to improve on it, but thats just the ground work done.
Nice, that was the image I used in my original webpage back when I was learning html.
To the guys who say learning php is useless and dying, what context do you mean that in exactly? What sort of websites are you putting together that make php irrelevant and why? I would just like to get your opinions on why, the reason being my site runs on php and I dont think its too unprofessional or nooby. I guess what im asking is what are the different applications that you see the strengths and weaknesses of various languages.
a guy wondering.
I'm not saying php is not worth learning, just that Vilham doesn't need it yet, but I'll answer your "what are the different applications that you see the strengths and weaknesses of various languages" question anyway...
It's best to deal with this in two parts, client-side and server-side languages:
Client-side languages.Client-side languages are those that are handled purely by the browser. These are HTML, CSS and JavaScript.
The key benefits of client-side languages are:
- 1. Can be used locally - no server required.
- 2. Minimises load on the web-server (when on web).
The main downsides are:
- 1. Can not communicate with the server.
- 2. Very limited, specific features and capabilities.
- 3. Code is un-secure - anyone can read/copy/steal it.
HTML - was originally intended, and is best used, primarily as a
markup language - that is, to indicate the 'nature' of the various chunks and structure of the page body content. For example, paragraphs, headings, sections, tables and so on... Strictly, layout information should not be in HTML, but tables offer a powerful layout tool and table-based layouts are common.
CSS - primarily handles presentation and layout - CSS layout is preferred over table-based layout but still suffers from browser compatibility issues - IE6, for example, which is still in use, chokes on most of the positioning rules.
JavaScript - should be used for simple, non-critical, data handling/checking - for example, verifying that user has filled out all required fields in a form - and for implementing 'dynamic page content' - i.e. content that changes in some way. It can also be used to generate 'common page content' - either static or dynamic.
Server-side languages.Server-side languages run on the server. These are things like PHP and ASP.The key benefits of server-side languages are:
- 1. Can access server-side resources. E.g. Databases, email, etc.
- 2. More powerful, featured and capable than JavaScript.
- 3. Code is secure - no one but web-author/manager/admin can see it.
The main downsides are:
- 1. Can not be used locally - because you need a server, d'uh!
- 2. Increases load on the server.
PHP and
ASP - are very similar - ASP is found on Windows based servers, PHP mostly on Apache/Linux servers - they're both very powerful scripting languages and can, as I mention above, access many useful server side resources, as well as providing secure, private, processing of data. Can be used to generate common and static page content. Most useful for back-end processing.
Hope that helps... though I'm sure I'll think of more... will edit if I do...
Last edited by Scorpion0x17 (2007-07-17 22:27:13)