My point was that there are better alternatives to PHP.
My point is, for what he is going to use it for, the better alternatives are NOT better
My point was that there are better alternatives to PHP.
My point is, for what he is going to use it for, the better alternatives are NOT better
Better for who? I was talking to JoseArmando not titanium777.
OP you have to be careful with these types of questions, cause it'll bring out the Mac versus PC argument.
A programming language is only as good as the programmer. If you learn python and create a shitty scraper, then learn perl and create a better scraper - in your case the best language would be perl. A programming language is a tool, what you use the tool for is going to determine if you are using it correctly. If you use a hammer to drive a nail into the wood - that is a great tool for that job, that's the purpose of that tool. If you use a wrench to do the same task, that's a horrible tool for that job, but you might still get the nail through the wood - but you may not even know that a "hammer" tool exists cause you don't have the rounded knowledge, so in your scenario - a wrench works, and that's fine for you. Unless you are trying to get some programming language coding award these debates always end up in the same arguing circle.
It's about learning what tool YOU can use properly for the task at hand the best - that's the best programming language.
Since you are doing affiliate marketing, and working with the web, html, css, and javascript are the first level of what you need since you are interacting with user's browsers. What language you use to manipulate data or control your site depends on what you know and if you can use it efficiently.
I personally prefer perl - yeah some noob programmers will say it's a dead language, bla bla bla - but it gets the job done. What no one outside a handful of people know is a SAAS I'm involved in is 98% perl - there is php involved where it needs to be involved, but since no user sees the backend of what's going on - shit doesn't matter what it's coded in if the job is getting done. If I'm using Cassandra versus MYSQL and Perl versus php - the end user doesn't care nor needs to know any of that. If the site is slow cause bad coding that's on the expertise of the programmer. If I need to hire a programmer to help out - they'd have to know the language I programmed in or should be competent enough to understand the syntaxes quickly and adjust. Once you understand the syntaxes it's all the same shit. I can edit php, python, and pretty much any language cause I know the basics of how a programming language is generally suppose to run - that's where php fails, cause it teaches a bad foundation. But if you are doing simple shit like editing a mysql database, does that really matter? We aren't getting programming awards for 'beautiful code' - let's be realistic.
With affiliate marketing any language will work for manipulating some data or pulling some APIs and storing it into a database. Yes there are some languages that are more skill full at doing one task or another, and faster - but if you don't know all those tricks and techniques - it's meaningless to program in that language cause you heard somewhere "python is a faster scraper", when in the above example you were able to code a faster perl version then your python version.
A programming language is only as good as the programmer. If you learn python and create a shitty scraper, then learn perl and create a better scraper - in your case the best language would be perl. A programming language is a tool, what you use the tool for is going to determine if you are using it correctly. If you use a hammer to drive a nail into the wood - that is a great tool for that job, that's the purpose of that tool. If you use a wrench to do the same task, that's a horrible tool for that job, but you might still get the nail through the wood - but you may not even know that a "hammer" tool exists cause you don't have the rounded knowledge, so in your scenario - a wrench works, and that's fine for you. Unless you are trying to get some programming language coding award these debates always end up in the same arguing circle.
in terms of functionality, people would probably say, 'php is better, or python is better, or ruby is better,'
in my opinion, that's because it's what they prefer and easy for them to use.
those scripting languages can pretty much do what other scripting language can do. it's only a matter of preferences.
My bad then. I didnt read enough to see it was Jose.
I was specifically speaking about OP.
PHP, python, ruby are server side scripting languages, meaning, this programming languages are used to interact with the server of the website.
And languages which ONLY runs on the server.(if you view the source code of a website which has been written with server scripting languages, you cannot view the codes, because those scripts only runs on the server)
...
No harm, no foul. I think we both got off track.
I should clarify, if the OP just wanted to edit wordpress, then go with PHP. But his questions seemed deeper than that.
If I was starting from scratch and looking at what languages to learn I would go with NodeJS.
Not because I code in it (I don't) but because it kills two birds with one stone, he only has to learn one language for front and back ends.
But the added benefit is, if the shit hits the fan and the OP needs to pick up a bit of freelance work, there will be little competition and he'll be paid a good rate vs if he learns PHP he'll be stuck competing with 1.3 billion Indians who will work for $2 an hour.
No one said it in this thread, but the general consensus on the net seems to be "learn PHP because it's easy" but when the point is made that it's slow, can quickly become unmanageable, doesn't scale well, etc, etc, the reply is always "but all they want to do is write simple scripts, that other stuff doesn't matter"
Call me a stick in the mud, but it does matter, maybe not right now, but it will some time in the future. Once the person understands how to program they won't be content with "simple scripts" (no one ever is) and they will want to build bigger and better.
And a good foundation is will save countless wasted hours of frustration.
I've been doing affiliate marketing for years, but feel like my lack of programming knowledge has been holding me back.
In addition, I'm driven to learn more programming, but stuck on what direction to go.
Between: HTML, CSS, PHP, Javascript, Ruby, Python...I don't even know where to start.
Would taking steps to be a full LAMP developer be the way to go? I feel like HTML/CSS are the basics, then maybe learning PHP or Ruby?
Thoughts?