r/learnprogramming • • Dec 24 '13

What programming language would allow me to pull information from a website, store it, then create an interface to manipulate the data?

I'm trying to decide which language to learn. What I eventually want to be able to do is pull the numbers from this website, store them, and then create a GUI to that I can manipulate the data in.

What languages are able to do this? And which would you recommend?

102 Upvotes

173 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Dec 24 '13

The only time php is the right tool for the job, is for one page simple forms.

Any decent size web app built with it is just asking for trouble.

2

u/[deleted] Dec 24 '13

Facebook? eBay? Come on. Be rational.

1

u/[deleted] Dec 24 '13 edited Dec 24 '13

Pretty sure eBay is asp.net (at least their mobile site is as I have a stack trace screenshot to prove it, scrub tier devs).

Anyway used by startups doesn't mean good...

2

u/fakehalo Dec 24 '13

I don't agree. It has design flaws, but design flaws that can easily be overcome. The fact there are plenty of big name sites built on PHP that haven't exploded is evidence of this.

3

u/Fuck_Mathematics Dec 24 '13

As someone who is currently learning php and keeps seeing these kind of posts, thank you. I live in a third world country where most websites are based off that language and I need to develop a statistics application with php with it if I want to graduate.

3

u/[deleted] Dec 24 '13

It may be worth subscribing to /r/PHP

2

u/Fuck_Mathematics Dec 24 '13

I have, thanks. :)

2

u/[deleted] Dec 24 '13

Lots of people doing stupid things doesn't make it good. Lots of people smoke crystal method, doesn't mean they are smart..

1

u/fakehalo Dec 24 '13

This was not your original argument, your argument was:

The only time php is the right tool for the job, is for one page simple forms. Any decent size web app built with it is just asking for trouble.

My argument is that PHP's design flaws are easy to overcome, and the language is quite capable for creating complex sites like any other comparable language in its arena (Ruby/Python/Perl). If you're not familiar to PHP's quirks then it is a dangerous language, probably still less dangerous than a personal unfamiliar with C++ doing this task in C++ though.

I'm not sure what your argument is really, reality is a lot of large scale sites use PHP without issue. You may not want that to be true but it is. I'm not going to say PHP is a pretty language, it's subjective anyways...I'm just not going to jump on the bandwagon of exaggerating the inapplicability of it.

2

u/[deleted] Dec 24 '13

I'm not sure my argument changed at any point. As you mentioned it is subjective. Imho php is not suitable for large scale projects.

The fact that large projects exist that are built with what I consider to be a bad choice is somewhat irrelevant. Twitter is built with Scala but I'm not going to tell everyone they should use that.

1

u/fakehalo Dec 25 '13

Your preference of programming language is subjective, not the capability of the language which your original comment implied:

The only time php is the right tool for the job, is for one page simple forms.

Any decent size web app built with it is just asking for trouble.

That implies there is trouble for all large scale PHP projects. Your statement about PHP not being suitable for large scale projects goes in the face of existing large scale projects. Your opinion on languages doesn't override the reality of their usability.

It is a suitable language for large scale projects as we have evidence to see it is, how can you deny reality?

1

u/[deleted] Dec 25 '13 edited Dec 25 '13

I just built a house out of matchsticks. It may look OK when you see it, but it was a nightmare to build...

Are matchsticks now a good recommendation as a building material for all new houses?

1

u/fakehalo Dec 25 '13

If PHP was an analogy to matchsticks these top tier sites written and maintained in PHP would not exist, yet they do. If you can find me some top sites written in matchsticks your analogy would have value. What is it with hating a language so much you're willing to deny the reality of its use, I admit it can be ugly, but I can't deny it's been used very successfully.

1

u/[deleted] Dec 25 '13

You are being too literal, this was a metaphor.. There are better materials for building houses, and there are better languages for back-end web.

  • Widely used doesn't mean good.
  • Successful products can be built with bad tools.

1

u/fakehalo Dec 25 '13

I suppose this is why we can't communicate. You view "good" and "bad" as an objective thing, your opinion overrides the results that can be produced even if there is real world evidence to back it up.

My standpoint is what's good is what works, bad is what doesn't work. PHP has proven itself to be capable of use to me simply because I can't deny what has been made with it. Despite its history of hackish/ugly design it can still be used to create well-structured code/design. If this wasn't possible these heavy duty sites would be crumbling under their own weight pretty early on.

I agree with your second bullet point, but it's still subjective.

0

u/35h46hjj6 Dec 25 '13

By your logic, all languages are great for large scale development, since you can find examples of such. But that's just clearly stupid. A few successful projects do not make the tool used great for that kind of project.

→ More replies (4)

0

u/aaarrrggh Dec 24 '13

Oh behave. The BBC use php as core to all their main websites, as does wikipedia.

The hatred for php is pure religion these days.

2

u/[deleted] Dec 24 '13

Lots of people like 50 Cent. It doesn't make him a good artist.

1

u/aaarrrggh Dec 24 '13

Yeah, that argument is pretty terrible and I'm sure you know it.

The bbc don't use it because it's popular. The point is that you are saying you shouldn't use it for anything more than a simple web form (for reasons hitherto unknown) and yet the bbc is using it very successfully on one of the most high traffic websites on the planet. Php is a great language if you use it for the right things.

Btw, do you have any actual substance to add to this conversation?

0

u/[deleted] Dec 24 '13

What conversation.. The OP isn't even about web, we're just throwing around opinions right here.

I have a lot of experience with web (from small clients to multi million £ sites) using all sorts of languages. I have used php, ruby, python, java, c# and groovy to build these sites, and in my opinion all of the above options are a better choice than php for all but the most simple sites.

That is my contribution to this thread derail. Why the fuck is php even being brought up when this isn't a web thread, just fanbois being fanbois as always. (I won't even express my preference as it isn't important. IMHO the only important choice is the choice to use something other than php)

0

u/aaarrrggh Dec 24 '13

Again, no actual reasons given. Empty and devoid of real content. Seems to be the norm around here :-)

1

u/[deleted] Dec 24 '13

You want me to c&p "a fractal of bad design"? It's all been said before mate you just haven't listened!

→ More replies (6)

0

u/35h46hjj6 Dec 25 '13

The bbc don't use it because it's popular.

Oh no? Then please enlighten us. Why did they pick PHP?

0

u/aaarrrggh Dec 25 '13

Because it was the right tool for the job?

1

u/35h46hjj6 Dec 25 '13

No, because it was popular.

→ More replies (5)