Help - Search - Members - Calendar
Full Version: Frame Help
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Sedifus
Can someone help me with a frameset doc? huh.gif

I want to make a document so when you click on a link it will open a new page with a frame at the top and the document underneath like google's image search. But i don't want to make lots of frameset documents.
Darin McGrew
You could automate the process, rather than generating the frameset documents by hand.
Sedifus
That's what i was hoping to do but i don't know how.

Can you help?
Darin McGrew
What kind of programming experience do you have?
Sedifus
I don't have much experience, only these two:
  • HTML
  • CSS (A little)
Darin McGrew
Neither HTML nor CSS is a programming language. A lot of tasks related to maintaining large web sites will be easier if you learn to program, and if you learn a language like Perl or Python.
Christian J
QUOTE(Darin McGrew @ Oct 31 2007, 04:12 PM) *

a language like Perl or Python.

These days PHP seems to be the most popular choice, though.
Darin McGrew
QUOTE(Christian J @ Nov 1 2007, 12:03 PM) *
These days PHP seems to be the most popular choice, though.
If you say so. I've never worked anywhere that used PHP. (And before you say it, yes, this site uses PHP, but no, I don't "work" here.)
Christian J
QUOTE(Darin McGrew @ Nov 1 2007, 08:42 PM) *

I've never worked anywhere that used PHP.

Me neither. tongue.gif I also forgot to mention ASP, which might come second after PHP. Not sure if it's possible to get any reliable stats, but according to Google the following figures apply to the text content of web pages (i.e. supposedly excluding URLs):

341,000,000 for "php"
224,000,000 for "asp"
103,000,000 for "perl"
103,000,000 for "python"
19,900,000 for "ssi"

My guess is that most pages containing these words are tutorials, code examples, forum discussions etc. Such figures may or may not say something about what "ordinary" sites use.

Looking at URLs only, Google turned up:

1,370,000,000 for ".php"
573,000,000 for ".asp"
291,000,000 for ".cgi"
191,000,000 for ".shtml"
168,000,000 for ".jsp"
52,300,000 for ".pl" (which is also the TLD of Poland).

Of course URLs will not always indicate which server-side language (if any) that was used.
pandy
What's in an extension? tongue.gif

Let me be the judge. cool.gif I think PHP is the most popular langue today, as in the language most people start with. I don't think it's the most used programming language for the web.
Brian Chandler
QUOTE(pandy @ Nov 4 2007, 03:31 AM) *

What's in an extension? tongue.gif

Let me be the judge. cool.gif I think PHP is the most popular langue today, as in the language most people start with. I don't think it's the most used programming language for the web.


Huh? What does "most used" mean? Are you saying that there are a huge number of tiny bits of programming in PHP, and a smaller number of huge bits of programming in some other language? Or what do you mean by "programming language" in this context?
pandy
Take a guess, Brian.
Darin McGrew
Hmm... PHP? ASP? I'm zero for two...
Christian J
QUOTE(pandy @ Nov 3 2007, 07:31 PM) *

What's in an extension? tongue.gif

