Learning a new programming language can be daunting to say the least. I’ve recently cracked it when it comes to jQuery. I wouldn’t say Im a pro by any stretch of the imagination but I can successfully build applications. It wasn’t an easy ride learning a new syntax, I’m going to run over a few tips and techniques that i found useful learning both jQuery and PHP.
In order to get into your new programming language you need time and commitment to perfect your new skill. Take the time to spend a day learning rather than and hour here and an hour there, you’ll learn more this way. it took me about a week to get comfortable with jQuery. I use jQuery everyday so it was relatively easy to get to grips with as the learning process was continuous, however you need sleep so your brain can de-fragment everything you’ve learnt that day.
The truth is you just can’t learn a programming language in 24hrs, some books purport to teach you the basics in 24hrs. I’ve never found these books useful. I’d recommend buying a selection of books for whichever language your learning and sit down and read the basics. You’ll find some books easier to read than others so pick your books carefully. Remember you won’t be able to learn everything from a book but it’s a great starting point to start to understand the logic.
Start building up a folder of download demos that you can refer to and reverse engineer. I find this very useful, and still do it if i want a quick fix for a project. Reading tutorials on your specific language will also give you a better understanding. generally tutorials are short and sweet and give you all the info you need to know.
It’s inevitable that your going to run into code errors. Don’t pull your hair out, we all go through it, work through the error and go back on yourself to find out what the problem was. If your building an application, don’t just code it all then test it. Test your code as you go along, then if you find an error you’ll quickly be able to identify the problem.
Thanks dear to contribute original i.e. real time experience .
Thanks a Ton. I am new to Web Development / JavaScript and this is exactly what I was looking for.
Hey, You’ve done an admirable job. I should definitely delicious it and I’ll suggest to my friends. Almost certainly they’ll be benefited from this blog.
First of all it is necessary to learn php+mysql and C to best understanding of a code
For php it is better to use phped (the interactive environment) there you can to look through the program in the course of performance step by step
As Ashley said get the right book and tutorials. The foo an bar example in oop got me frustrated a lot at first. I wanted to see real examples like Ashley is doing here .
Great site. Thanks Man.
@Ashley
Thanks for the advice! I’ll be sure to look back at some of your PHP tutorials. At the moment, I have been playing around with the PHP code of WordPress (self-hosted), but I think its time I actually learnt it properly.
You’ve got some really great stuff on your website, its one of my top web bookmarks, so I’ll check back here regularly!
One question – can you tell me what is a “CURL” function in PHP?
@web learner
Thank you for the response. I think I am more keen to learn PHP than JavaScript, because I see there is a lot more I can do with it. But I’m unsure where to start?
p.s PHP looks a lot more difficult, but I don’t mind giving it a go!
@Adnan,
Which should you learn php or javascript? I would recommend… php. But if you have a strong Object-oriented programming background skill, learning js or php is not a problem to you. Its all based on your preference. Would you like to deal with client-server codes(php) or want to add-on more interactivity to your site (javascript, or even AJAX). Start with the one that you are more interested
Hi Ashley,
I’m a 14 year old boy, who is interested in web designing and application developing.
I have knowledge of HTML and CSS, and would like to extend this.
What should I learn next – PHP or Javascript?
And what sources do you recommend?
Thanks for sharing this post!
Excellent tips, I learned to program that way durnate my college career.
I am trying to learn Jquery @ PHP at the same time. I have a website to fix and too much cost to get someone up to speed. Your site has some great examples to teach and inspire. I trying to change web fonts on the fly for each line. I think you have got me started.
Thanks , you are a permanent bookmark.
Great write up & all, but I was hoping you would have listed some sort of like web sources you go to like blogs, tutorials, coding related sites… As well as books for users to read, just minor recommendations. Kinda scary tackling on a newer language. So ya know, just a little more stuff would of been nice so there’s more of a push for people taking steps into new programming languages. As these are just minor point blank obvious steps, although we seem to forget or ignore, for some odd reason…? Ya know.
Anyways, I hope I don’t seem to come off rude on my writing for saying all that. Not my intentions. You are the writer & owner of an amazing site with a hefty amount of useful information and all!
So just an opinion from me to you…. I guess I wanted more out of this post for others & myself, kinda greedy of me, lol. So forgive me for that.
But yea, I can’t complain much! Ya did gave me the push to read one of my designing books for 37min & later today some ‘Learning jQuery: Better Interaction Design and Web Development with Simple JavaScript Techniques’ i got around the house will be put into schedule!
So minor flaws in my view of this post, but great job none a less on getting me to read & learn, so here’s a big THANKS!
- MexiChriS
Pingback: uberVU - social comments
Rather coincidentally one of my books (Beginning PHP and Oracle) is displayed in the pile, so I thought I’d chime in.
Over the years countless readers have asked me this very question, and Ashley’s answer is spot on. I’d like to add one more tip to the list:
Build something!
Dream up a web site project which interests you, and build it. Whether it’s a PayPal-enabled order form, a JavaScript-based card game, or a Facebook application, your knowledge will grow by leaps and bounds as you experiment with your own projects.
Jason
Jason Gilmore
EasyPHPWebsites.com
Hi,
It’s a really good post. I have followed the same process when I learnt ROR.
Thank You,
Uma.
I learn new programming languages by doing projects in it. For example, I did a Timeline project for learning PHP. I follow this same strategy for any language and it works perfectly.
I have a method – I call it the Hello Script method – basically, you have to create the ‘hello world’ application. This is more than just ‘print “Hello Worldâ€â€˜ – it will act as a cheatsheet for you until you familiarize yourself with the language. The point of this application is to use all the most commonly used elements of a language and putting it in a single place so that you can refer to it later.
It works for me – but YMMV.
Wow. Well written.. I totally agree with you that no language can be learned over night. It takes time. I am into learning and developing RoR application and the progress is been good. Actually slow and steady wins the race.
I was thinking about blogging about the same topic! Currently learning CakePHP although not a language itself but I’m no pro in PHP so it’s almost like learning two languages due to the syntax. But learning is the best part even though it takes time, plenty of time.Great tips Ashley.
_henry
Well written. So much agree about you’t learn a new programming language in a hurry. Take it nice and slowly. If you do to much one day, you will end up having to repeat those steps again one week later.
Take one “chapter” at a time, practice the new functions and methods, do a small real world example, and then move on when you feel you’re ready.
Thanks
Designer and web developer, Co-founder and Technical Director at Harkable.com London. Previously I worked at InMobi, Spotify and MySpace. Interests include photography and making short videos. Also an avid F1 fan. I also run Mega Infographics for your daily dose of the best infographics.
Follow us on Twitter and get in-stream updates.
Subscribe to all the Papermashup tutorials and articles straight to your RSS reader.
Sign up and get all the Papermashup tutorials straight to your inbox.
27 discussions around Steps to learning a new programming language