Difference between revisions of "Programação com Objectos"

From Wiki**3

(Máquinas Virtuais para Desenvolvimento)
(Desenvolvimento em Java)
Line 53: Line 53:
 
== Desenvolvimento em Java ==
 
== Desenvolvimento em Java ==
  
Aplicação exemplo (aplicação bancária em Java) para apoio à construção do projecto (these are the 2011/2012 editions):
+
Aplicação exemplo (aplicação bancária em Java) para apoio à construção do projecto (these are the 2011/2012 editions but are also valid for 2012/2013):
 
* [[Media:po-uilib-201109251634.tar.bz2|po-uilib-201109251634.tar.bz2]] - Base interaction package, a.k.a. '''po-uilib'''
 
* [[Media:po-uilib-201109251634.tar.bz2|po-uilib-201109251634.tar.bz2]] - Base interaction package, a.k.a. '''po-uilib'''
 
* [[Media:po-bank-core-201109251634.tar.bz2|po-bank-core-201109251634.tar.bz2]] - Core functionality, a.k.a. '''bank-core'''
 
* [[Media:po-bank-core-201109251634.tar.bz2|po-bank-core-201109251634.tar.bz2]] - Core functionality, a.k.a. '''bank-core'''
Line 61: Line 61:
 
Each package includes a makefile to compile and build the corresponding JAR archive. Note that the makefiles assume that all JAR dependencies reside in /usr/share/java (linux installation -- other environments may, and indeed should work, but are not covered in this text).
 
Each package includes a makefile to compile and build the corresponding JAR archive. Note that the makefiles assume that all JAR dependencies reside in /usr/share/java (linux installation -- other environments may, and indeed should work, but are not covered in this text).
  
You may want to read the the quick and dirty guide (use at your risk!):
+
You may want to read this quick and dirty guide:
* [[Quick-and-Dirty Guide to Transforming the Bank Application into your Very Own Project]]
+
* [[Quick-and-Dirty Guide to Transforming the Bank Application into your Very Own Project]] (this guide is outdated and is provided only as a general guideline and example of how to start development from existing code: use at your own risk!)
 +
 
 +
The Java version in use is 1.7. However any version from 1.5 should be appropriate.
  
 
Information about the [http://java.sun.com/ Java] API can be found in the following sites:
 
Information about the [http://java.sun.com/ Java] API can be found in the following sites:

Revision as of 16:14, 10 September 2012

Programação com Objectos
Introduction
Creation and Destruction
Inheritance & Composition
Abstraction & Polymorphism
Code Organization
Java Topics
Inner Classes
Enumerations
Data Structures
Exceptions
Input/Output
RTTI
Other Topics
JUnit Tests
UML Topics
Design Patterns
"Simple" Factory
Composite & Visitor
Command
Strategy & State
Template Method
Observer
Abstract Factory
Decorator & Adapter
Façade (aka Facade)

Tópicos Teóricos e Práticos

Teoria e Análise de Exemplos

Exercícios e Problemas

Ambientes de Desenvolvimento e Linguagens de Programação

CVS Crash Course

Máquinas Virtuais para Desenvolvimento

Está disponível uma máquina virtual, koops:

Dados de acesso à máquina:

  • Username: oops
  • Password: linux

Esta máquina já contém o ambiente necessário ao desenvolvimento do projecto, incluindo o material de apoio definido em cada ano lectivo.

Esta máquina define ainda o ambiente de avaliação oficial.

Desenvolvimento em Java

Aplicação exemplo (aplicação bancária em Java) para apoio à construção do projecto (these are the 2011/2012 editions but are also valid for 2012/2013):

Each package includes a makefile to compile and build the corresponding JAR archive. Note that the makefiles assume that all JAR dependencies reside in /usr/share/java (linux installation -- other environments may, and indeed should work, but are not covered in this text).

You may want to read this quick and dirty guide:

The Java version in use is 1.7. However any version from 1.5 should be appropriate.

Information about the Java API can be found in the following sites:

Desenvolvimento em C++

Information about C++ and the C++ STL can be found in the following sites:

Desenvolvimento em PHP

PHP is syntactically similar to both Java and C++ and shares many of the features present in these languages. However, variables in PHP is usually untyped (implying dynamic binding).