![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| Registered User Join Date: Jul 2004
Posts: 99
| What programming languages to use, what prohgramming language is it? For example when you see ...support/adsense/bin/answer.py?answer=9727 the .py means that all thi sgoogle adsense is programmed by python? What programming language is google.com/adsense programmed anyway? with python, that is my question? and the other i would like to ask what is the differnce bewteen PHP and PERL(cgi)? thanks would be happy if you answered |
| cogeek is offline | |
| | #2 |
| Super Moderator Join Date: Sep 2001
Posts: 4,746
| PHP is very similar to C++. If you know C++, it'll be easy to make the move to PHP. IMO, PHP is better for most general-use cases. Perl is more like a traditional procedural language. It's very good at searching and processing strings, but it's rare that you'll need that. They can both do CGI and Internet Apps quite easily, and are readily available, though PHP seems to be becoming the new generally accepted standard (Perl used to be). edit: Google does use Python extensively for it's software - so I would assume you are correct regarding adsense. Have a look at the other links at Google besides the search portion - some interesting stuff. |
| sean is offline | |
| | #3 |
| Registered User Join Date: Jul 2004
Posts: 99
| Hey, i wanna make a sit elike google.com/adsense that why i'am asking what programming language to learn to do this, php don't seems me so proffesional |
| cogeek is offline | |
| | #4 |
| Super Moderator Join Date: Sep 2001
Posts: 4,746
| Look at the file extension of this page. Looks pretty professional to me. PHP is used for almost everything. Secure online shopping, MySQL, you name it. |
| sean is offline | |
| | #5 | |
| & the hat of GPL slaying Join Date: Sep 2001
Posts: 5,732
| Quote:
| |
| Thantos is offline | |
| | #6 |
| Code Goddess Join Date: Sep 2001
Posts: 9,664
| >Except that perl is actually OO. Perl supports OO, just like C++, but it was originally procedural.
__________________ My best code is written with the delete key. |
| Prelude is offline | |
| | #7 |
| Registered User Join Date: Jul 2004
Posts: 99
| what does OO means? and why has google done it in python when php is better ? |
| cogeek is offline | |
| | #8 |
| & the hat of GPL slaying Join Date: Sep 2001
Posts: 5,732
| Object Oriented |
| Thantos is offline | |
| | #9 |
| Registered User Join Date: Jul 2004
Posts: 99
| oh!!! i still don't know what bject oriented mean but why does google uses python? |
| cogeek is offline | |
| | #10 |
| & the hat of GPL slaying Join Date: Sep 2001
Posts: 5,732
| Do some research then |
| Thantos is offline | |
| | #11 | |
| Super Moderator Join Date: Sep 2001
Posts: 4,746
| Object oriented simply means that instead of a list of instructions, a language is more capable of dealing with data structures in ways that help you to model the real world. Still do some research, as this is the fundamental difference between C and C++, and it needs to be understood clearly. Quote:
I don't know why Google uses Python. I have not used Python myself and do not know for sure, but it probably offers the ability to deal with serious computing power. It takes a lot to create an index capable of measuring and storing practically the whole internet. I wouldn't use PHP to create Google. Definately not. But if you're just creating something like AdSense, all you need to do is analyze the text on a page, make some simple logic decisions*, and then send back some ads. This is all well within PHP's abilities. * The creators of the original Google search engine wrote a paper about how it worked. Not only will they probably explain why the use Python, but I remember they talked about how the Engine's spiders/bots would read the text in a page, count the number of occurences, and their locations, and used a statistics algorithm to determine basically what the page was about. This is why google gives you such relevant results. I'll have a look for it and let you know if I can still find the paper. | |
| sean is offline | |
| | #12 | |
| Registered User Join Date: Jul 2003
Posts: 85
| Quote:
__________________ Free iPod?! | |
| scrappy is offline | |
| | #13 | |
| Toaster Join Date: Aug 2001
Posts: 2,686
| Quote:
That's what makes Perl so fun.
__________________ The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop. | |
| Zach L. is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why C Matters | DavidP | General Discussions | 136 | 01-16-2008 09:09 AM |
| Strange loop | D@rk_force | C++ Programming | 22 | 12-18-2004 02:40 PM |
| Language of choice after C++ | gandalf_bar | A Brief History of Cprogramming.com | 47 | 06-15-2004 01:20 AM |
| Language Script.. | vasanth | A Brief History of Cprogramming.com | 12 | 03-30-2003 06:48 AM |
| Visual J# | mfc2themax | A Brief History of Cprogramming.com | 0 | 10-08-2001 02:41 PM |