업그레이드 ... 에 해당되는 글 1건
2008/11/06 18:46
[PHP]
2008/11/06 18:46 2008/11/06 18:46


모르는 사이에 PHP 인기 프레임워크인 CodeIgniter 1.7.0으로 업그레이드 됐군요 (만세~)
날짜를 확인해보니 반년 정도지만 거의 1년은 기다린 같습니다. 버그 수정은 물론이고 Form 관련 함수 들이 많이 추가 것으로 보입니다.

코드이그니터로 개발하여 운영중인 사이트들를 1.7.0 버전으로 마이그레이션 해봐야겠네요

Release Date: October 23, 2008
SVN Revision: 1541

  • Libraries
    • 새로운 Form 검증 함수 추가. 필드명과 간단한 규칙으로 설정가능하며 필드명들의 배열을 지원한다. 검증 규칙들을 설정파일에 그룹화 하여 저장 가능하고view파일에서 사용하는 helper함수를 추가 있다. 참고로 기존의 검증 함수는 사라질 예정(deprecated)이니 주의바람 기존검증 함수는 언젠가 library폴더에서 사라질 예정이고 그때까지는 기존에 작성된 어플리케이션은 동작하겠지만 새로운 버전으로 마이그레이션 것을 권장함
    • 사용자정의데이터을 데이터베이스에 저장하고 불러 있도록 Session 클래스가 업데이트. 기존 쿠키session보다 향상 되어 많은 세션 데이터를 저장 하는 것이 가능하다. (데이터베이스에 세션 데이터를 저장하는 것이 가능)
    • 기본 "libraries"폴더나 어플리케이션 "libraries"폴더의 서브폴더에 라이브러리 저장이 가능해짐. 세부 정보는 Loader 클래스에서 확인
    • $this->load->library 함수를 이용하여서 library객체에 고유한 변수명을 부여하는 것이 가능해짐. 세부 정보는 Loader 클래스에서 확인
    • controller클래스에 다중 데이터베이스접속을 지원하는Profiler class 메소드 추가
    • "auto typography"기능 개선과 Typograph 클래스라는 독립 파일로 이동
    • Xss_clean()함수의 Image/file테스트 오류 감소되었으며 성능과 정확도 개선됨.
    • Parser 클래스 개선. (to allow multiple calls to the parse() function. The output of each is appended in the output.)
    • File Upload Class에서 파일명 글자수 제한을 위한 Max_filename option추가.
    • Output 클래스에 set_status_header() 함수 추가.
    • Pagination 클래스에서 "처음으로(First)"링크가 페이지일 때만 출력되도록 변경
    • 멀티바이트언어상에서도 문자열크기가 계산되도록 Form검증 클래스내부에서 mb_strlen 지원.
  • Database
    • 컬럼명과 테이블명에 hostname.database.table.column같은 풀패스를 지원하도록 개선. 별칭(Alias) 핸들링도 개선 .
    • Improved how table and column names are escaped and prefixed. It now honors full path names when adding prefixes and escaping.
    • 액티브레코드에 "update"와 "delete" 캐쉬 기능을 추가.
    • 잠재적인 SQL에러나 SQL인젝션공격을 방지하기위해 PHP 같은 제어문자제거 메커니즘이 없는 DB-Driver(mssql, oci8, odbc) escapte_str() 함수 안에 출력되지 않는 제어문자를 제거기능 추가.
    • MySQL, MySQLi, MSMSQL데이터베이스 드라이버에 포트지원.
    • Added driver name variable in each DB driver, based on bug report #4436.
  • Helpers
    • Form 헬퍼에 POST데이터를 form 세팅하거나 가져 있도록 새로운 설정변수 추가. 고유의 것을 사용하거나 새로운 Form 검증 함수와 사용된다.
    • URL헬퍼에 current_url() 함수 추가.
    • Altered auto_link() in the URL helper so that email addresses with "+" included will be linked.
    • Added meta() function to HTML helper.
    • Improved accuracy of calculations in Number helper.
    • Removed added newlines ("\n") from most form and html helper functions.
    • Tightened up validation in the Date helper function human_to_unix(), and eliminated the POSIX regex.
    • Updated Date helper to match the world's current time zones and offsets.
    • Modified url_title() in the URL helper to remove characters and digits that are part of character entities, to allow dashes, underscores, and periods regardless of the $separator, and to allow uppercase characters.
    • Added support for arbitrary attributes in anchor_popup() of the URL helper.
  • Other Changes
    • Added PHP Style Guide to docs.
    • Added sanitization in xss_clean() for a deprecated HTML tag that could be abused in user input in Internet Explorer.
    • Added a few openxml document mime types, and an additional mobile agent to mimes.php and user_agents.php respectively.
    • Added a file lock check during caching, before trying to write to the file.
    • Modified Cookie key cleaning to unset a few troublesome key names that can be present in certain environments, preventing CI from halting execution.
    • Changed the output of the profiler to use style attribute rather than clear, and added the id "codeigniter_profiler" to the container div.

    http://codeigniter.com/news/codeigniter_170_released/

이올린에 북마크하기(0) 이올린에 추천하기(0)
Trackback Address :: http://blog.phpdic.com/trackback/36
[로그인][오픈아이디란?]
Name
Password
Homepage

Secret