most useful language / automation

defelice

New member
Nov 23, 2009
1,225
28
0
texas
hello, i'm a complete noob when it comes to coding languages except html, css, etc. I'd like suggestions on either what you'd say the most valuable language for AM, or the best language to learn automation (FB ad submitter, scraper, etc). I'd like to learn an important language before i buy uBot so i'll understand the functions better when i purchase it. If you have any good recourses on learning, i'd appreciate that too.


th_Fjht_tenaya_05.jpg
th_5Mif_tenaya_08.jpg
th_C71z_tenaya_09.jpg
th_R8mI_tenaya_12.jpg
 


For scripting/automation... PHP or Python. Anything else (.Net etc) is an utter waste of time.

If you want to learn a good framework for coding quick web 2.0 sites etc, look at Ruby on Rails. Learning curve is *steep* if you've never programmed before, so if you have the cash, outsource that part :-)

But yeah, for scripting etc, look at php or python.
 
+ 1 for PHP

Although if you're looking into a language as the first step to buying uBot you've got it wrong.

If you like the look of uBot you should definitely buy that FIRST and then go to a full language as you'll take longer to learn php than uBot.
 
UBot Studio doesn't really require you to know any language to use it. It uses VSL or Visual Scripting Language which is basically a point and click thing. :)
 
Im sure any language if learned is the best if you learn how to use it proficiently enough. PHP seems to be the most widely used and easiest to learn because there just so much of it out there, Probably a good place to start.
 
def almost any programming language now a days come with a sockets class to do pure HTTP protocol calls at the very least. Most also come with HTTP classes to handle all the work such as CURL. If you are using windows, nothing will compare to the ease and flexability of Chilkat. The best investment I ever made for my company and they are extremely quick with making fixes / additions if you ask. They literally did one yesterday for me.

Language wise, if your building a scraper everyone here keeps saying PHP. Realistically, PHP is nice for ease, but you are going to be way more limited then if you use a true desktop programming language that supports threading such as .net, or if your on nix C/C++. I couldn't even imagine making a bot in PHP. Honestly the over head and speed is just pathetic. This is especially important for what you will be spidering, as if you are spidering images or videos PHP could likely even crash out if the file is 50mbs or so. Not to mention, you limited to one request per execution, so if you want to download say 50 files at once, you need to run PHP 50 different times. Making that concurrent to a common GUI is not exactly easy for a beginner.

You said whats the most valuable language and that for sure is any language which can be compiled to an actual desktop applicaiton. I am very found of the .net framework, specifically VB.net, but any language would work really. If you like Ruby or python both can be compiled now into threaded EXE's with the .net framework. Java is also an extremely popular language which has tons of examples. Obviously C/C++ will probably give you the most understanding of programming, but also a lot more work to accomplish some basic stuff.

Which ever language you pick, head on over to Example Programs, Code Examples, Sample Code, Source Code Examples, Visual Basic, VB.NET, C#, FoxPro, C++, Delphi, Python, Perl, Java, Ruby, SQL Server, C, MFC and select it to the left, then click HTTP Class for examples for everything from a simple GET to POST to Uploading and downloading. They now even have Async calls built right in for ease of threading (Till just recently you had to build your own delegates).
 
php + curl multi. no contest.

its nice to run things from home but lets be honest what do you have online more? your computer or your hosting/vps/server?

(not to mention, they (your hosting), probably have a 100Mbit line, lol)
 
ruby/mechanize is great for scraping. Especially with the live console option of ruby.

PHP is the most general purpose programming language for web developers.

If your considering C/C++ well, thats goofy and is serious pre-optimization. Unless you want to make desktop applications or whatever.
 
PHP is a great language, and is especially useful (and fast!) for automation when combined with the curl multi functions. Also, it's especially easy for beginners.

However, I currently find myself looking more at python because of its threading capabilities (which PHP does not have).
 
Jelly,

There are many reasons you would want to use a language that can compile and allow threading. Example: You're spidering a site like youporn for videos, or uploading to youporn... Or how bout we do a more real life situation. You have 5 threads downloading from youporn, once download they pass to another section of the program which re-encodes the video on a new thread attaching your website url to it, and finally once encoded, added to a new queue where you upload 5 threads at a time to a different video website... All these sections of this program should be going concurrently.

For the most basic scrappers PHP will do for but anything intense I could not imagine using PHP
 
For odd jobs like you suggest - php, curl
Web apps and other development - CakePHP

They're my tools of choice.