Programação com Objectos: Difference between revisions
From Wiki**3
No edit summary |
|||
Line 9: | Line 9: | ||
* [[Tópicos sobre Programação com Objectos]] (teoria e prática) | * [[Tópicos sobre Programação com Objectos]] (teoria e prática) | ||
* [[Unit Testing with JUnit|Tópicos sobre escrita de testes com JUnit]] | * [[Unit Testing with JUnit|Tópicos sobre escrita de testes com JUnit]] | ||
== Aplicação Bancária (exemplo de projecto) == | |||
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-bank-core-201109251634.tar.bz2|po-bank-core-201109251634.tar.bz2]] - Core functionality, a.k.a. '''bank-core''' | |||
* [[Media:po-bank-support-201109251634.tar.bz2|po-bank-support-201109251634.tar.bz2]] - Support code (labels, messages, user interface exceptions), a.k.a. '''bank-support''' | |||
* [[Media:po-bank-textui-201109251634.tar.bz2|po-bank-textui-201109251634.tar.bz2]] - Text-based user interface, a.k.a., '''bank-textui''' | |||
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: | |||
* [[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!) | |||
== Exercícios e Problemas == | == Exercícios e Problemas == | ||
Line 53: | Line 66: | ||
== Desenvolvimento em Java == | == Desenvolvimento em Java == | ||
The Java version in use is 1.7. However any version from 1.5 should be appropriate. | The Java version in use is 1.7. However any version from 1.5 should be appropriate. |
Revision as of 09:01, 19 September 2012
Tópicos Teóricos e Práticos
Teoria e Análise de Exemplos
- Tópicos sobre Programação com Objectos (teoria e prática)
- Tópicos sobre escrita de testes com JUnit
Aplicação Bancária (exemplo de projecto)
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):
- po-uilib-201109251634.tar.bz2 - Base interaction package, a.k.a. po-uilib
- po-bank-core-201109251634.tar.bz2 - Core functionality, a.k.a. bank-core
- po-bank-support-201109251634.tar.bz2 - Support code (labels, messages, user interface exceptions), a.k.a. bank-support
- po-bank-textui-201109251634.tar.bz2 - Text-based user interface, a.k.a., bank-textui
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:
- 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!)
Exercícios e Problemas
Testes de avaliação (por data):
Ambientes de Desenvolvimento
CVS Crash Course
Máquinas Virtuais para Desenvolvimento
Está disponível uma máquina virtual, koops:
- https://www.l2f.inesc-id.pt/~david/ist/docencia/po/vm/
- http://susegallery.com/a/tuLZgC/koops32 (arquitectura de 32 bits)
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.
Linguagens de Programação
Desenvolvimento em Java
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:
- Java Platform, Standard Edition 5 API Specification
- Java Platform, Standard Edition 6 API Specification
- Java Platform, Standard Edition 7 API Specification
Desenvolvimento em C++
Information about C++ and the C++ STL can be found in the following sites:
- Manual de Referência para C++ (biblioteca) STL (contentores) STL (algoritmos)
- Manual de Referência para C/C++
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).