用户登录
  用户:
  密码:
        注册 | 忘记密码
PHPEye 协作项目
PHP 手册翻译
PHP手册翻译
中文手册 | 英文手册
翻译进度 | CHM下载


Zend Framework 手册翻译
中文手册 | 英文手册
翻译进度 | 参与翻译
入门教程 | 讨论版块
翻译书籍:
PHP程序设计第二版 PHP对象、模式与实践
广告:
推荐新书:正在爆发的互联网革命
本站Logo

 
Powered By
HappyCMS 0.4.0

Zend Framework 1.9.5

SiteMap | BBS Archives

站点链接
论坛新贴 最新精华
最新翻译Blog 更多»
   [helloyou] Jani Hartikainen的博客 --- 优化代码 ...    [wulijun01234] 社区新闻:Windows版PHP缓存加速器 ...
   [wulijun01234] PHP中的策略模式    [wulijun01234] 关于注释的建议
   [wulijun01234] 冻结和解冻PHP对象    [wulijun01234] PHP5.3的新特性(一):对象接口的变 ...
   [wulijun01234] 如何创建更友好的随机密码 ...    [wulijun01234] PHP中构造GET查询字符串的捷径 ...
   [wulijun01234] PHPUnit 3.4中的新特性:Test Depend ...    [wulijun01234] 停止CSRF保护的误用
   [wulijun01234] 优化你的(ZF)web应用    [wulijun01234] 再论代码之美——PHP实战
   [wulijun01234] PHPro.org:应用配置    [wulijun01234] 用于解决PHP 命名空间分隔符输入问题 ...
   加入 | PHPEye翻译小组: mayongzhan (18) wulijun01234 (17) iwind (10) ringtail (9) haohappy (6) helloyou (3) jasonqi (0) littlexiang (0)
 

If you’re anything like me, you’d sooner forgo water than Firebug when working on a web project. The little ’bug is a fantastically useful html/CSS/JavaScript/Ajax debugger. But did you know it can also be used to debug PHP? Yes, thanks to an additional Firefox extension called FirePHP.

By combining this extension, which sits on top of Firebug, with a server-side library, your PHP scripts will be able to send debugging information to the browser, handily encoded in the HTTP response headers. Once you’re set up, you can log warnings and errors in your PHP scripts to the Firebug console, just as if you were developing JavaScript.

To start, you first need to install the FirePHP extension from Mozilla’s Firefox Add-ons sit ......

 

虽说年底是 IT 事故多发的期间,不过这次民生银行系统瘫痪事故还是让人觉得有点严重。事发 2 月 3 号,从上午11:00到下午15:30,故障持续四个多小时,全行系统瘫痪。对外称是"核心系统维护"。



个人之所以比较关注这个事故,是因为新闻标题中的"数据库维护失误"。据说是"由于数据系统进行维护时出现了失误,造成宕机"。开始的时候,大家把关注的焦点放到灾备切换与否的问题上,据说是"没敢切换"。初看上去倒是有点像 DBA 误操作。有人说是和时间服务器有关,我错过了讨论现场。



也有朋友在 Twitter 上说:民生银行上周的系统宕机事故,源于IT部门某应用系统数据库(应该是 DB2,数据库版本老旧,且无正常维护服务),一个应该在夜间处理的长任务,运行到银行开门也未结束,该系统正常时的CPU使用率就已经到达70-80%,长任务从夜里一直跑到上午无法停止,把本来就不堪重负的业务系统拖慢到不能忍受,由于数据库版本 EOS ,无厂商实验室的工具支持无奈之下,要求重启相关系统,结果造成业务停止。事件的(后续)处理还在进 ......

2010-02-09 11:40:56 | 全文 | 评论(0)
 
Am kommenden Donnerstag, den 11.02.2010 findet wieder ein öffentlicher Vortrag im Mayflower Büro in München statt (Mannhardtstraße 6, S-Bahn Isartor).
Beginn ist um 18:00 Uhr, Thema des Vortrags ist "Continuous Integration und Cruise Control im Projekteinsatz"



