Jump to content

New Project! What language shall I use?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
11 replies to this topic

#1
adzeds

adzeds

    Newbie

  • Members
  • PipPip
  • 27 posts
I am thinking about creating a desktop web stats/tracking application and am not sure which programming language would work best!

I want to collect live web stats and display them on the app! Very much like a desktop application version of Google Analytics!

First of all, is this possible (anyone tried?)! secondly what language should I use?

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Yes, it is possible. Web servers have an access log file, you would simply need to parse this. There are software that does this already.

As for the language you should use, do you know any?

#3
adzeds

adzeds

    Newbie

  • Members
  • PipPip
  • 27 posts
I have knowledge of VB!

But am willing to learn others!

#4
JCoder

JCoder

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 245 posts
Then I would recommend learning VB.NET and C#, though .NET apps work a little sluggishly compared to Java.

#5
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
I recommend C++ or C. .NET will be too slow if you want actual real-time graphing on multiple websites at a time.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#6
adzeds

adzeds

    Newbie

  • Members
  • PipPip
  • 27 posts
In a scale of 1-10 how difficult would you class this project as?

For example, using VB or JAVA!

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
That mainly depends on where you're getting your data from.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
adzeds

adzeds

    Newbie

  • Members
  • PipPip
  • 27 posts
I am going to be storing the data in a mySQL database!

#9
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Where will the data in your database come from?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#10
adzeds

adzeds

    Newbie

  • Members
  • PipPip
  • 27 posts
I will most likely use a PHP script (maybe javascript) to collect data when the pages are accessed by the users.

Is this the best way? - Or is there something a lot better?

#11
JCoder

JCoder

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 245 posts

Quote

NET will be too slow if you want actual real-time graphing on multiple websites at a time.

LOL. .NET uses accelerated graphics (as well as Java) and you do not need to learn anything to benefit from it. In C++ you have to learn Direct3D or OpenGL to match its performance which is a way more complicated than using simple Canvas methods for drawing lines and bars. So, usually a simple charting program made by a beginner in a C++ will be several times slower than its .NET/Java counterpart.

#12
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
I was referring to the power required to parse log files in realtime. Assuming several hits per second, and subtracting the time required for fetching the new log files, you don't have much time to do that. For drawing stuff, ever heard of wxwidgets, allegro, or even the windows api? 3d stuff doesn't come into it.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz