Welcome to WebmasterWorld Guest from 54.226.246.160

Forum Moderators: martinibuster

Message Too Old, No Replies

programming language for writing seo tools

     

hanse132

3:17 am on Jul 16, 2010 (gmt 0)

5+ Year Member



hi ,all.

i want to write some automated tools for myself to reduce the current work . i am wonderring which language is better, i haved learned jave and c. how about php and python ?

lammert

6:09 am on Jul 17, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Hi hanse132,

Thanks for bringing this issue up. You posted this in the Link development forum, so I guess you want to create some tools for link checking, the automation of link requests etc.

There is no such thing as the perfect programming language. It really depends on the type of work you want to do, the computer platform you are working on and which language you feel comfortable with.

That said, C is a language which can create extremely fast code, but you are working very close to the internals of the computer. If with SEO tools you mean programs which check links, rankings, etc then C might not be the right language.

PHP is on the other side of the spectrum. It is an easy scripting language with a syntax which is nor far from C or Java. If you know those two languages it is not difficult to grasp the fundamentals of PHP. PHP is easy to write, has a huge library with network type functionality but its drawback is that it is interpreted, hence a significant factor slower than C or Java. But for scripting to automate work and glue processes together it might be a good choice. PHP is especially a good language if you want your SEO tools to be web enabled. PHP seamlessly integrates with the Apache webserver and many websites are entirely written in this scripting language.

Python is in my feeling something in between. Still good for scripting but a little bit higher level. If my memory serves me well, Google is a happy user of python for many tasks.

phranque

9:24 am on Jul 17, 2010 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], hanse132!

i would suggest perl as a well-suited option for such tools.
if you know java and c you will have no problem adapting to perl.
there is an extensive list of resources in the Perl Server Side CGI Scripting forum Charter [webmasterworld.com].
be sure to look at the extensive archive of Perl modules on CPAN [cpan.org].
you would be especially interested in the LWP [search.cpan.org] module.
the first paragraph of this article explains why "Perl is the duct tape of the Internet." [oreillynet.com]

hanse132

2:57 am on Jul 18, 2010 (gmt 0)

5+ Year Member



Thanks phranque,lammert. Much appreciated for your great answer. i found the grammar of PHP ,it is some thing wired for me , so i will give Python a try.

lelem

12:24 pm on Jul 20, 2010 (gmt 0)

5+ Year Member



i think perl is the best

hanse132

12:58 am on Jul 21, 2010 (gmt 0)

5+ Year Member



i know Perl is very good at dealing with text. i learned for web that Perl is used for administration of Unix-like servers most of time.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month