最新动态
用户登录
  用户:
  密码:
       注册 | 忘记密码
常用链接
PHP程序设计第二版
本站Logo

 
Powered By
HappyCMS 0.2.2

Zend Framework 1.5.0PR

SiteMap | BBS Archives

站点链接

    » 申请链接
闽ICP备07076819号
论坛新贴 最新精华
最新翻译Blog More...
   [ringtail] 使用NTILE()方便地生成tag云图 ...    [ringtail] Zend Framework Q&A Session
   [iwind] 友善地"死掉" - PHP register_shutdo ...    [mayongzhan] PHP6的新特性:Unicode和TextIterato ...
   [iwind] 站内新闻:转向Solar框架    [mayongzhan] 在javascript中使用php风格的$global ...
   [iwind] 用EditPlus通过ssh运行远程脚本 ...    [iwind] PHP APC函数apc_shm_create在命令行下 ...
   [iwind] DevShed: 使用PHP5的DOM XML扩展插入 ...    [mayongzhan] php5中Iterator与smarty整合
   [haohappy] Zend Framework获得Jolt大奖(生产效率 ...    [iwind] 开发者文集:在Windows上安装PHP ...
   [ringtail] 提交Bug报告    [iwind] Zend Framework 1.5 RC1发布
   加入 | 翻译团队: mayongzhan (18) iwind (10) ringtail (9) haohappy (6) helloyou (2) wohugb (0) jasonqi (0) littlexiang (0)
最新文章 More... 最新下载资源 More...
 全球PHP博客聚合         中文博客 | 英文博客      种子列表      
收缩所有 | 展开所有
 

os_hangzhou_350.jpg明天下午将去参加 InfoQ 中文站主办的 体验基于OpenSolaris的Web/企业应用 活动,这也是杭州 OpenSolaris/OpenSource 用户组的第一次活动。



我应邀将在活动上做个关于数据库的分享,主题为 "设计可扩展的面向互联网应用的MySQL数据库" ,欢迎感兴趣的朋友光临指导。具体时间和地点 ? 就在上面的链接里 ...



--EOF--


2008-08-29 14:41:28 | 全文 | 评论(0)

 
Back when installing ZendStudio 5.5.0 on Ubuntu I sometimes had the following error:
An internal LaunchAnywhere application error has occured and this application cannot proceed. (LAX)

Stack Trace:
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
at java.util.Properties.loadConvert(Unknown Source)
at java.util.Properties.load(Unknown Source)
at com.zerog.common.java.util.PropertiesUtil.loadProperties(DashoA8113)
at com.zerog.lax.LAX.(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)


This is because the \u variable of bash (username in the prompt) is mistaken for an (illegal) \uXXXX unicode character.

After searching back then I found out (and back then it wasn't #1 hit on a google search) that you just have to temporarily alter your .bashrc:


(fa@don):(~) $ echo 'export PS1="# "' >> .bashrc
(fa@don):(~) $ so ......

2008-08-29 14:40:19 | 全文 | 评论(0)

 
其实就是外形很山寨,实际上功能比传说中的山寨机有些差距,标准的山寨机都是以功能强大作为亮点,这次移动免费邮寄的3G TD-SCDMA测试手机是第一次听说的牌子龙旗TD290, 没有蓝牙、红外、屏幕太小、还没有存储卡,唉,免费的东西就没有好东西!

2008-08-29 11:40:54 | 全文 | 评论(0)

 
  [SurfChen] 放弃delicious

不是因为服务不稳定,不是因为界面不友好,不是因为被yahoo收购,不是因为有更好的选择,而是因为下面的头信息。
curl -i del.icio.us

HTTP/1.1 301 Moved Permanently

Location: http://delicious.com/


曾经的域名这么geek。
或许有设置成永久使用del.icio.us的地方,不过懒得去找了,也可能没有。

2008-08-29 09:41:11 | 全文 | 评论(0)

 

It’s been a while since I posted a review about a packt published book.
I was sent a copy of “Learning Facebook Application Development” by Hasin Hayder and Dr Mark Alexander Bain a while ago. The by-line description of the book is “A step-by-step tutorial for creating custom facebook applications using the Facebook platform and PHP”. It is precisely that.

Here’s my review of it:

The book was published prior to Facebook’s facelift but this doesn’t really impact on the usefulness of the book.
An overview of FBML, FQL, FBJS (a restricted subset of JavaScript and enforced for security reasons) are given along with information on how to use the test consoles, publish to news feeds, some multimedia aspects of what can be done in Facebook applications and more.

Happily the book focuses on using PHP5 for developing Facebook Applications - while there are classes ......

2008-08-29 09:40:11 | 全文 | 评论(0)

 
This article tries to give you an overview on how CouchDb can be used to map
data to a data storage and how it is completely different from relational
databases. I try to introduce the basic concepts and show an advanced use
case.

2008-08-29 05:40:07 | 全文 | 评论(0)

 
I've only just announced my session at this year's SymfonyCamp, and already I can announce the next one. I will be speaking at this year's installment of the International PHP Conference, one of the biggest conferences in the PHP realms of this world.

2008-08-29 04:40:06 | 全文 | 评论(0)

 

To make it short: FrOSCon 2008 was as expected - fantastic. :)

I'll try to summarize the best things during the last weekend in following.

The PHP Usergroup Dortmund arrived on Friday evening at Thomas' place, who invited us for Papaya ;) Cocktails. We had a quite funny evening and stayed at Thomas' and Bastians home to be at FrOSCon early on Saturday morning. Thanks for the cocktails and accommodation, guys!

The start of FrOSCon was absolutely fluent and problem less. We reveived our auditorium through the VIP entrance and got started with our talks immediately. 2008-08-29 04:40:06 | 全文 | 评论(0)


 
MemcacheD is a very cool piece of software. When i did some optimization of a cluster based webapp lately, i was wondering how Memcache was speading my cache entries over the cluster. So i did some research for monitoring tools. A simple approach to monitoring would be to use Cacti to monitor status values like Cache usage, hits/sec etc. This can be done by a template like this. An alternative was provided by Harun Yayli: His memcache.php which somewhat resembles the APC status page and now is a part of PECL/memcache is easy to setup and works well. It also allows to dive into the data structures but you need to decide for one server first, then click into a "Slab" and then you see the keys. Inspired by this, i wrote a small script that fetches all data from a memcache cluster, gets all keys out of it and then sorts and displays them in a list. Yes it it ugly and yes: the memcacheD is not answering other requests while doing a cachedump. But i fo ......

2008-08-29 04:40:06 | 全文 | 评论(0)

 

Your good comments from all over the world about memcache.php is amazing. Thank you all!


I’ve recently received a contribution from Michael Gauthier. I took the liberty to tweak a bit and now memcache.php can flush individual server (no flush all servers yet).


File is now updated and you can get it from here.


PS: I still receive any feedback from pecl guys about my previous update. I’ll post this to them again. I’ll announce when this version is in pecl/memcache CVS.

2008-08-29 03:40:09 | 全文 | 评论(0)

 

To make it short: FrOSCon 2008 was as expected - fantastic. :)