Sebastian Springer zeigt wie man Continuous Integration in PHP-basierten Entwicklungsprozessen einsetzen kann, insbesondere mit dem CruiseControl Framework.



Die "Donnerstags-Vorträge" werden sowohl in München als auch in Würzburg gehalten. Bei Interesse einfach das Blog beobachten, um auf dem Laufenden zu bleiben!
Wir freuen uns auf viele Teilnehmer!

2010-02-09 08:40:09 | 全文 | 评论(0)
 
  Benjamin Eberlei's Blog: Resources for a PHP and Hudson CI Integration

Benjamin Eberlei has a new post to his blog today pointing you to some PHP & Hudson CI integration resources that can help you get this powerful combination up and running for your deployment process.

Although phpUnderControl is the most wide-spread, but from I heard complex to setup/maintain, solution supposedly a hack and Arbit just in an early Alpha I decided to give Hudson a shoot. Another reason for this decision, I heard it has a simple plugin architecture and is easy to install and use.

He moved away from his own bash script-based CI setup towards something a bit more technical, something that would give him a bit more control over running unit tests, create code coverage, etc. He lists three sites that helped him get his Hudson install up and running and another is mentioned in the comments

2010-02-09 04:40:03 | 全文 | 评论(0)
 
  CatsWhoCode.com: How to easily monitor your web server using PHP

In a new post to the CatsWhoCode.com blog Jean-Babtiste Jung walks you through the creation of a simple monitoring script written using just PHP that can tell you if your web site is up and responsive.

In order to make sure that your website is always available to the public, you have to monitor it. In this tutorial, I'll show you how you can easily create a monitoring script that will check your website availability and send an email or sms alert to you if it isn't.

They have a snippet of code (about 15 lines long) with a function you can call to check a remote host's connection and check the returned data for a certain string. This can not only ensure that your site is responsive but also that it's not responding incorrectly. You could even use this to hit a certain monitoring page of your site to check for certain things (like database connecti ......

2010-02-09 04:40:03 | 全文 | 评论(0)
 
  Blue Parabola Blog: Lies, Damn Lies, and Statistics - Zend's Drupal Benchmarks

New on the Blue Parabola blog today, there's an article from Keith Casey trying to set the record straight on some recent benchmarks put together by Zend and Acquia showing the performance of Drupal.

While I have not attempted to duplicate or validate any of their individual numbers or conclusion as a whole, I have been a Drupal user for well over five years and have launched 30+ sites on it.

With this experience to back him up, he points out a few things about the report that either needed work or were misleading in their results. This includes a limitation on the web server configurations they covered, the statistics on Windows performance (might turn people off to using it on this platform) and the emphasis being put in some of the wrong places - optimizing PHP versus Drupal.

He recommends that, like ......

2010-02-09 02:40:04 | 全文 | 评论(0)
 
  Xebee Blog: Test Driven Development with Zend Framework and PHPUnit

On the Xebee blog there's a recent post looking at test-driven development with the Zend Framework and PHPUnit. They show how they work well together and make it simpler to use TTD to create and test your applications.

Over the past few days I was going through the Zend Framework reference docs and I found myself pleasantly surprised with all that the latest version of this web application framework provides. [...] Out of the many new features, what stood out for me was the ease with which Zend Framework and PHPUnit complement and work with each other.

He talks about some of the features of PHPUnit (including dependencies, testing for exceptions and errors) and how it fits into a good deployment strategy. He shows how you can use the Zend_Test component of the framework, along with the Zend_Test_PHPUnit features, ......

2010-02-09 02:40:03 | 全文 | 评论(0)
 
We have been using tpcc-mysql benchmark for long time, and there many results published in our blog, but that's just single workload. That's why we are looking into different benchmarks, and one
of them is TPCE. Yasufumi made some efforts to make TPCE working with MySQL, and we are making it available for public consideration.
You [...]
2010-02-09 01:41:05 | 全文 | 评论(0)