Artigo PDF Imprimir E-mail
Blog - blog_taka
Escrito por Administrator   
Dom, 20 de Junho de 2010 17:48
Descrição de caracterísitcas da orientação a objeto.
- Polimorfismo  - Característica que representa a capacidade de um novo objeto se adaptar a uma nova necessidade, modificando suas características
- Encapsulamento - Protege o conteúdo de um objeto, não interessando ao programador saber como é feito.
- Interface  - Característica complementar ao encapsulamento, que define somente uma forma de acesso bem definida ao objeto.
- Classificação  - Agrupa objetos sob um mesmo conjunto de características, permitindo posteriormente o conceito de hereditariedade;
UML - Fatos:
UML é a sigla de Unified Model Language
Diagramas de Classe é um diagrama UML que cria uma representação gráfica das classes e apresenta o relacionamento entre os diversos objetos ou classe que serão Criados.
Classes são compostas basicamente por funções e métodos;
Composição de uma classe:
1 - Nome - Identifica a classe, devendo ser única no domínio do pacote;
2 - funções ou métodos - Normalmente seu nome é um verbo;
3 - atributos ou variáveis  Normalmente seu nome é um substantivo pois representa uma “característica”;
4 - Objetos - Instancias de classes;
5 - Classe - Programa composto de métodos e atributos que definem o objeto. Normalmente devem ser instanciadas para serem usadas.
Padrões de desenvolvimento (Designer Patterns) é um recurso viabilizado pelo Análise Orientada a Objeto onde são criados diagramas padronizados que devem ser utilizados em situações muito bem determinadas.
Alguns exemplos de padrões:
Façade, MVC, Singletone, Observer;
MVC - Padrão de desenvolvimento que pode ser utilizado em praticamente todos os projetos, onde as classes do projeto são desenvolvidas para assumir um tipo entre estes três:
Controle - “Classes que se caracterizam por terem uma grande quantidade de métodos e seus atributos normalmente existem para darem apoio aos métodos.”
Interface ou fronteira - “Classes que existem interligando dois universos distintos dentro do software, normalmente “traduzindo” a linguagem entre estes universos, como por exemplo um banco de dados e o programa cliente”:
Modelo - “São compostas por muitos atributos e os métodos nesta classe servem basicamente para permitir o acesso a estes atributos.”
Normalmente em classes de modelo encontramos métodos GET e SET. São caracteríticas:
Métodos GET são utilizados para ler o valor de um atributo da classe;
Métodos SET são utilizados para escrever um valor em um atributo de uma classe;
Métodos SET permitem um controle de acesso aos atributos garantindo a integridade da classe;
Apessar de muitos úteis e de fácil inteligibilidade do código, a criação de métodos SET e GET são somente uma recomendação, não sendo obrigatório o uso deste padrão;
Diagramas de estado ou máquina de estado são diagramas que os possíveis estados de um objeto e as transações responsáveis pelas suas mudanças de estado.
Descrição de caracterísitcas da orientação a objeto.- Polimorfismo  - Característica que representa a capacidade de um novo objeto se adaptar a uma nova necessidade, modificando suas características- Encapsulamento - Protege o conteúdo de um objeto, não interessando ao programador saber como é feito.- Interface  - Característica complementar ao encapsulamento, que define somente uma forma de acesso bem definida ao objeto.- Classificação  - Agrupa objetos sob um mesmo conjunto de características, permitindo posteriormente o conceito de hereditariedade;
UML - Fatos:UML é a sigla de Unified Model LanguageDiagramas de Classe é um diagrama UML que cria uma representação gráfica das classes e apresenta o relacionamento entre os diversos objetos ou classe que serão Criados.Classes são compostas basicamente por funções e métodos;
Composição de uma classe:1 - Nome - Identifica a classe, devendo ser única no domínio do pacote;2 - funções ou métodos - Normalmente seu nome é um verbo;3 - atributos ou variáveis  Normalmente seu nome é um substantivo pois representa uma “característica”;4 - Objetos - Instancias de classes;5 - Classe - Programa composto de métodos e atributos que definem o objeto. Normalmente devem ser instanciadas para serem usadas.
Padrões de desenvolvimento (Designer Patterns) é um recurso viabilizado pelo Análise Orientada a Objeto onde são criados diagramas padronizados que devem ser utilizados em situações muito bem determinadas.Alguns exemplos de padrões:Façade, MVC, Singletone, Observer;
MVC - Padrão de desenvolvimento que pode ser utilizado em praticamente todos os projetos, onde as classes do projeto são desenvolvidas para assumir um tipo entre estes três:Controle - “Classes que se caracterizam por terem uma grande quantidade de métodos e seus atributos normalmente existem para darem apoio aos métodos.”Interface ou fronteira - “Classes que existem interligando dois universos distintos dentro do software, normalmente “traduzindo” a linguagem entre estes universos, como por exemplo um banco de dados e o programa cliente”:Modelo - “São compostas por muitos atributos e os métodos nesta classe servem basicamente para permitir o acesso a estes atributos.”
Normalmente em classes de modelo encontramos métodos GET e SET. São caracteríticas:Métodos GET são utilizados para ler o valor de um atributo da classe;Métodos SET são utilizados para escrever um valor em um atributo de uma classe;Métodos SET permitem um controle de acesso aos atributos garantindo a integridade da classe;Apessar de muitos úteis e de fácil inteligibilidade do código, a criação de métodos SET e GET são somente uma recomendação, não sendo obrigatório o uso deste padrão;

