Sunday, August 2, 2009

If you know basic HTML, is it difficult and/or time consuming to learn Perl, CGI, php or asp?

Are they vastly different or do they build on HTML principles?

If you know basic HTML, is it difficult and/or time consuming to learn Perl, CGI, php or asp?
To directly answer your question, yes it may be somewhat difficult if html is the only "programming" you know. I put the quotes b/c it in no way is actual programming...





Anyways, nothing is too hard if you put your mind to it right? But perl, php are certainly much more complicated than html is. These require more logic, coming up with algorithms, etc...





They do not build on html principles. In fact, php would be more closely related to a language such as 'C' than anything (although C is more complex and powerful). But as the post above me mentioned, most people do use php within html for web development. But that's as far as the similarities go
Reply:HTML is not actually programming and HTML is very very simple and can be learn't in a few hours. Programming can take days to (months to) learn and it is not a simple transition. Of those that you mentioned, PHP is the easiest to learn. Good luck!
Reply:HTML stands for Hyper-Text Markup Language. A markup language only specifies the layout of text and images on a page. Perl, CGI, PHP and ASP are programming or scripting languages for webservers, contrary to HTML which is for web browsers. So there are no similar principles, but you use the two in combination. For example:


%26lt;html%26gt;%26lt;head%26gt;%26lt;title%26gt;%26lt;?php print($title); ?%26gt;%26lt;/title%26gt;%26lt;/html%26gt;


There are some great tutorials at http://www.w3schools.com/ that I heartily recommend you to look at. Good luck! :-)

business cards

No comments:

Post a Comment