As already noted by me *cough*, sometimes nothing. But 1,4 billion web pages using the .php extension (out of 25 billion pages indexed by Google in total, acccording to http://en.wikipedia.org/wiki/Google_search#Search_products ) sounds like a lot to me, considering not all web pages use server-side scripting.

QUOTE
I think PHP is the most popular langue today, as in the language most people start with.

Agreed, and there are always more beginners than advanced users (since every advanced user was once a beginner). But are you suggesting that these beginners later switch to some other language? That's probably only true for some of the very few that later become professional programmers.

QUOTE
I don't think it's the most used programming language for the web.

I agree regarding large commercial sites, but such sites are not very common and their reasons for choosing a particular language may not be relevant to a beginner.
pandy
QUOTE(Christian J @ Nov 4 2007, 12:00 AM) *

QUOTE(pandy @ Nov 3 2007, 07:31 PM) *

What's in an extension? tongue.gif

As already noted by me *cough*, sometimes nothing. But 1,4 billion web pages using the .php extension (out of 25 billion pages indexed by Google in total, acccording to http://en.wikipedia.org/wiki/Google_search#Search_products ) sounds like a lot to me, considering not all web pages use server-side scripting.


Have you considered this could all be a global conspiracy designed to fool you? What if they are all really running ASP? ohmy.gif wacko.gif
Christian J
QUOTE(pandy @ Nov 4 2007, 01:02 AM) *

Have you considered this could all be a global conspiracy designed to fool you? What if they are all really running ASP? ohmy.gif wacko.gif

All that just for me? I'd be honored. blush.gif
Brian Chandler
QUOTE(pandy @ Nov 4 2007, 04:45 AM) *

Take a guess, Brian.


I've no idea, really, but perhaps from you other comments you think ASP? Do you think that "professional programmers" are more likely to use M$ servers? Doesn't seem likely that this effect would even approach the number of "nonprofessional programmers" using PHP?

One problem is that it's also hard to say exactly what "using X" means for a scripting language X. It might be, for example, that 7 squillion people had all copied a standard "include" in ASP; but this would hardly count as "programming", whether professional, fixed width, or other.

Anyway I really don't know what your point is.
pandy
QUOTE

I've no idea, really, but perhaps from you other comments you think ASP?

Nope. I have no idea what language it might be, but I don't think it's PHP.
adobaelah
perhaps unrelated or I might need to start a new posting. But anyone knows how to run a testing server for PHP?? I had a job re-editing a website. The guy before me used PHP. I was able to get around it and finished the job, but wasnt able to run a testing browser and had to put everything on the server just to see some little update that I did. BUt out of curiosity I want to know how PHP or any cross side server works.
pandy
You have to install PHP and a server that supports it, for instance Apache.

http://httpd.apache.org/download.cgi
http://www.php.net/downloads.php
Brian Chandler
QUOTE(pandy @ Nov 4 2007, 02:02 PM) *

QUOTE

I've no idea, really, but perhaps from you other comments you think ASP?

Nope. I have no idea what language it might be, but I don't think it's PHP.


Mysteriouser and mysteriouser... So do you think it might be a programming language none of us has even heard of? Do you have any rational basis for this suspicion?

I googled for "web programming language statistics", and here's the first hit:

http://www.welton.it/articles/language_popularity.html

An interesting article (read the disclaimers). In every case except one (Freshmeat Projects: PHP is just behind Perl), PHP is the top "web programming" language, if this means "language particularly adapted for scripting web pages". Of course PHP is behind C, for example, but then most C programs have nothing to do with web pages.

I dunno - do you think your mystery language is in the list in this article? Or might it be something he hasn't heard of either?
Christian J
QUOTE(Brian Chandler @ Nov 4 2007, 07:00 AM) *

In every case except one (Freshmeat Projects: PHP is just behind Perl), PHP is the top "web programming" language,

Also note that the author doesn't separate java from (client-side) javascript, considering how many web pages that confuse the two.
Brian Chandler
QUOTE(Christian J @ Nov 4 2007, 08:13 PM) *

QUOTE(Brian Chandler @ Nov 4 2007, 07:00 AM) *

In every case except one (Freshmeat Projects: PHP is just behind Perl), PHP is the top "web programming" language,

Also note that the author doesn't separate java from (client-side) javascript, considering how many web pages that confuse the two.


I'm sure the author doesn't confuse them, and there is no occurrence of "javascript" on the page, so I've no idea how he has dealt with the confused webpages. FWIW, the second hit includes javascript as a separate entry, and it's around 10% of java: http://www.tiobe.com/tpci.htm

Anyway, the original question was about server scripting languages, and the candidates for that are a lot more limited, so javascript doesn't really come into it. I certainly can't see any candidates for Pandy's Mystery Entrant.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.