워드프레스 2.5 정식 버전이 공개되었네요.
대쉬보드 변경, 대쉬보드 위젯, 멀티파일 업로드, EXIF 정보 추출, 갤러리, 쿠키 암호화 등 다양한 기능이 추가되었습니다. 이전 버전에서는 WYSIWYG 에디터를 사용하면 원치 않는 효과들이 나타나서 사용하지 않았는데, 이 부분도 수정되었다고 하니, 한 번 사용해 봐야겠군요.

대충 살펴보면 주로 어드민 페이지에서 많은 변화가 있는 것으로 보이네요. 어드민 페이지의 메뉴가 변경되고, 대쉬보드에도 변화가 보이네요.

WordPress Blog > WordPress 2.5
WordPress > Download

 

기존에 try…catch 구문을 이용해서 만들었던 XMLLoader(XMLLoaderOld로 변경)는 몇 가지 문제점들을 포함하고 있었습니다. Wooyaggo님이 URLStream 객체를 사용하여 만든 XMLLoader 클래스를 보고서 저도 URLStream 객체를 사용하도록 수정해 보았습니다.

XMLLoader 파일 다운로드

그런데 이벤트 관련해서 이런식으로 사용하는 것이 옳은 것인지 모르겠네요. 많은 지적 부탁드립니다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/**
 * XMLLoader
 * XMLLoader class loads an external text file and decodes the data with the provided character set.
 * If you loads a text file encoded in the euc-kr encoding via an URLLoader, frequently, the source data is currupted.
 * To avoid this problem, uses URLStream instead of URLLoader.
 *
 * XMLLoader is the modified version of the XMLLoaderOld class.
 * This code is inspired by Wooyaggo's article(http://wooyaggo.tistory.com/116).
 * 
 *
 * @author: Han Sanghun (http://hangunsworld.com, hanguns@gmail.com)
 * @created: 2008 03 28
 * @last modified: 2008 06 06
 */
 
 /*
Licensed under the MIT License
 
Copyright (c) 2008 Han Sanghun
 
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
 
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
http://hangunsworld.com/classes/com/hangunsworld/net/
*/
 
package com.hangunsworld.net{
 
	import	flash.events.*;
	import	flash.net.URLLoader;
	import	flash.net.URLRequest;
	import	flash.net.URLStream;
 
 
	public class XMLLoader{
 
		private var us:URLStream;
		private var ul:URLLoader;
		private var ur:URLRequest;
 
		private var encode:String;
 
		public var data:String = "";
 
 
		/**
		 * XMLLoader constructor
		 */
		public function XMLLoader(){
 
			us = new URLStream();
			ul = new URLLoader();
 
		}// end constructor
 
 
		/**
		 * Adds event listeners to the URLLoader object and the URLStream object.
		 */
		public function addEventListener(type:String, listener:Function, useCapture:Boolean=false, priority:int=0, useWeakReference:Boolean=false):void{
			ul.addEventListener(type, listener, useCapture, priority, useWeakReference);
			us.addEventListener(type, agentListener, useCapture, priority, useWeakReference);
		}// end addEventListener
 
		/**
		 * Removes event listeners from the URLLoader object and the URLStream object.
		 */
		public function removeEventListener(type:String, listener:Function, useCapture:Boolean=false):void{
			ul.removeEventListener(type, listener, useCapture);
			us.removeEventListener(type, agentListener, useCapture);
		}// end removeEventListener
 
 
		/**
		 * Loads external data via the URLStream object,
		 * and sets the character set with the provied string.
		 *
		 * @param pUr The URLRequest object.
		 * @param pEncode The string denoting the character set to use to interpret the bytes. [OPTIONAL]
		 */
		public function load(pUr:URLRequest, pEncode:String="utf-8"):void{
 
			encode = pEncode;
 
			ur = pUr;
			us.load(ur);
 
		}// end load
 
 
		/**
		 * Dispatches events through the URLLoader object.
		 */
		private function agentListener(e):void{
 
			if(e.type == Event.COMPLETE){
				// If the event's type is Event.COMPLETE, decodes the loaded data using the provided character set.
				var str:String = us.readMultiByte(us.bytesAvailable, encode);
				// Puts the decoded data into the URLLoader object.
				data = str;
				ul.data = str;
			}
 
			ul.dispatchEvent(e.clone());
 
		}// end agentListener
 
 
	}// end class
}// end package

Usage example.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import	com.hangunsworld.net.XMLLoader;
 
var xloader:XMLLoader = new XMLLoader();
 
xloader.addEventListener(Event.COMPLETE, loaded);
xloader.addEventListener(IOErrorEvent.IO_ERROR, errored);
xloader.addEventListener(ProgressEvent.PROGRESS, progressed);
 
xloader.load(new URLRequest(path), "euc-kr");
 
 
function loaded(e:Event):void{
	trace("COMPLETE");
	var xml:XML = new XML(xloader.data);
	trace(xml);
}
 
function errored(e:IOErrorEvent):void{
	trace("IOERROR");
}
 
function progressed(e:ProgressEvent):void{
	trace("PROGRESS - " + e.bytesTotal + " : " + e.bytesLoaded);
}
 

3월 28일, 고스트-코어의 창립 5주년을 맞아서, 고스트 직원들이 모여서 회식을 했습니다.
사당역의 파티에 존에서 스테디크도 썰고, 부페와 와인도 곁들여서 즐거운 시간을 보냈습니다.

고희연 인듯한 행사가 진행되고 있어서 매우 번잡한 홀을 지나서, 안내 받은 곳은 RED 룸. 왠지 유흥업소 분위기의 방, 다른 사람들이 도착하기 전까지 이채홍 대리와 둘이서 잠시 뻘쭘했다는…
Partyerzone, Red room Partyerzone, Red room 5th anniversary cake Partyerzone, Steak

대표님의 지인들도 몇 분 더 오셔서, 좀 넓은 방으로 이동…
Partyerzone Partyerzone

 
I was a bit suprised when I worked with several Flash developers and Web developers. Becuase they didn’t know about the following browser add-ons, useful tools on debugging. So, here I introduce these extensions.
플래시 개발자나 웹 개발자들과 같이 작업을 하면서 많은 개발자들이 모르고 있는 것 같아서, 알아두면 매우 편리한 브라우저 애드-온 몇 가지를 소개합니다. 디버깅 등의 작업에 정말 많은 도움이 됩니다.
色んなフラッシュ開発者やウェブ開発者と作業しながら、少しびっくりしました。なぜなら、多くの開発者たちがこのアドオンに就いて全然知らなかったからです。だから、便利なアドオンを紹介します。デバグする時本当に役に立ちます。

Firefox Add-ons

Internet Explorer Add-ons

 

CJMall eTV Renewal
2008.2.28.

약 2달에 걸쳐서 작업한 CJMall eTV 사이트 리뉴얼이 오픈했습니다.
CJ와는 처음으로 작업해 보는 거라서 분위기 적응하는 것도 어려웠고, 일정도 좀 빡빡한데다가, 다른 프로젝트도 겹쳐서 여러가지로 힘들었던 프로젝트 중 하나로 기억되는군요.
야근에 주말작업에 매우 빡빡한 일정이었음에도, 불만없이 잘 따라준 이채홍 대리에게 감사를… 막판에 와서 도와준 박남숙 대리도 생유…
Sorry, English translation is not available on this post.
Sorry, Japanese translation is not available on this post.

CJMall eTV main CJMall eTV 동영상 쇼핑 CJMall eTV CJMall eTV 쌩쌩라이브

© 2011 Hangun's World - Blog Suffusion theme by Sayontan Sinha