구글의 첫 TV광고다.
구글로 모든것을 찾는다는 것을 보여준다.

조금 다르긴하지만 네이버, 다음등의 TV광고에서 본것 같은 느낌이다. 역시 구글은 검색창만 간단하게 보여주는구나 한눈에.

저작자 표시
Posted by iHWAN

swfobject 오픈 소스 프로젝트로 진행중이다.
http://code.google.com/p/swfobject/

웹표준에 부합하지 않는 플래시를 좋아하진 않지만, 플래시를 어쩔 수 없이 써야하는 경우가 있다. 동적인 컨텐츠를 로드한다랄지 클라이언트에서 그렇게 원한다던지...

근데 Internet Explorer와 FireFox는 서로 다른 방식으로 HTML 태그(embed, object)를 사용한다. 그리고 그 파라미터는 복잡해서 매번 컨텐츠를 넣을때마다 외울 수도 없고 항상 찾아서 넣어야 한다. swfojbect를 사용하면 이러한 불편함을 줄일 수 있고, 태그를 잘못썼나 하는 고민에서 해방될 수 있다. 그리고 무엇보다 몇줄만 추가하면 되고 스펙에 정의된대로 뿌려줄 수 있기 때문에 매우 편리하다.


기존 플래시 가져오는 코드
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
  <head> 
    <title>SWFObject - step 3</title> 
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
    <script type="text/javascript" src="swfobject.js"></script> 
 
    <script type="text/javascript"> 
    swfobject.registerObject("myId", "9.0.115", "expressInstall.swf"); 
    </script> 
 
  </head> 
  <body> 
    <div> 
 
      <object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="420"> 
 
        <param name="movie" value="myContent.swf" /> 
        <!--[if !IE]>--> 
        <object type="application/x-shockwave-flash" data="myContent.swf" width="780" height="420"> 
        <!--<![endif]--> 
          <p>Alternative content</p> 
        <!--[if !IE]>--> 
        </object> 
        <!--<![endif]--> 
      </object> 
    </div> 
  </body> 
</html>



swfobject 사용후 변경된코드

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 
 
<head> 
   
<title>SWFObject dynamic embed - step 3</title> 
   
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
   
<script type="text/javascript" src="swfobject.js"></script> 
     
   
<script type="text/javascript"> 
    swfobject
.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0"); 
   
</script> 
 
 
</head> 
 
<body> 
   
<div id="myContent"> 
     
<p>Alternative content</p> 
   
</div> 
 
</body> 
</html>




swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0"); 

위 한줄로 쉽게 사용할 수 있다는게 매우 매력적이다.

저작자 표시 비영리 변경 금지
Posted by iHWAN

 

Zend Framework 가 1.10으로 업데이트 되었다.
작년 이맘때쯤 1.x 초반대였던것을 생각해보면 지난 일년간 꽤 많은 업데이트가 있었다.

재밌는것은 바코드 라이브러리가 들어있다는 사실과 LiveDocx에 대해서 지원한다는 점이다. 공식적으로 패키징되었다는게 매우 의미가 있는것 같다.

또한 Jquery에 대한 지원도 늘어났다는 점이 반갑다.
이전에 ZF에 탑재된 Dojo로 개발하다가 너무 느렸다. 그래서 가장 널리 쓰이는 Jquery로 갈아탔는데, 확실히 이전보다 낫다. 다양한 예제도 많고, 앞으로도 Jquery에 대한 지원을 늘려주면 좋겠다.

이전버전부터 Zend Framework와 Zend Server를 같이 패키지화 하고 있는데 한번 Zend Server도 사용해봐야겠다.

NEW FEATURES

* Zend_Barcode, contributed by Mikael Perraud and Thomas Weidner
* Zend_Cache_Backend_Static, contributed by Pádraic Brady
* Zend_Cache_Manager, contributed by Pádraic Brady
* Zend_Exception - previous exception support, contributed by Marc Bennewitz
* Zend_Feed_Pubsubhubbub, contributed by Pádraic Brady
* Zend_Feed_Writer, contributed by Pádraic Brady
* Zend_Filter_Boolean, contributed by Thomas Weidner
* Zend_Filter_Compress/Decompress, contributed by Thomas Weidner
* Zend_Filter_Null, contributed by Thomas Weidner
* Zend_Log::factory(), contributed by Mark van der Velden and Martin Roest ibuildings
* Zend_Log_Writer_ZendMonitor, contributed by Matthew Weier O'Phinney
* Zend_Markup, contributed by Pieter Kokx
* Zend_Oauth, contributed by Pádraic Brady
* Zend_Serializer, contributed by Marc Bennewitz
* Zend_Service_DeveloperGarden, contributed by Marco Kaiser
* Zend_Service_LiveDocx, contributed by Jonathan Maron
* Zend_Service_WindowsAzure, contributed by Maarten Balliauw
* Zend_Validate_Barcode, contributed by Thomas Weidner
* Zend_Validate_Callback, contributed by Thomas Weidner
* Zend_Validate_CreditCard, contributed by Thomas Weidner
* Zend_Validate_PostCode, contributed by Thomas Weidner
* Additions to Zend_Application resources, including Cachemanager, Dojo, Jquery,
  Layout, Log, Mail, and Multidb (contributed by Dolf Schimmel)
* Refactoring of Zend_Loader::loadClass() to conform to PHP Framework Interop
  Group reference implementation, which allows for autoloading PHP 5.3
  namespaced code
* Updated Dojo version to 1.4

http://www.zendframework.com/download/current/

저작자 표시 비영리 변경 금지
Posted by iHWAN