1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP or C# for bots and software development?

Discussion in 'General Programming Chat' started by mrpega, Oct 12, 2008.

  1. mrpega

    mrpega Regular Member

    Joined:
    Sep 19, 2008
    Messages:
    352
    Likes Received:
    88
    Hi,im looking into devloping some bots and marketing softwares for myself and wondering what programming languages should i pick up and which one does the job well..i just went through the google api list and it seems that desktop applications(c#) are unable to use the google apis as they can only be used by web languages like asp or php..

    thanks
     
  2. ktop

    ktop Registered Member

    Joined:
    Sep 24, 2008
    Messages:
    91
    Likes Received:
    151
    I've worked on both C# and PHP to make BOTS and spiders, and I find C#/VB.NET favourable for browser automation, and PHP favourable for extraction BOTS...

    I suggest you tinker around with both, and you'll find your own sweet spots...
     
  3. scriptkiddy

    scriptkiddy Junior Member

    Joined:
    Jan 11, 2008
    Messages:
    104
    Likes Received:
    18
    Not true, if you call an api over the internet the target can't tell what generated the call (unless of course you tell it)

    The biggest descision for any sw nowadays is do you do a desktop app or a web service. That will limit your choice of language as it's difficult to use some on the desktop (PHP, ASP, PERL) but even then not impossible.

    However you can develop a web service in almost any language that will run on your server. (perhaps easier in PHP, or ASP but possible in VB any flavor of C ,python etc)

    Personally I use VB6 for desktop apps and ASP for web services, however I've developed web services in VB6 in the past. This of course limits me to windows hosting.

    If I were starting out I would use PHP instead of ASP (only because it's more portable)

    I wish there was a similar choice for desktop portability, that had decent UI capability. I released a trial of something the other day for windows, two of the first four questions, is there a mac version, is there a linux version...
     
  4. jimbobo2779

    jimbobo2779 Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 17, 2008
    Messages:
    3,239
    Likes Received:
    2,394
    Occupation:
    Software Engineer
    Location:
    UK
    Home Page:
    Well I learnt to program in C# and have taken that knowledge to learn PHP myself and I have to say that PHP couldnt really be any simpler for what us guys like to do. I am not saying C# isnt good or wont do what you want but to throw something together real quick PHP is much better (in my opinion anyway)
     
  5. 3kings

    3kings Newbie

    Joined:
    Sep 14, 2008
    Messages:
    38
    Likes Received:
    165
    Go for VB.NET since your goal is not compatibility but getting the work done. VB.NET is easy to learn, a sh*tload of source code available and does the job with least possible lines of code because almost everything is automated within the framework.
     
  6. chc89

    chc89 Junior Member

    Joined:
    Jan 18, 2008
    Messages:
    118
    Likes Received:
    3
    If you want to develop desktop application then you should go for either c# or vb.net. Php generally used for web application development.