맞춤검색


1. CAF( Chalran Application Framework) 란 ?

        CAF는 전세계적으로 검증된 프레임워크인 Struts , Spring 프레임워크에 
        기반한 웹어플리케이션프레임워크로써, 개발에 관한 전반적인 
        개발표준을 제공하고 있습니다. 
        일반적으로 계층을 프리젠테이션 레이어, 비지니스 레이어, 퍼시스턴스 레이어로 
        구분할 수 있는 데, CAF는 각 레이어별로 표준화된 프레임워크를 제공하고 
        있습니다. 각 레이어별로 표준화된 개발가이드라인을 제공하여, 
        다양한 샘플예제를 지원하여 개발시 효율적인 개발방식을 지원합니다. 

        특징 
                다양한 유형의 패턴 제공.
                구조가 단순/명확하여 생산성이 월등함.
                소스자동생성기능 지원(Velocity Engine에 기반한 템플릿 생성) - /WEB-INF/src/template/default 에 있는 파일수정
                개발표준가이드라인 제공
                다양한 유형의 샘플예제 제공
                J2EE 1.4 표준 적용
                기술요구조건이 낮음(JSP, JSTL, SQL, javascript)
                유지보수 용이(관련파일이 4~5개정도)
                퍼시스턴스레이어의 High Level Api 제공.
javascript High Level Api 제공.
                웹서비스 프레임워크 제공.
         AJAX 프레임워크 제공.
다양한 Export 지원 ( Xml, JSON, Excel ) 
                LGPL 라이센스


2. 프레임워크구성

        Web Framework                   Struts 1.2.9            http://struts.apache.org/          
        Lightweight Container           Spring 2.5.x            http://www.springframework.org/    
        Database Framework              caf-dbmanager-2.0.3.jar http://sourceforge.net/projects/chalranjdbccomp/        
        javascript Framework            prototype 1.6.0.2       http://www.prototypejs.org/
                                        extjs 2.0.1             http://extjs.com/   (아직은 안씀.)
        기타 library                    /WEB-INF/lib/라이브러리설명.txt 참조 


3. 폴더설명

        - 프로젝트 적용시 /root/ 폴더에 프로젝트관련 폴더를 생성.(/root/caf/ 폴더 하위에 폴더 파일을 생성하지 말 것.)
        
        -- root
         |-- build.xml                          Ant 설정파일 ( 컴파일시 사용함.  ant compile 실행.)
         |-- 문서관련 
         |        |- DB-Schema                  기본적인 DB 스키마 생성시 사용함. ( erwin을 활용하여 generation )
         |        |- Document                   문서텍스트.
         |        -- library                    caf-dbmanager 관련 및 기타 라이브러리.
         |
         |-- caf --- board                      게시판관련소스 (  일부권한이나, jsp파일은 수정사용. 소스분석후 알아서 사용하세요. 간단한 기능요건의 경우 그냥 새로 만드는 것이 좋을 듯. )
         |        |- common                     jsp 코딩시 공통으로 사용하는 공통 jsp파일.
         |        |- generator                  소스자동생성.( http://localhost/caf/generator )
         |        |- images                     caf이미지
         |        |- js                         javascript 
         |        -- samples                    caf 기반의 샘플소스.
         |-- files                              파일관련(업로드파일)
         |-- webhard                            웹탐색기 프로그램(응용)
         |-- WEB-INF                    
                  |- classes            
                  |        |- dbmanager.properties                      sql폴더를 변경해야함.
                  |        |- dbmanager-ehcache.xml                     sql관련 캐시설정.
                  |        |- log4j.properties                  
                  |        |- ApplicationResources.properties           기본message파일.
                  |        -- message-{단위시스템영문약명}.properties   단위시스템별로 관리시 message파일.
                  |
                  |- lib                        library 폴더 ( 라이브러리설명.txt 참조 ) 
                  |- sql                        sql관련 폴더.
                  |- src                
                  |- tlds                       tlds 파일.
                  |- xmls                       struts , spring 관련 설정파일.
                  -- web.xml                    설정파일.



4. 설치하기.
        4-1. JDK 1.4이상 설치    http://java.sun.com/javase/downloads/index.jsp
        4-2. Ant 1.6.x이상 설치    http://ant.apache.org/
4-3. 문서관련/설치하기.txt 파일참조.
Tracked by ClickAider