I'll try to summarize the best things during the last weekend in following.

The PHP Usergroup Dortmund arrived on Friday evening at Thomas' place, who invited us for Papaya ;) Cocktails. We had a quite funny evening and stayed at Thomas' and Bastians home to be at FrOSCon early on Saturday morning. Thanks for the cocktails and accommodation, guys!

The start of FrOSCon was absolutely fluent and problem less. We reveived our auditorium through the VIP entrance and got started with our talks immediately. 2008-08-29 03:40:09 | 全文 | 评论(0)


 
  SugarCRM Developers Blog: Enabling IMAP support under OS X Leopard

John Mertic passed along a note about a new post to the SugarCRM developers blog detailing how to enable IMAP support for PHP on an OS X machine.

With the release of Mac OS X 10.5 Leopard last fall, Apple (finally) included a modern version of PHP (currently version 5.2.6 as of this writing). [...] However, the default install of PHP that Apple included didn't include all of the available PHP extensions. Most notable is the IMAP extension, which is used in SugarCRM for the Campaigns and Emails modules. However you can build this extension and have it loaded dynamically, without affecting the rest of the default PHP install.

He shows where to get the packages and libraries you'll need to get the support working. The method involves building a shared module and including it to be loaded in your php.ini. This way it doesn't disrupt any ......

2008-08-29 02:40:09 | 全文 | 评论(0)

 
  John Mertic's Blog: Enabling IMAP support under OS X Leopard

John Mertic passed along a note about a new post to his blog detailing how to enable IMAP support for PHP on an OS X machine.

With the release of Mac OS X 10.5 Leopard last fall, Apple (finally) included a modern version of PHP (currently version 5.2.6 as of this writing). [...] However, the default install of PHP that Apple included didn't include all of the available PHP extensions. Most notable is the IMAP extension, which is used in SugarCRM for the Campaigns and Emails modules. However you can build this extension and have it loaded dynamically, without affecting the rest of the default PHP install.

He shows where to get the packages and libraries you'll need to get the support working. The method involves building a shared module and including it to be loaded in your php.ini. This way it doesn't disrupt anything the current bui ......

2008-08-29 01:40:16 | 全文 | 评论(0)

 

This is the fist time I have heard Rasmus Lerdorf speak and it was entertaining to say the least. Refreshing would another way to describe it, I enjoy hearing real opinions and not holding back — Rasmus doesn’t hold back.

Just a short background, Rasmus Lerdorf is the creator of PHP and still continues as a core developer to the PHP project.

PHP frameworks

In his address he choose to highlight PHP frameworks (Drupal was not spared) and how poor they are at performance. Not only are they slow, but their "jack-of-all-trades" attitude leads developers down the wrong path by not using what is best for the job. He continues on by stating that PHP developers really need to think about performance for not only scalability reasons but for green reasons. If programs were more efficient it would ......

2008-08-29 00:40:13 | 全文 | 评论(0)

 


We're getting ready to release Zend Framework 1.6.0. However, one important
Dijit had to be omitted from the release as I was not able to get it working
in time: dijit.Editor.




This dijit is important as it provides an out-of-the-box WYSIWYG editor that
you can use with your forms. Unfortunately, actually using it with forms is
pretty tricky -- Dojo actually ends up storing content outside the
form, which means you need to create a handler that pulls the content into a
hidden element when saving.




I have created an implementation, however, that you can start using
now, and I'm posting it below. It includes both a view helper for displaying
it, as well as a form element for use with Zend_Form.



Continue reading "Using dijit.Editor with Zend Framework"

2008-08-29 00:40:13 | 全文 | 评论(0)