2008/02/21 20:38
2008/02/21 20:38 2008/02/21 20:38
사용자 삽입 이미지

Kvz - Techblog를 운영하고 있는 Kevin van Zonneveld는 작년 12월부터 php.js프로젝트를 공개하기 시작합니다.
php.js은 이름 그대로 PHP 함수에 익숙한 사람들을 위해 자바스크립트로 PHP function들을 구현하여 공개하는 프로젝트입니다. 이미 array나 string 관련된 강력한 PHP함수들이 JavaScript로 포팅되어 100개 가까운 함수군을 가지게 되었습니다.

abs
addslashes
array_change_key_case
array_chunk
array_combine
array_count_values
array_diff
array_diff_assoc
array_diff_key
array_fill
array_flip
array_keys
array_key_exists
array_map
array_pad
array_pop
array_product
array_push
array_rand
array_reverse
array_search
array_shift
array_sum
array_unique
array_unshift
array_values
base64_decode
base64_encode

basename
checkdate
chr
compact
count
count_chars
crc32
date
defined
define
empty
end
explode
file
file_get_contents
function_exists
get_class
htmlentities
implode
include
include_once
in_array
isset
is_array
is_numeric
levenshtein
ltrim
md5
md5_file
mktime
nl2br
number_format

ord
preg_quote
printf
rand
range
reset
rtrim
serialize
setcookie
sha1
sha1_file
shuffle
soundex
sprintf
strcmp
stripslashes
strip_tags
stristr
strlen
strpos
strrev
strripos
strrpos
strstr
strtolower
strtoupper
str_pad
str_repeat
str_replace
str_rot13
substr_count
trim
ucfirst
ucwords
utf8_decode
utf8_encode

wordwrap


하지만 용량이 약 100kb가 되어서 사용하기에 부담되는것이 사실이었는데요. 지난 14일 WOWpc님 께서 주석을 제거한 버전과 압축된 버전을 공개해주셨습니다. 라이센스가 MIT 라이센스이니 문제는 없을것 같습니다.

http://wow-reference.tistory.com/74

약 1/3에 해당하는 주석을 제거한 버전이 55kb 또 이 버전을 다시 압축한 버전이 37kb정도군요
감사합니다. 님~




이올린에 북마크하기(0) 이올린에 추천하기(0)
Trackback Address :: http://blog.phpdic.com/trackback/18
Tracked from WOWpc's Reference... | 2008/07/18 13:00 | DEL
PHP의 함수 일부를 JS에서 사용할 수 있도록 포팅시켜놓은 프로그램 발견 ^^ 제법 유용한 함수들이 많이 들어있다. 이곳에서 다운.. http://kevin.vanzonneveld.net/techblog/article/phpjs_licensing/ 혹시 연결이 안 되면 여기서 받으세요 php.js 다운로드 받으면 용량은 약 100KB 소스를 열어보면 주석이 1/3..... 주석 몽땅 제거하고 보니 55KB다. 위의 사이트에서 원본 다운로드가 안되거..
Tracked from brian2님의 블로그 | 2008/11/20 15:39 | DEL
Kvz - Techblog를 운영하고 있는 Kevin van Zonneveld는 작년 12월부터 php.js프로젝트를 공개하기 시작합니다. php.js은 이름 그대로 PHP 함수에 익숙한 사람들을 위해 자바스크립트로 PHP function들을 구현하여 공개하는 프로젝트입니다. 이미 array나 string 관련된 강력한 PHP함수들이 JavaScript로
Tracked from JIXmall.com | 2009/11/23 20:38 | DEL
JIXmall :: javascript encode에 대한 정보입니다.
[로그인][오픈아이디란?]
Name
Password
Homepage

Secret
◀  *    1   ...   20    21    22    23    24    25    26    27    28   ...   39    *  ▶