Monday 12 March 2007

Critisizing the coursework

I was very glad to visit my parents but on the other hand, I was stressed because I missed an important part of my lectures in terms of Jane Chandler’s visit to St. Patrick’s International College, London, who is a Unit Co-ordinator of Designing Patterns at the Portsmouth University.

The session heated up by all the relevant questions and answers with regards to the coursework was an interesting and knowledgeable part of this particular module. I am lucky to have such helping class fellows who updated about it. Besides, I had some difficulties to understand bits of it that were cleared by the help of Dr. Sri.

Task 1:
In it, we have to make UML diagram which almost sound like what we have done at HND level. It’s not easy. It needs brainstorming and good research techniques to complete it.

Task 2:
It is programming based. A good programming knowledge may lead to its completion.

Task 3:
It is about completing an incomplete blog out of the Temporal Patterns. As of yet, I am not too sure to adopt one particular preserving technique in order to begin with this task but in a very near future I will be deciding on to select one in order to proceed forward.

Task 4:
It’s view is not the one I support. I am in favour of patterns. In my view, life is based of some routine patterns that we don’t consider at all the time but if we look at it closely, we will realize, its all about their integration in different ways within several contexts.

Task 5:
It is a fun part. I enjoy doing it more than I enjoyed when I came to know about it. I am registered with few forums where there is a constant exchange of information. For e.g., in one of the forums, we swap knowledge about daily problems and troubleshooting techniques faced while using PCs.

Research a Pattern

Research on a Pattern:
I have researched and managed to find out about a pattern that is completed in a different preserving method. Yahoo has invented their own designing patterns catalogue. One of them is described under:

Tool Tip Invitation [1]:
This kind of pattern comes under the category of invitation in its design pattern catalogue.

Problem Summary:
Designer needs to cue the user about what will happen if they click the mouse on the hovered object.

Use When:
• You want to invite the user to click or interact with the object being hovered over.
• You want to make it clear that something will happen when the user clicks on the object being hovered over.
• The user is interacting directly with the object (e.g., inline editing).
• You need a textual description to make it explicit what will happen when the user interacts with the object.
• You want to entice the user to interact with the feature.

Solution:
• Provide a tool tip when the mouse is over the target area that calls the user to action.
• Show the tooltip within a very short amount of time (< .25 second) or immediately when the mouse hovers over the interaction area. • Keep the tooltip visible the whole time the user has the mouse over the interaction area. • Remove the tooltip when the mouse leaves the interaction area.

• Provide a short phrase that calls the user to action. • Use verbal phrases like 'Click to Edit'.

Reference:
[1] http://developer.yahoo.com/ypatterns/pattern.php?pattern=tooltipinvitation

Thursday 8 March 2007

FAQ

What is patterns and anti-patterns?
Patterns:
A pattern is a named piece of instructive information that captures the essential structure and insight of a successful family of proven solutions to a recurring problem that arises within a certain context and system of forces [1].

Anti-Patterns:
If a pattern represents a "best practice", then an anti-pattern represents a "lesson learned." Initially proposed by Andrew Koenig in the November 1995 C++ Report, there are two notions of "anti-patterns" [1].

Those that describe a bad solution to a problem which resulted in a bad situation. Those that describe how to get out of a bad situation and how to proceed from there to a good solution [1].

What are software patterns?
Software patterns development is one of the hot topics to flash out from the object oriented community. Popular form of software engineering problem solving discipline that has its roots in a design movement of the same name in contemporary architecture. Fundamental to any science or engineering rule is a common language for expressing its idea and language for attach them together. The role of patterns within the software community it to create a body of literature to help software developers resolve persistent problems encountered throughout all of software development [1].

How patterns helps software engineer?
The role of patterns within the software community it to create a body of literature to help software developers resolve persistent problems encountered throughout all of software development. Pattern shares the solution of various problem to help them. Properly codifying these solutions and their relationships lets us successfully capture the body of knowledge which defines our understanding of good architectures that meet the goal of their users [1].

What are kind of design patterns?
According to GOF there are few kinds of design patterns which are as follow:

Architectural patterns:
An architectural pattern expresses a fundamental structural organization or schema for software systems. It provides a set of predefined subsystems, specifies their responsibilities, and includes rules and guidelines for organizing the relationships between them [1].

Design Patterns:
A design pattern provides a scheme for refining the subsystems or components of a software system, or the relationships between them. It describes commonly recurring structure of communicating components that solves a general design problem within a particular context [1].

Idioms:
An idiom is a low-level pattern specific to a programming language. An idiom describes how to implement particular aspects of components or the relationships between them using the features of the given language [1].

Conceptual patterns:
A conceptual pattern is a pattern whose form is described by means of terms and concepts from an application domain [1].

Programming patterns:
A programming pattern is a pattern whose form is described by means of programming language constructs [1].

What are the qualities of pattern?
Encapsulation and Abstraction:
Each pattern encapsulates a well-defined problem and its solution in a picky domain. Patterns should provide crisp, clear limits that help come together the problem space and the solution space by parceling them into a network of distinct, interconnected fragments [1].

Openess and Variability:
Each pattern should be open for expansion or parameterization by other patterns so that they may work together to solve a larger problem [1].

Equilibrium:
Each pattern must realize some kind of balance among its forces and constraints. This may be due to one or more invariants or heuristics that are used to minimize conflict within the solution space. The invariants often typify an underlying problem solving principle or philosophy for the particular domain, and provide a rationale for each step/rule in the pattern [1].

Reference:
[1] http://www.cmcrossroads.com/bradapp/docs/patterns-intro.html#KindsOfPatterns

Patterns

What does a pattern mean to me?
According to answers.com pattern is a shape, prosier, model or idea (or, more theoretically, a set of rules) which can be used to make things or type of a thing, especially if the things that are generated have enough in common for the basic pattern to be indirect or discerned, in which case the things are said to exhibit the patterns [1].

What I personally think about patterns is way to understand some problem and then search for solution but there is no guaranty that patterns you using might goes successful or failed.

Name:
Get your self confidence back.

Problem:
How can a person who used to drive before but after a big accident loses his self confidence that he can be on the wheels again, so can he get his self confidence back?

Context:
Million of drivers out there on road the stop fellow the complete rules of traffic after clear there license test. They think of their self rally racer and start driving very fast and wrong way and then they end up with some accident in which they lose there life or the other persons life which is very hard for some to accept that he kill some one which for his foolish fun. That the time when some sort of scariness get in to that persons heart.

Solution:
There is many way to solve one problem which applies and get the same results:

1. He should start taking the driving classes again this way he can kill the scariness which is in side of him.
2. He should start going out with his family and friends who give him nice ideas and back him up to get over it.
3. He should go online and register himself with some form where he face or chat with some people who having the same problems so he can post his problem and get some comments on it.
4. The best way he should kill the scariness in side of him and start facing the real life that after every sunset there is new run rise.

Reference:
[1] http://www.answers.com/what%20is%20patterns%3F