473,612 Members | 2,321 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A Special Sort Of Software Design Pattern

4 New Member
For a programmer that has several years experience alway know some of Software Design Patterns. e.g. Singleton,Proto type,Facade,Dec orator etc. So great we have so many kinds of methods that can solve many huge of problem that is occurred in ours’ code of Business Application. Those are may large involve in code level methodology. Those kinds of Software Design Pattern is hard to handle if you haven’t actually implemented in your problem. I will introduce another kinds of ones that are easy to learning and using.

In my mind that every things in software industry can be called Design Pattern or it’s a another trick way of writing if those can reduce repetitive work. So apart from standard design pattern many companies have their own Design Patterns. Maybe they have another statements. The notion isn’t important, whether can be useful is the key point.

From some time past I has been found some methodology is very useful and important.
  1. Need to product some documents and UI prototype to deliver to programmer after finished requirement analysis. No matter how short of time to deal with your project, or using Agile development, you alway need to product those kinds of documents. but the document isn’t need too big or high quality.
  2. Writing down haven’t understood question list, and clarify it as soon as possible. You can make some comment the question which it had clarified one by one. It very clear which one you haven’t finished. also it’s a aid and facilitate you to understand the whole skeleton of Business Requirement.
  3. The programmer need to product a document that describe how to implement those Business Requirement using some software technology. It’s used to calling Detail Design. But that is produced by programmer themselves, and it’s not need to view by others.It’s unnecessary to write more detail if there is not enough time, but need to cover all of functions that may be just only use several words to comment. This document may records all of changes of Business Requirement.
    So you can review this document frequently after deep mind in some of code implements. In my experience so many programmers need to spent more time to reminisce those things and many of them may loss some of functions after coding, or they run around to get those original missing functions.
  4. Writing unit test. Need to writing meaningful parameters those will help you debug your functions quickly. You just only view that Green Bar can know all of your functions. After a long time if you want to test your functions to fix problem, just only need to change several parameters. The unit test code is prefect codes and an another kind of document to improve your performance.
  5. Writing log as much as possible. Yes so many log output will effect performance of your program, so your avoid to writing all of things into log, especially whole xml file or using toString() to print all POJO variables or big chunk of parameters. We can use some personalized mini description content to instead.
  6. Remember some of short-cut key of your IDE. In this move forward high speed world, deep dive in your IDE maybe nonsense, no one know when your gun will be discarded by this world and when a advance one will emerge. So we just better to controller the 20% key skills that can solve 80% of real problems. But remember some short-cut key is a big investment for your work output.
  7. Closing some need’t computer hardware functions. e.g touchPad, Some kinds of computer’s touchPad is difficult to control, that focus will change to an unknown place if you careless to touch it, but those kind of things alway happen when you coding, you need to reedit your thing repeatedly.

Those special sort of software design pattern are too simple, but is very useful to ours’ action. As our experience increases, we will find some ways that can be reuse to reduce repetitive work, that maybe just suit to you or your company or is suit to all software industry. Too summary those things that can reduce your workload is also a Design Pattern.
Aug 13 '17 #1
0 3172

Sign in to post your reply or Sign up for a free account.

Similar topics

3
3140
by: Omer van Kloeten | last post by:
The Top Level Design: The class Base is a factory class with a twist. It uses the Assembly/Type classes to extract all types that inherit from it and add them to the list of types that inherit from it. During run time, using a static method, the class creates an instance of the derived class using the Activator class and returns it. This design pattern is very similar to the design pattern applied by the Assembly class. The twist is...
2
480
by: Chris F Clark | last post by:
1) I would really like to ask this on comp.lang.c#, but no such group exists. However, perhaps someone in one of the above two groups will know the answer and help me out. In my product, I use a variation of a design pattern called "generation gap". In particular, there is library code that knows about certain classes that are user customized and generated with those customizations on behalf of the user. This is done via "opaque"...
4
2521
by: max | last post by:
Hello, I analyze this design pattern for a long time but I do not understand how this pattern work and what the purpose is? (I looked a this site http://www.dofactory.com/Patterns/PatternAbstract.aspx). Could anybody try to explain me in his own words how this pattern work and what the purpose is? thanks in advance
11
4294
by: FluffyCat | last post by:
In Febraury - April of 2002 I put together in Java examples of all 23 of the classic "Gang Of Four" design patterns for my website. Partly I wanted to get a better understanding of those patterns. They are still online at http://www.fluffycat.com/java/patterns.html Since September 2003 I've mainly been using PHP, and now that PHP 5 is becoming more available I am going to try the same thing I did in Java with PHP.
12
3031
by: FluffyCat | last post by:
New on November 28, 2005 for www.FluffyCat.com PHP 5 Design Pattern Examples - the Visitor Pattern. In the Visitor pattern, one class calls a function in another class and passes an instance of itself. The called class has special functions for each class that can call it. With the visitor pattern, the calling class can have new operations added without being changed itself.
6
2322
by: pitachu | last post by:
Hi, I'm not an expect in .NET, so would anyone know an answer a design pattern for the following? There are many customers that require minor customizations to the program I will be developing. I would like to reuse the majority of the functionality of this program since each customer is only requiring certain changes to this program.
4
2440
by: Guch Wu | last post by:
I want to design an image processing class as follow: class Image { Image Data; General Image Operations; read(filename, File_Type); write(filename, File_Type); };
22
4710
by: Krivenok Dmitry | last post by:
Hello All! I am trying to implement my own Design Patterns Library. I have read the following documentation about Observer Pattern: 1) Design Patterns by GoF Classic description of Observer. Also describes implementation via ChangeManager (Mediator + Singleton) 2) Pattern hatching by John Vlissides Describes Observer's implementation via Visitor Design Pattern. 3) Design Patterns Explained by Alan Shalloway and James Trott
0
1609
by: marian.kovac | last post by:
Hi, I have this simple sample code: class SearchRange { static int m = 0; static void Main(string args) { Discover discover = new Discover(); // Add discovered device handler
4
1395
by: andrew.smith.cpp | last post by:
Whts the Design pattern of the Classes?
0
8173
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8115
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8568
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8254
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6082
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5537
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4111
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.