object(HotopayModel)#863 (23) {
["error"]=>
int(0)
["message"]=>
string(7) "success"
["variables"]=>
array(0) {
}
["httpStatusCode"]=>
int(200)
["module"]=>
string(7) "hotopay"
["module_info"]=>
NULL
["origin_module_info"]=>
NULL
["module_config"]=>
NULL
["module_path"]=>
string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/"
["xml_info"]=>
NULL
["module_srl"]=>
NULL
["mid"]=>
NULL
["act"]=>
NULL
["template_path"]=>
NULL
["template_file"]=>
NULL
["layout_path"]=>
NULL
["layout_file"]=>
NULL
["edited_layout_file"]=>
NULL
["stop_proc"]=>
bool(false)
["user"]=>
object(Rhymix\Framework\Helpers\SessionHelper)#862 (20) {
["member_srl"]=>
int(0)
["user_id"]=>
NULL
["user_name"]=>
NULL
["nick_name"]=>
NULL
["email_address"]=>
NULL
["phone_number"]=>
NULL
["homepage"]=>
NULL
["blog"]=>
NULL
["birthday"]=>
NULL
["denied"]=>
NULL
["status"]=>
NULL
["is_admin"]=>
string(1) "N"
["is_site_admin"]=>
NULL
["profile_image"]=>
NULL
["image_name"]=>
NULL
["image_mark"]=>
NULL
["signature"]=>
NULL
["description"]=>
NULL
["group_list"]=>
array(0) {
}
["menu_list"]=>
array(0) {
}
}
["request"]=>
object(Rhymix\Framework\Request)#10 (13) {
["method"]=>
string(3) "GET"
["compat_method"]=>
string(3) "GET"
["url"]=>
string(32) "javascript/361444/comment/463804"
["hostname"]=>
string(8) "eond.com"
["domain"]=>
NULL
["protocol"]=>
string(5) "https"
["callback_function"]=>
string(0) ""
["_route_status":protected]=>
int(200)
["_route_options":protected]=>
object(stdClass)#11 (5) {
["cache_control"]=>
bool(true)
["check_csrf"]=>
bool(true)
["is_forwarded"]=>
bool(false)
["is_indexable"]=>
bool(true)
["enable_session"]=>
bool(true)
}
["module"]=>
string(5) "board"
["mid"]=>
string(10) "javascript"
["act"]=>
string(16) "dispBoardContent"
["args"]=>
array(5) {
["page"]=>
int(3)
["document_srl"]=>
string(6) "361444"
["comment_srl"]=>
string(6) "463804"
["mid"]=>
string(10) "javascript"
["act"]=>
string(16) "dispBoardContent"
}
}
["ajaxRequestMethod"]=>
array(2) {
[0]=>
string(6) "XMLRPC"
[1]=>
string(4) "JSON"
}
["gzhandler_enable"]=>
bool(true)
}
써니소프트 카페의 러닝은빛님의 댓글을 발췌했습니다. 기본적인 자바스크립트의 특성입니다.
일단 자바스크립트는 '자바'와는 문법적으로 비슷한 부분도 좀 있지만 자바와는 아예 다른 언어입니다.
제 생각은 언어 차원에서 많은 라이브러리를 제공하는 루비, 자바와는 달리 자바스크립트는 기본적으로 제공되는 문법 자체가 굉장히 적습니다. 그래서 배우기는 좀 더 쉬울 수 있습니다.
하지만 큰 차이점이 있는데 바로 자바스크립트에서는 클래스라는 그 간단한 키워드 조차 없다는 겁니다. protected, private, public 같은 대표적인 정보은닉 관련 키워드 마저 없습니다. 사실상 함수(function)가 개념상의 끝입니다.
하지만 골 때리는 건 그 함수가 굉장히 유연하다는 겁니다. 어떻게 쓰는지에 따라 함수가 되기도 하고 모듈이 되기도 하고 클래스가 되기도 합니다. 그 유연한 함수 안에 새로운 함수를 정의할 수도 있고, 함수와 변수를 정의해서 클래스 개념처럼 쓸 수도 있습니다. 게다가 그렇게 만들어둔 것을 다른 함수가 상속 받을 수도 있습니다. 생성자 개념도 있어서 함수마다 다른 변수값을 지니게 할 수도 있습니다.
댓글 0
댓글작성칸으로