Learn How to Code this Weekend
Whether you just want to be able to hack a few scripts or make a feature-rich application, writing code can be a little overwhelming with the massive amount of information available. Here are some resources to help get you started.
Learn the Basics
Before you click any other links on this page, you should read our Programmer 101 Guide so you can get acquainted with the basics. One of the first pieces of advice in the guide is to avoid getting hung up on choosing a programming language. Nonetheless, if you're having any trouble making a decision we asked our code-savvy readers for suggestions awhile back and that's a good resource for help. If you're looking to make web applications, you should take a look at our guide on building a web site from scratch with no experience as well.
Choosing Frameworks and Helper Libraries
Learning to code doesn't mean you need to use a programming framework, but it can make your life a lot easier once you know what you're doing. Before you even start looking at frameworks, however, you should understand the Model-View-Controller (MVC) design pattern. This is the pattern frameworks generally follow and eNode has a great overview of MVC to help you better understand it.
One of the most popular frameworks in recent time (that happens to follow MVC) is Ruby on Rails. Ruby is a comfortable language that feels a little bit more like writing English and less like writing code. This may or may not be appealing to you, but it's nonetheless very capable and a good place for a lot of people to start. Rails, however, is meant to scale for larger web applications and isn't always the best choice for less ambitious projects.
With JavaScript amounting for much of what the web does nowadays, it has its share of helper libraries to make coding a bit easier. Scriptaculous is one popular option, and jQuery can help you out with Ajax interactions and other operations you'll perform often with JavaScript.
Finally, if you're thinking of making a simple game, ActionScript is a good language to learn. Flixel and Flashpunk can be very helpful in your game development and are worth a look.
Starting Your First Project
One of the best and most fun places to start, once you know what you're doing, is to make Pong. This can easily be accomplished in both JavaScript and ActionScript (which aren't too different, so if you learn one you'll have an easier time with the other). Perhaps surprisingly, one of the easiest things to make is a blogging application, which is even easier to do with the Ruby on Rails and CakePHP
frameworks. Really, you can start with anything you feel comfortable with. Often a project that interests you is best, or something that's so simple you can make it in an hour or less and feel like you've accomplished something. Whatever you pick, hopefully it will be first of many to come. If you learn how to code and eventually come up with something pretty awesome, be sure to share it in the comments.
This post was written by: Albertolida
Subscribe to:
Post Comments (Atom)
0 Responses to “Learn How to Code this Weekend”
Post a Comment