Programming

Zend Framework Preview 0.2.0 Released!

ในที่สุด Zend Framework Preview 0.2.0 ก็ถูกปล่อยออกมาให้ทดลองใช้กันแล้วครับ หลังจากปล่อย 0.1.5 ให้ใช้กันอยู่นาน โดยที่ยังขาด Feature สำคัญๆหลายอย่าง ผมเอง ก็ได้ทดลองใช้ 0.1.5 กับเว็ปนึงเหมือนกัน ^^ โดยเวอร์ชั่น 0.2.0 ที่ออกมานี้มีการปรับปรุง ของเดิมหลายจุดและมีการเพิ่มระบบที่ยังขาดไปในรุ่น 0.1.5 อย่าง JSON server และ Session Component เยี่ยมจริงๆ รายละเอียดเต็มๆตามด้านล่างเลยครับ
  • New MVC implementation
  • New HTTP request and response objects make it easy to automate unit testing for web apps without a web server, and also make it possible to use MVC for command-line and PHP-GTK application development
  • Enhanced pure PHP Lucene-compatible search engine component
  • New Mysqli DB adapter
  • New JSON server
  • New REST client and server
  • New XmlRpc client and server
  • New Acl component
  • New Session component
  • New Web Services clients for Delicious and Audioscrobbler
  • New Registry component
  • Significant improvements to many other components
สำหรับคนที่เขียนเว็ปเองโดยใช้ PHP ผมว่า Framework ตัวนี้น

Zend Studio 5.5 Beta Available Now!.

เพิ่งได้แว็ปไปดูที่เว็ป Zend.com แล้วก็เห็นว่าทาง Zend ได้ปล่อย Zend Studio 5.5 Beta มาให้ทดลองใช้กันแล้ว ใครที่ชอบลองของใหม่ไปโหลดกันมาทดลองดูกันได้ครับ ส่วนผมขอใช้ Zend Studio 5.2 ต่อไป อดเจ็บใจเล็กๆไม่ได้เพราะ License ผมหมดไปได้ไม่กี่อาทิตย์เอง แล้วไม่ได้ต่ออายุ ก็ค่าต่อมันตั้ง $199 แถมผมใช้มา 1ปียังไม่คุ้มเลยก็เลยว่าจะทนใช้ไปจนคุ้ม ก่อน และรอมี Promotion ค่อยซื้อใหม่ ^^" ส่วนเจ้า Zend Studio 5.5 Beta มีอะไรบ้างลองดูตามด้าล่างครับ

Version 5.2.0 to 5.5.0 Beta

PHP 5.2:
  • New PHP 5.2 Support
General:
  • Installation support for Mactel ( Install Anywhere 8 )
  • Support for antialiasing (via Preference settings)
Editor:
  • Supports opening URLs from the Editor using right click
Web Services Support (SOAP):
  • Support for URLs in SoapClient Constructors
  • Bug fixed: Unsynchronized file name and configuration name
Java:

3 วิธีง่ายๆในการหลีกเลี่ยงปัญหา Memory Leak ใน JavaScript

บทความเกี่ยวกับการหลีกเลี่ยงเขียน Javascript แล้วทำให้เกิด Memory Leak หลักที่ผู้เขียนเขาแนะนำคือ
3. Set your XMLHttpRequest onreadystatechange handlers to null when you are done with them. I use YAHOO.util.Connect for all my XHR connections and it uses a polling mechanism instead of readstate, so I don’t need to do this anymore. If you can switch to YAHOO.util.Connect (or YAHOO.ext.UpdateManager built on top of it), I’d recommend it. 2. Clean up all your DOM event handlers on unload if there’s a chance they could reference a DOM object. There’s no reason to manually do this when there are libraries that do it automatically. I use YAHOO.util.Event for all my event handlers, it handles this for me automagically. Other libraries (prototype, dojo, etc) have some sort of mechanism to do the same thing, although I’m not sure how effective they are. If you look at the leak images above once again, you will notice almost all of them are in event related code of those libraries. 1.
Syndicate content