'프레임워크'에 해당되는 글 2건

  1. 2013.07.10 클래스라이브러리와 프레임워크.
  2. 2013.07.10 Building ACE framework on Mac OS X Mountain Lion.



클래스 라이브러리를 프레임워크라 부르기도 하던데, 사실 차이점을 보고나면 구분을 하는것이 좀더 낫겠다싶다.


1. 클래스 라이브러리.

- 재사용 가능한 빌딩블럭(reusable building blocks)

- 도메인 독립적임(domain independent)

- 제한적인 영역(limited in scope)

- 수동적임(passive)


2. 프레임워크

- 재사용 가능하면서도, "거의 완성된(semi-complete)" 어플이다.

- 도메인 특화됨(domain-specific)

- 보다 광범위함.(broader in scope)

- 능동적임(active)


그림을 보면 좀더 차이를 볼 수 있는데,  프레임워크 다뤄봤다는 개발자라면 자신이 사용했던 프레임워크의 구성요소를 디자인화해서 설명할 수 있어야 하지 않을까싶다.



Posted by Jason Ryu
,

Download

Source package from ftp://download.dre.vanderbilt.edu/previous_versions/ACE-6.1.0.tar.gz

and

Doxygen document from ftp://download.dre.vanderbilt.edu/previous_versions/ACE-html-6.1.0.tar.gz


Edit your shell environment : in case of bash,

export ACE_ROOT={ACE installation path}            // ACE_wrappers directory.
export DYLD_LIBRARY_PATH=$ACE_ROOT/lib:$DYLD_LIBRARY_PATH



Create 2 files


1. $ACE_ROOT/ace/config.h

#include "ace/config-macosx-lion.h"
#define  ACE_NEEDS_DL_UNDERSCORE


2. $ACE_ROOT/include/makeinclude/platform_macros.GNU

include $(ACE_ROOT)/include/makeinclude/platform_macosx_lion.GNU
INSTALL_PREFIX=/usr/local
install_rpath=0



Finally, just execute;

make
make install


The last command, make install, may fails. you may need to run it as a root.


On other platforms, some configurations should be changed.

  • DYLD_LIBRARY_PATH => LD_LIBRARY_PATH, LIBPATH, or SHLIB
  • ace/config-macosx-lion.h => ace/config-{platform}.h
  • $(ACE_ROOT)/include/makeinclude/platform_macosx_lion.GNU => $(ACE_ROOT)/include/makeinclude/platform_{platform}.h
  • install_rpath => {NO NEED}


Enjoy it!!

'$ SaVvY > » computer' 카테고리의 다른 글

C++의 string 클래스 대신 String 클래스를 만들어 쓰기전에...  (0) 2013.07.10
문자열검색 알고리즘. KMP  (0) 2013.07.10
Public DNS server  (0) 2013.07.10
Red-Black Tree flow diagram  (0) 2013.07.09
GDBM User Reference  (0) 2013.07.05
Posted by Jason Ryu
,