Documente Academic
Documente Profesional
Documente Cultură
Medii Vizuale de Dezvoltare Bazate Pe PR PDF
Medii Vizuale de Dezvoltare Bazate Pe PR PDF
3/2012
Elementele Sims ™ transforma personajele The Sims™ assets transform the more
și animațiile mai rudimentare din Alice 2.0 rudimentary characters and animations of
într-un conținut mai sofisticat pe care Alice 2.0 into sophisticated content that
fiecare jucător joc il poate recunoaște. every game player can recognize.
Alice este orientat pe obiecte, un sistem Alice is an object-oriented, open source
open source dezvoltat în ultimul deceniu și system developed over the last decade and
a fost oferit gratuit profesorilor și provided free to educators and students by
studentilor de către Carnegie Mellon Carnegie Mellon University. It features a
University. Alice dispune de o interfata drag-and-drop interface that allows
drag-and-drop, care permite studentilor să students to create 3D environments and
creeze medii 3D și sa le populeze cu o populate them with a wide variety of easy-
mare varietate de obiecte și caractere ușor to-program objects and characters.
de programat. Greenfoot is an interactive Java
Greenfoot este un mediu interactiv de development environment designed
dezvoltare Java, proiectat în principal primarily for educational purposes at the
pentru scopuri educaționale la nivel de high school and undergraduate level. It
liceu si universitar. Acesta permite allows easy development of two-
dezvoltarea usoara a aplicatiilor grafice dimensional graphical applications, such as
bidimensionale, cum ar fi simulări și jocuri simulations and interactive games.
interactive. Greenfoot is being developed and
Greenfoot este dezvoltat de catre maintained at the University of Kent and
Universitatea din Kent și La Trobe La Trobe University, with support from
University, cu sprijin din partea Oracle. Oracle. It is free software, released under
Acesta este un software gratuit, lansat sub the GPL license. Greenfoot is available for
licenta GPL. Greenfoot este disponibil Microsoft Windows, Mac OS X, Linux,
pentru Microsoft Windows, Mac OS X, Sun Solaris, and any recent JVM
Linux, Sun Solaris, precum și orice recente
JVM VISUAL DEVELOPMENT
ENVIRONMENTS – GREENFOOT
MEDII DE DEZVOLTARE AND ALICE 3
VIZUALA – GREENFOOT AND
ALICE 3 Java is a programming language
and computing platform first released by
Java este un limbaj de programare Sun Microsystems in 1995. It is the
si prima platforma de calcul lansata de Sun underlying technology that powers state-
Microsystems în 1995. Aceasta este of-the-art programs including utilities,
tehnologia de baza pentru progamele stat- games, and business applications. Java
of-the-art, incluzand utilități, jocuri și runs on more than 850 million personal
aplicații de afaceri. Java ruleaza pe mai computers worldwide, and on billions of
mult de 850 de milioane de computere devices worldwide, including mobile and
personale la nivel mondial, precum și cu TV devices.
miliarde de dispozitive mobile din întreaga There are lots of applications and
lume, inclusiv și dispozitive TV. websites that won't work unless you have
Există o mulțime de aplicații și site- Java installed, and more are created every
uri care nu vor funcționa dacă nu aveți day. Java is fast, secure, and reliable. From
instalat Java, și mai sunt create altele în laptops to datacenters, game consoles to
fiecare zi. Java este rapid, sigur și fiabil. scientific supercomputers, cell phones to
De la laptop-uri la centre de date, console the Internet, Java is everywhere!
de jocuri la supercalculatoare stiintifice,
telefoane mobile la Internet, Java este
peste tot!
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
152
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
Sintaxa limbajului derivă mare parte din The language derives much of its syntax
sintaxa C și C + +, dar are mai puține from C and C++, but has fewer low-level
facilități de nivel scăzut decât oricare facilities than either of them. Java
dintre ele. Aplicațiile Java sunt, de obicei applications are typically compiled to byte
compilate în cod octet (fișier de clasă), code (class file) that can run on any Java
care poate rula pe orice Java Virtual Virtual Machine (JVM) regardless of
Machine (JVM), indiferent de arhitectura computer architecture. Java is a general-
calculatorului. Java este cu scop general, purpose, concurrent, class-based, object-
concurent, pe bază de clase, limbaj oriented language that is specifically
orientat-obiect, care este special conceput designed to have as few implementation
pentru a avea putine dependențe de punere dependencies as possible. It is intended to
în aplicare. Acesta este destinat pentru a let application developers "write once, run
permite dezvoltatorilor de aplicații " write anywhere" (WORA), meaning that code
once, run anywhere " (WORA), ceea ce that runs on one platform does not need to
înseamnă că un cod care ruleaza pe o be recompiled to run on another. Java is as
platforma nu trebuie să fie recompilat of 2012 one of the most popular
pentru a rula pe o alta platforma. Java este programming languages in use,
din 2012 unul dintre cele mai populare particularly for client-server web
limbaje de programare utilizat, în special applications, with a reported 10 million
pentru aplicații web client-server, cu 10 users.
milioane de utilizatori. We will present you two of the most
Va vom prezenta două dintre cele mai popular Java tools: Alice 3 and Greenfoot.
populare instrumente Java: Alice 3 și Both of them are used to create animation.
Greenfoot. Ambele dintre ele sunt folosite Alice 3 is used to create animations with
pentru a crea animație. Alice 3 este folosit 3D objects that move and act. Greenfoot is
pentru a crea animații 3D cu obiecte care used for creating interactive games that
se mișcă și acționează. Greenfoot este involve human interactions, decisions, and
utilizat pentru crearea de jocuri interactive, actions. but with 2D objects. Both Alice
care implică interacțiuni umane, decizii și and Greenfoot are very useful tools for
acțiuni, dar cu obiecte 2D. Atât Alice si learning Java.
Greenfoot sunt instrumente foarte utile Why Learn Alice 3?
pentru a învăța Java. Alice 3 offers a good introduction to
De ce sa studiem Alice 3? learning how to program for many reasons:
Alice 3 ofera o buna introducere pentru 1. It uses natural English language words
invatarea elementelor de programare like “move forward” or “turn left”
pentru mai multe motive: rather than obscure programming
1. Foloseste cuvinte din limba engleza syntax.
mai usor de folosit decat o sintaxa de 2. The programmer drag and drop
programare obscura. objects on the screen and press “Run”
2. Programatorul trage si plaseaza to run your animation rather than
obiectele pe ecran, apoi apasa “Run” using the keyboard to type.
pentru a fi executata animatia. 3. When the programmer makes a
3. Atunci cand programatorul face o mistake in Alice 3, it is usually
greseala in Alice 3, de obicei este obvious how to fix the mistake. In
foarte simplu sa o resolve. În limbajele programming languages it is often
de programare, este de multe ori dificil difficult to interpret error messages.
de a interpreta mesaje de eroare. 4. Alice 3 allows you to learn
4. Alice 3 permite învațare de concepte fundamental programming concepts in
fundamentale de programare, în the context of creating animated
contextul crearii de filme animate și movies and simple video games.
jocuri video simple.
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
153
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
154
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
Alice 3 Java
Limbaj de programare; pot fi efectuate
editari folosind un mediu de dezvoltare
Mediu de programare 3D integrat (IDE).
Drag and drop coding reduces syntax Object oriented language reduces
errors complexity because objects model real
world objects, allow for re-use and easier
maintenance.
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
155
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
Spre deosebire de Alice, care presupune Unlike Alice that means very much visual
foarte multa programare vizuala, programming, Greenfoot means mostly
Greenfoot inseamna mai mult scrierea de writing code in Java. The main tool for
cod Java. Principalul instrument de programming in Greenfoot is the code
programare in Greenfoot este editorul de editor. The code editor displays the source
cod (code editor). Editorul de cod afiseaza code for the class. The source code of a
codul sursa pentru clasa. Codul sursa al class is the code that specifies all of the
clasei specifica toate proprietatile si properties and characteristics of that class
caracteristicile clasei si ale obiectelor sale. and its objects. The programmer can
Programatorul poate cere obiectelor din command the objects in his scenario to
scenario sa efectueze actiuni sau sa perform tasks or answer questions by
raspunda unor cerinte prin scrierea de cod writing source code, or syntax, in the Java
sursa in limbajul de programare Java. Cand programming language. When selecting
selectam “Open Editor” din meniul clasei the Open Editor from the class's menu to
putem vedea fereastra de editare care see the editor window that contains the
contine codul sursa al clasei. Codul sursa class's source code. The source code
afiseaza ce actiuni pot realiza obiectele displayed defines what the objects of the
clasei) class can do.
In editorul de cod, programatorul poate sa In the code editor, the programmer can:
realizeze urmatoarele: • Write source code to tell instances of the
• Sa scrie cod sursa pentru a preciza cum class how to act
vor actiona instantele clasei • Review a class's inherited methods and
• Sa revizuiasca metodele si proprietatile properties, to understand what actions the
mostenite de clasa, sa inteleaga ce actiuni instances are capable of taking
pot fi efectuate de catre instante • Review methods created specifically for
• Sa revizuiasca metodele create special the class by the programmer who wrote the
pentru clasa de catre programatorul care a source code
scris codul sursa • Modify existing source code to change an
• Sa modifice codul sursa existent pentru a instance's behavior
modifica comportamentul unei instante
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
156
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
158
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
which a test engineer will determine if a construi și sprijini un model mental care
software program is working correctly reprezintă intr-un mod corect sistemele
4. Environment setup - Set up hardware moderne de programare orientate pe
and software environment obiect.
4. Configurarea mediului – Configurarea 5. Test execution - is defined as the
mediului hardware si software execution of the same test against many
5. Executarea testului – se defineste ca parts of a software program (interface,
executarea aceluiasi test pe mai multe parti business logic, web layer, etc.)
de program 6. Test cycle closure - is a set of defined
6. Testare cyclului de inchidere closure - start and stop points in a quality assurance
este un set de puncte de start și puncte program.
pentru verificarea calității programului. The users can find a description of all Java
Utilizatorii pot gasi descrierea tuturor methods in the on-line Java API.
metodelor Java in on-line Java API. Understanding how to navigate this vast
Intelegerea navigarii in aceasta vasta library of standard methods and classes
biblioteca de metode si clase standard va will aid you in writing Java programs and
ajuta in scrierea programelor Java sis a reusing many code blocks that have
reutilizati multe blocuri de cod care au fost already been created by others. Using a
deja create de altii. Aici puteti gasi Editia browser search engine search for the
Standard pentru Java 6: keywords “Java API.” You will find your
http://docs.oracle.com/javase/6/docs/api/ way to several editions. Here is the
Standard Edition for Java 6:
CONCLUZIE http://docs.oracle.com/javase/6/docs/api/
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
160