Can't find what you are looking for ?
Google
 



Showing posts with label Code. Show all posts
Showing posts with label Code. Show all posts

Thursday, October 29, 2009

MiniBuilder - Flash-based IDE for ActionScript development

A web based tool for Action Script development, available on code.google.com

Available at this site (link)

From this site:


Flash MiniBuilder is a lightweight IDE created for developing programs written in ActionScript 3.
Flash MiniBuilder is itself written in ActionScript
Two of the main raison d'etre of MiniBuilder are
1. provide a completely free and cross platform alternative for developing ActionScript projects.
2. provide an editor with a small footprint that would eventually run on smaller computers like netbooks or even pocket-size devices.
Extending, changing (and even integrating MiniBuilder with other software) is easy: MiniBuilder is itself written in your favourite language, AS3

Thursday, July 9, 2009

Refactoring - Code improvement without changing behavior

Refactoring is the process of changing a software system in such a way that it does not alter the external behaviour of the code/design, yet improves its internal structure. When the software is refactored, the existing design is examined for redundancy, unused design elements, inefficient or unnecessary algorithms, poorly constructed or inappropriate data structures, or any other design failure; once this inspection is done, then the results are analysed for getting a more improved design.
If you were to ask for a simple explanation, then code refactoring means that you 'clean up' the code. Refactoring is not meant to be used for changes where you added new functionality, or fixed bugs, or something similar. It is in principle used for analysing code to remove dead code, to make the code more understandable, and modify the internal structure and design (maybe to make the code more elegant, as well as to follow some standard code processes and layouts).
Why do refactoring ? The process intends to make code easier to read and comprehend, and also to be able to make modifications to it. Given the amount of time that code remains in-use, and with the people handling the code not remaining constant, it is important that the code be easy to understand and maintain. Sometimes people take on the task of improving the code in order to fix defects or solve other design issues, but that is not refactoring.
A common method used within refactoring is to change the definition of variables, such as when a non-meaning variable such as 'j' is instead changed to actually be closer to the real use of the variable, say 'ItemWeight'. This makes it easier for somebody else to quickly read the code and comprehend. This however, has its own set of complications since the same variable may be used in many different parts of the application, and the person making the modification may need to study each usage before making the change.

Monday, March 23, 2009

Rapid Environment Editor

Rapid Environment Editor (RapidEE) is an environment variables editor. It includes easy to use GUI and replaces small and inconvenient Windows edit box. RapidEE 3.x supports Windows NT, 2000, XP & Vista. If you still use Windows 9x or ME, then use 2.x branch.

Editable tree
Show environment variables and values as an editable tree. Click the thumbnail to view the full size image

Multilanguage interface
RapidEE is translated into number of languages (English, Russian, Japanese, French, Polish, German, Italian, Latvian, Slovak, Greek, Spanish, Chinese), and the language can be changed on the fly.

Variable inspector
Inspector shows miscellaneous information about variables: name, type, value, short file name in the 8.3 naming convention for each long file name and vice versa.

More details and download at this link.

Tuesday, March 11, 2008

Making a batch file

Suppose you wanted a batch file to simply print the name of your computer. The command you would run would be the following:

echo %computername%

Here is how to make the above command a batch file:

1. Open Notepad (you can use any text editor, but I am going to assume Notepad).
2. Type/paste the commands you want to be in your batch file.
3. Select File > Save As.
4. In the dialog, browse to the location where you want to save the batch file.
5. Change the “Save as type” option to “All Files (*.*)” and then enter the file name ending with “.bat”, for example: MyComputerName.bat
6. Alternate to step 5, you can enter the file name “MyComputerName.bat” (including the quotes) and this will ignore the Save as type setting.
7. Click Save.