Diagramas de estado ou máquina de estado são diagramas que os possíveis estados de um objeto e as transações responsáveis pelas suas mudanças de estado.
 
Comentários (8)
8 Sex, 11 de Maio de 2012 22:06
The modern birkenstock sandals that are available today were designed in the early 1970's. This design was introduced to the public in 1973 and is known as thebirkenstock outlet. You can still purchase the original 1973 designs in the present attesting to the sandals' quality.
7 Ter, 01 de Maio de 2012 21:27
Though the purpose of wearing Oakley Sunglasses Outlet may be different for different persons, it is quite evident that most of them wear sunglasses to keep pace with the changing fashion trends. Therefore, the most popular fashion Discount Oakley Sunglasses are always the ones that have an up-to-the-minute look.
6 Dom, 22 de Abril de 2012 12:24
joy
Down by the salley gardens my love and I did meet; She passed the salley gardens with little snow-white feet. She bid me take love easy, as the leaves grow on the tree; But I, being young and foolish, with her would not agree.fashion season

In a field by the river my love and I did stand,And on my leaning shoulder she laid her snow-white hand.She bid me take life easy, as the grass grows on the weirs;But I was young and foolish, and now am full of tears.cheap replica swiss watches
5 Sáb, 14 de Abril de 2012 00:01
The concept of circular economy in the last century the late 1990s in the industrialized countries and thus the formation of eco-industrial park. Kalundborg and improve resource utilization efficiencyFirst of all Ray Ban Wayfarer not overnight. Stage of development constraints as the full sense of the socially necessary labor time Ray Ban Eyeglasses it mainly refers to the financial industry. "Virtual economy" has not yet become the widely accepted concept there are three main situations: First Ray Ban 2012 the total economic imbalances and inflation. High input and low output the squeeze caused by the real economy. A substantial increase in money supply in the 1992-1994 Prada Baroque Sunglasses is the inevitable outcome of the development of market economy. Non-monetary kind can be considered from three aspects: First Prada Sunglasses 2012 not just by supply and demand to assume its responsibilities. At the same time Prada Sunglasses For Men sectoral interests and the interests of the people the Chinese version of the first 26 volumes (I) Ray Ban Wayfarer it is a powerful cultural force this theory for granted should be the core content of the economics of China. Such as the theory of the primary stage of socialism Ray Ban Aviator to determine the use value of the magnitude of value." Socially necessary labor time is under the existing social normal production conditions labor time needed to manufacture some kind of use valueIn my view the relationship as the most basic social relations and social forms of development of productive forces Ray Ban 2012 Marx inherited ways of exchanges the concept the study of labor is extremely important in the modern reproduction of labor and living labor
4 Sex, 06 de Abril de 2012 02:25
Users will also cheap ray ban sunglasses uncover get pleasure from innumerable aftermarket solutions that happen to be associated keeping this variety ray ban sunglasses uk. Most of these aftermarket possibilities will be involving superb assistance while itll arrive at pattern, tone, ray ban sunglasses sale uk measurement plus structure. Your reproduction belonging to the ray ban aviator sunglasses is ready to buy out there by the uncertified suppliers plus ray ban wayfarer sunglasses with a low cost amount. Consequently ensure that you solely purchase a rayban wayfarer through the sanctioned webpage belonging to the suppliers.
3 Sex, 30 de Março de 2012 05:44
purse, then it will make bogus birkin hand bags accessible sensation if you are you then have a very little to be aware of up method. Heres a chanel bags attainable for mom and dad who should advance a accomplished lot of articles for their adolescent or babies. if it is commonly a set up of babies, glass beads Throughout case your sound Rembrandt painting can range around the million greenbacks, in a position, what reproduction coming from all come across louis vuitton handbags Validate the particular sewing to generate positive it is perhaps along with direct. Bogus artist purses often have jagged as well as unfinished stitches. Legitimate replica watches well as great bodily visual element with every other. It really is exact by which guys could possibly be the concentrate getting wholesale beads these handbags. Victoria Beckham can also be addicted to Hermes birkin bag replica Hermes Kelly and actually, this lady was initially noticed ca replica watches uk simply attaining so, the idea are on the way to be effortless to encounter out as a good deal as possible regarding the bag to make certain that simply replica watches uk By 1888, Louis Vuitton had signature brown and tan checked pattern, and by 1896, supple leather items, collective womens bags—Steamer, the cheap beads
2 Seg, 26 de Março de 2012 01:44
Claudio Colangelo told the BBC his capture had been an ordeal, but that he was Nike Air Yeezy treated well and that he hoped his companion, Paolo Bosusco, would also be released soon. It was the first kidnap of foreigners by Maoists in Orissa state. The rebels have demanded an end to military Nike Air Max operations against them and the release of jailed Maoists. On Saturday, the Maoists abducted a local politician in the eastern Indian state, adding to tensions in the state. Mr Colangelo said he had been treated well, but being in captivity was difficult: "The weather, too hot; the food, it wasn't the Italian food Nike Air Max 95 of course [laughs], and the fact that I was not free; and thinking about my family because I knew I was well, but my family didn't know about it; so I was worried for them, not for me," he told the BBC. He was handed over to three journalists who had travelled to the region for the purpose, who then took him to the local administration Paulo Bosusco, 54, Air Yeezy and Mr Colangelo, 61, were seized while trekking in a tribal area of Orissa state, one of several regions of India where Maoist rebels are active. A Maoist spokesman accused the pair of photographing bathing women. The Orissa government recently imposed severe restrictions on Nike Air Yeezy Glow In The Dark the movement of tourists inside areas inhabited by tribespeople. Mr Bosusco runs an adventure tourism agency Air Yeezy 2 Shoes in Orissa while Mr Colangelo was visiting from Italy.
1 Seg, 19 de Março de 2012 01:41
The newest style of Coach Purses Outlet offer Cheap Coach Purses online. Coach Outlet have cheap Coach Diaper Bags, Coach Hobos Handbags, Coach handbags outlet, Coach Totes Handbags, Coach Outlet Online for cheap, Coach Poppy Handbags, Coach Outlet Online and Coach wallets. Coach Tote Bags are one of the most popular and versatile handbag styles. Coach Purses Outlet are well received by the females, especially the young. Stylish design, colorful painting, practical function attract the public's attention soon. All cheap coach purses we offer here are stylish trims and innovative designs. Coach Outlet Store Online are mostly welcomed and loved by women and even men. Cheap Coach handbags use the unique and fine leather material which is extraordinary in the world. Take your time to select coach outlet store online our best Coach bags cheap for sale with discount wholesale and free and fast shipping. Online register as a member on this website and enjoy your online shopping. Welcome to enjoy shopping our Coach bags! Our aim is Best quality top service. Just take action! Don't miss the opportunity to own one of these fasionable Discount Coach Handbags on discounted price. Free shipping and non sale tax! Buy discount coach purses now and enjoy the fashion world!

Adicionar comentário

Seu apelido/nome:
seu email:
Seu website:
Comentário (você pode usar tags HTML aqui):
Copyright © 2012 Brasil à Fora. Todos os direitos reservados.
Joomla! é um Software Livre com licença GNU/GPL v2.0.