Programming: Prepare The Development Environment
From Color Infection Wiki
Contents |
C/C++
Linux
On debian based Linux, run apt-get install build-essential to install the essential development tools, including gcc/g++ and make. Then you can use a text editor to program.
Wondows
On Windows, Visual C++ Express is the best tool to develop C/C++ projects. There are some tools, such as Cygwin and MinGW, to let you use the Linux gcc/g++ on Windows. But I think if you want to use gcc/g++ on Windows, using VirtualBox to install a Linux guest is better.
Open Sourced IDEs
There are some popular open sourced IDEs, such as Anjuta, Code::Blocks, Dev-C++, CodeLite and more.
Flash (ActionScript)
There are many ways to develop Flash apps:
- buy and install Adobe Flash Professional software. This is mainly for artists. But you can also write simple ActionScript code segments. Flash Professional is a commercial software
- install Flex SDK. This is for programmers. Flex SDK is open sourced and mainly maintained by Adobe.
- buy and install Adobe Flex Builder IDE. This is for programmers. Flex Builder is a commercial software. It integrates Flex SDK.
- use haXe. This is for programmers. haXe is a open source competitor of Flex SDK. haXe use a different language than ActionScript.
Currently, all Phyard.com Flash apps are developed with Flex SDK.
Python
Run apt-get install python for Debian based Linux.
Java
For Linux
Run apt-get install openjdk-6-jdk for Debian based Linux. You can also install Oracle JDK, which is not included in the default Debian repository. Here JDK means Java SDK.
For Windows
Install Oracle JDK.
For Mac
Install the Oracle JDK. Note that JDK for Mac download page is separated with the download page for Windows and Linux. JDK for Mac is maintained by Apple.
GUI IDE (Optional)
After installing JDK, you can write java programs in a text editor and compile the programs in a term (or DOS console).
Eclipse is the most popular Java development IDE. At the download page, there are different packages. As a Java developer, you can choose any of:
- Eclipse IDE for Java Developers
- Eclipse Classic
- Eclipse IDE for Java EE Developers
NetBeans is another usual IDE for Java programming. But it is far less popular than Eclipse.
Apache Ant (Optional)
Apache Ant is a popular build tool for Java projects.
Web Back-End Dev
Depend on what stack do you want to use.
- If you are familiar with Javascript, Node.js is best for you. Node.js use npm to manage its packages.
- If you are familiar with Python, install Python firstly. There are many web frameworks for Python, such as Django and Pyramid. But I like Tornado. You can install Python packages by using easy_install and pip
- If you are familiar with Java, install JDK firstly. Then select a web framework.
- Apache + MySQL + PHP.
- more ...
Personally, I like Python and Node.js. Linux is strongly recommended for developing back-end apps.
Web Front-End Dev
Install Firefox (or any other browsers), done!. You have already get a HTML+CSS+Javascript development environment.
You can install the Firebug addon for Firefox to help your debug.
Some Javascipt libraries such as JQuery will help you solve many browser compatibility problems.