PHP
Zend Framework 0.6 Preview Release
Submitted by AnnoMundi on Wed, 12/20/2006 - 23:19
หัวข้อที่เกี่ยวข้อง :
ช่วงนี้ไม่ได้อัพบล็อกเลยเพราะมัวเขียนโปรแกรมและศึกษาเกี่ยวกับ Javascript ซึ่งต้องใช้
ในการทำเว็ปด้วย เลยยุ่งๆ แต่เมื่อวานลองเข้าไปดูในเว็ป Zend Framework ก็พบว่ามันได้
ออกเวอร์ชั่นใหม่มาแล้ว - -" เว็ปที่ผมทำอยู่นั้นใช้เวอร์ชั่น 0.2 Preview ก็เลยจัดการอัพเกรด
ซึ่งหลังจากอัพเกรดก็มีต้องแก้โค้ด 2-3 ที่เพราะบางคลาสมีการเปลี่ยนแปลงไปจากเดิมพอสมควร
นอกจากคลาสเดิมที่มีการปรับปรุงเพิ่มเติมก็มี component ใหม่ๆเพิ่มเข้ามา รายละเอียดก็
ตามด้านล่างเลยครับ
- Lucene-compatible search engine query language
- New Authentication component and improved ACL design
- Improved MVC implementation and documentation
- Improved Session-handling design
- Integrated Google Data API Client
- Improved XmlRpc client and server
- Improved Http Client design, supporting cookies and proxy servers
- New Web Services client for Simpy social bookmarking
- Emerging components for I18N, Getopt, Mail folders, and many other enhancements to components and documentation.
Zend Framework Preview 0.2.0 Released!
Submitted by AnnoMundi on Thu, 11/02/2006 - 14:29
หัวข้อที่เกี่ยวข้อง :
ในที่สุด 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
Zend Studio 5.5 Beta Available Now!.
Submitted by AnnoMundi on Wed, 11/01/2006 - 13:33
หัวข้อที่เกี่ยวข้อง :
เพิ่งได้แว็ปไปดูที่เว็ป 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
- Installation support for Mactel ( Install Anywhere 8 )
- Support for antialiasing (via Preference settings)
- Supports opening URLs from the Editor using right click
- Support for URLs in SoapClient Constructors
- Bug fixed: Unsynchronized file name and configuration name
- Embedded Java code completion of packages and classes in PHP code
- Configure the Workspace's default JRE / JDK
- Configure project specific preferences
วิธีแก้ปัญหา PHP ส่งอีเมล์ไม่ได้บน Windows
Submitted by AnnoMundi on Wed, 10/18/2006 - 05:05
หัวข้อที่เกี่ยวข้อง :
ช่วงหลังๆมานี่ผมกลับมาใช้ Windows ในการทำงาน และในการเขียน PHP
ปัญหาอย่างนึงที่น่ารำคาญคือส่ง email ไม่ออกมีปัญหากับ SMTP Server
ซึ่งผมก็ลง IIS และเป็น SMTP service ไว้ด้วยแต่ก็ส่งอีเมล์ไม่ออก แต่พอดีผม
ไม่ค่อยได้สนใจในส่วนนี้เท่าไหร่ เลยหยวนๆข้ามๆมันไปเขียนโปรแกรมทำส่วนอื่น
แต่พอดีช่วงนี้กำลังเขียนโมดูลของ Drupal และ่ต้องมีการส่ง email เลยจำต้องหา
วิธีทำให้มันใช้งานได้ ซึ่งจะอัพโหลดไปทดสอบบน Server ก็ลำบากในการแก้ไข
และ debug โปรแกรม ก็เลยลองๆ Search ดูก็เจอวิธีตาม Link ด้านล่าง
http://drupal.org/node/30079
ถ้าลิ้งก์เสียก็ตามล่างนี้เลย แต่อย่าลืมว่า Windows ต้องลง IIS ก่อนนะครับ
1) Go to: start > settings > control panel > Administrative Tools > Internet Information Services 2) Expand the " (local computer)" node 3) Right click on your SMTP server > go to "Properties" 4) Click "Access" tab 5) Under Relay Restrictions, click the "Relay" button 6) Click "Add" 7) Select "Single Computer" and enter IP address 127.0.0.1 8) Hit OK, OK, OK (until the properties dialog is closed)หลังจากเซ็ตตามด้านบนแล้วสคริปต์ PHP เราก็จะส่งอีเมล์ออกไปได้ตามปกติ เพียงแต่อาจมีปัญหา email ที่ถูกส่งไปอาจถูกปลายทางส่งเข้า