우분투를 메인 OS로 사용하고 있는데, 가끔 윈도우도 필요하고, 클러스터링 구성하기 위해서 VirtualBox로 리눅스/윈도우를 사용하고 있는데.. USB 인식이 안되서 에이.. 하고 말았는데.. 매우 좋은 팁이네요..
자세한 내용은 http://simplism.kr/wordpress/?p=816 을 참고하세요..
저작자 표시

'os' 카테고리의 다른 글

우분투에서 VirtualBox의 게스트 OS에서 USB사용하기..  (0) 2010/09/01
우분투에서 로케일과 관련된 에러..  (0) 2010/08/30
hosts 파일 위치..  (0) 2010/08/16
ubuntu apt-get  (0) 2010/07/29
ubuntu server gnome install  (1) 2010/07/19

OOD 설계 원칙들..

from lectures 2010/08/31 14:58
OOD 개발의 설계 원칙대한 내용입니다.
아래 내용은 클래스 설계 원칙에 대한 내용과 패키지 설계원칙으로 구분되어 있습니다.
자세한 내용은 아래 reference를 참고하세요.. ^^

1. 클래스 설계원칙
The first five principles are principles of class design. They are:
SRP The Single Responsibility Principle A class should have one, and only one, reason to change.
OCP The Open Closed Principle You should be able to extend a classes behavior, without modifying it.
LSP The Liskov Substitution Principle Derived classes must be substitutable for their base classes.
DIP The Dependency Inversion Principle Depend on abstractions, not on concretions.
ISP The Interface Segregation Principle Make fine grained interfaces that are client specific.

2. 패키지 설계원칙
The next six principles are about packages. In this context a package is a binary deliverable like a .jar file, or a dll as opposed to a namespace like a java package or a C++ namespace.

The first three package principles are about package cohesion, they tell us what to put inside packages:

REP The Release Reuse Equivalency Principle The granule of reuse is the granule of release.
CCP The Common Closure Principle Classes that change together are packaged together.
CRP The Common Reuse Principle Classes that are used together are packaged together.

The last three principles are about the couplings between packages, and talk about metrics that evaluate the package structure of a system.

ADP The Acyclic Dependencies Principle The dependency graph of packages must have no cycles.
SDP The Stable Dependencies Principle Depend in the direction of stability.
SAP The Stable Abstractions Principle Abstractness increases with stability.

* reference
- http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod
저작자 표시

'lectures' 카테고리의 다른 글

OOD 설계 원칙들..  (0) 2010/08/31
NOSQL 정리  (0) 2010/07/06
CI(Continuous Integration)  (0) 2010/07/05
CAP Theorem  (0) 2010/06/16
Reentrant 와 Thread-safe 의 차이  (0) 2010/04/29
저번주 금욜날 정전되서 데스크탑이 셧다운 되면서, 오늘 아침 찾아온 에러..
warning: setlocale: LC_CTYPE: cannot change locale (ko_KR.utf8)

root 계정으로 접속(sudo -i)해서, 아래의 환경변수에 맞는 값을 넣어주고 로케일 정보를 재설정하면 되네요.. ^^
mcsong@smc:/usr/local$ export LC_CTYPE=C
mcsong@smc:/usr/local$ export LC_MESSAGES=C
mcsong@smc:/usr/local$ export LC_ALL=C    
mcsong@smc:/usr/local$ dpkg-reconfigure locales

저작자 표시

'os' 카테고리의 다른 글

우분투에서 VirtualBox의 게스트 OS에서 USB사용하기..  (0) 2010/09/01
우분투에서 로케일과 관련된 에러..  (0) 2010/08/30
hosts 파일 위치..  (0) 2010/08/16
ubuntu apt-get  (0) 2010/07/29
ubuntu server gnome install  (1) 2010/07/19