Thursday, 29 March 2007

SOFTWARE PATTERNS.

Software pattern: according to my understanding, software patterns is the same as patterns. Pattern as a general repetation solution to occuring problem.The only different there is just the software that is added to the pattern, so because of that i will define software pattern as overall solution to occuring problem in the software industry.
The introduction of software pattern is good in the industry because it bring about the introduction of alot of thing that are missing in the industry. some of the things that software pattern bring to the industries
1. avoid repeatation
2. no time wastage
3. comparism
4. pattern allows you to edit

with all of this, software pattern as make alot of thing that are impossible-possible.

Thursday, 8 March 2007

COURSE WORK CRITICISM.

Overall, i think the course work is good and challenging. when i first got the course work, the first thing that come to my mind after going throught what we are suppose to do is programming and UML diagram which am not good in.
To start with question 1 UML diagram, its alrite to have it in the course work but when you dont know what to do them its becomes a problem. i have been trying o do alot of reading regarding the class diagram and other related UML diagram that i need to know o get the work done.
Question 2 code (programming), i have never been a good fan of programming since i started mt IT career and one thing i noticed is that you can do without it. i have stated learning some of the code i will nedd for the course work.
Question 3 Abstract factory, i think i should be alrite with abstarct factory because i have done a lot of research on that i have i done alot of work on it as well, so am okay with the question 3.
Question 4 Anti patterns, i love this part of the question because i like going against thing and bring out the mistake made my people. the only thing that make that question difficult is the quote in the sentence, i dont understand it.
Question 5 BLOG, blog is good and easy, that is if you get them posted on time.
overall nice course and challenged.

Thursday, 1 March 2007

CRITISIZE GANG OF FOUR ELEMENT OF PATTERN AND THE PREFER ONE THAT YOU LIKE.WEEK 3

The lecture today was fun because we discuss about a good topic they everyone in the class as been waiting for. we were given chance to criticize gang of four element of pattern and choose the one we are comfortable with.

CRITISIZE GANG OF FOUR ELEMENT OF PATTERN AND THE PREFER ONE THAT YOU LIKE.

According to all reading and all the research I have done, I believe pattern should be some thing sample not complex. The reason why I concluded that this should be done that way is because the people using this pattern are not all expert.
Gangs of four element of pattern are too complex for new learner in pattern, so I will not like to implement gang of four elements of patterns. But I will like some of the element should be taking out of it because they are repeated.
The following are gang of four element of pattern.

Name that describes the pattern
Problem to be solved by the pattern
Context, or settings, in which the problem occurs
Forces that could influence the problem or its solution
Solution proposed to the problem
Context for the solution
Rationale behind the solution (examples and stories of past successes or failures often go here)
Known uses and related patterns
Author and date information
References and keywords used or searching
Sample code related to the solution, if it helps


Name: YES. Name of the pattern is good to be there.
Problem: YES. Problem is another area which needs to be included.
Context: YES. Context is important because that is what describes what the real problem is so it’s cool to be there.
Force: NO. Force is one of the elements which I don’t like to be among the element of the GOF element of pattern.
Solution: YES. When there is a problem, there is always a solution.
Context: NO. Is already there, there is no case for repetitions.
Rationale behind the solution. NO. This is a repetition as well, so to me I think it’s not advisable to include that to it.
Known uses: YES. Is always good for some one to find out the knows user of the pattern before doing it.

After going through other Arthur element of pattern (Alexander c, GOF, copper j w) I think the Alexander way of element of pattern is the best because it good for new use, it’s straight forward and can be easy easily manipulated.
But still I want some thing to be added to the Alexander element of design e.g. name of the pattern. He’s way of pattern can be used in any environment and all part of life.