Thursday 22 February 2007

FAQs on Software Patterns (Blog 2)

1- Software patterns! Never heared of it, What are these?

Ans: Solution of the problems that occur during the development life cycle of any software with in the context is called Software Patterns.

2- Do patterns support software engineering?

Ans: In terms of reusing the solution of a particular problem of software architecture is supported by patterns which help in the development of the software.

3- What is the use of patterns in software engineering?

Ans: Patters are solutions to a problem in a context. In order to make the software work efficiently in terms of performance and making the software in such a way that can be reused, it is therefore useful to use patterns while developing the software.


4- Is it worth using Patterns during software development?

Ans: Using patterns during the software development could in a very good result. The solution of problems is dealt in an efficient way so that time is not wasted! Getting experience from the problems faced earlier can help in reoccurring problems.

5- How patterns benefit the developers?

Ans: Generally if we talk about patterns even in real life pattern plays a vital role in any kind of problem which is occurring. It allows us to apply proper phenomena to solve the problem which we are facing while doing anything.

6-Is there any way that patterns give more than one solution to a problem?

I don’t think so that giving alternatives solution to the problem would be a good option. Its better not to mention more than one solution to the problem. Each solution should be linked to the situation in which it best applies accordingly.
Thanks for reading,Please comment.

Patterns (Blog 1)

After doing research on Patterns,I have come to the point that Patters are solutions to a problem in a context. In order to make the software work efficiently in terms of performance and making the software in such a way that can be reused, it is therefore useful to use patterns while developing the software.

The main aim of patterns within the software linked people is to build a body to help software developers to solve the problems which are occurring concurrently during the software development. Patterns help us in creating a gateway which can communicate insight and get experience from the problems and their solution
In more simple words I would say the pattern is a thing which occurs in the world and tells us the rule how to create that thing and where there is a need to create it.
I found a very good quote by Albert Einstein which is a single line only but explains every thing about patterns. I would like to share it with every one

"Example isn't another way to teach; it's the only way"

Example:

One of the simplest understandable real world examples of Pattern is a student who is giving an exam in college. The duration of the exam is one hour in which he/she has to attempt two questions out of three. Student knew the answer of the questions which were asked in the question paper but due to slow handwriting and understanding the questions couldn’t able to complete the two questions and wasted time. Therefore, he/she did attempt the exam but couldn’t finish it on time.
Problem: How to answer the questions on time?


Solution: Practice of writing fast before the exam should be done so that all the questions can be answered.
Understanding the questions instead of getting confused.

Context: Attempting exams properly within the time allocated in future so that the same problem doesn’t appear again.
Thanks for reading,Please comment.
Reference
Quote by Albert Einstein taken from URL