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


Zend Framework 手册翻译
中文手册 | 英文手册
翻译进度 | 参与翻译
入门教程 | 讨论版块
Haohappy 翻译书籍:
PHP程序设计第二版 深入PHP:面向对象、模式与实践
国内唯一PHP面向对象开发书籍
勘误 | 书评 - 卓越 | China-pub
本站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)
 
  /Dev/Hell Podcast: Episode 4: The Cool Kids Club

The latest episode of the "/dev/hell" podcast has been released - Episode 4: "The Cool Kids Club".

Our fourth episode is all ready for your listening pleasure. In this exciting episode we focus on "The Conference Experience" and discuss why programming conferences are so important to developers. Chris talks about why CodeMash was so awesome and the awesome talks full of awesomeness that he attended. Ed talks about his own experiences with speaking and attending conferences, complete with a total derail by Chris on why a certain conference rubbed him the wrong way. Oh yeah, you also find out our opinions on what constitutes a "well-written PHP application". I'm sure you will be surprised by our answers.

You can either listen to this latest episode either via the in-page player or you can 2012-01-28 03:40:04 | 全文 | 评论(0)

 
  Project: Patchwork-UTF8 - UTF8 Support for PHP

Nicolas Grekas has shared another tool that he's pulled out of his "Patchwork" framework to make it a stand-alone tool: the Patchwork-UTF8 helper that provides matching functions to those PHP already has for regular strings, but a little smarter to work with UTF8 correctly.

The PatchworkUtf8 class implements the quasi complete set of string functions that need UTF-8 grapheme clusters awareness. These functions are all static methods of the PatchworkUtf8 class. The best way to use them is to add a use PatchworkUtf8 as u; at the beginning of your files, then when UTF-8 awareness is required, prefix by u:: when calling them.

In the README for the tool he talks about the functions included in the current release that match PHP's string functions as well as some additional methods like "isUtf8", "be ......

2012-01-28 01:40:03 | 全文 | 评论(0)
 
  Charles Sprayberry's Blog: Why you should use DI

In this recent post from Charles Sprayberry he explains why using dependency injection (DI) in your application is a good idea and can help make things easier in the long run.

Dependency Injection is just a fancy term for passing dependencies to the object needing them instead of letting the object create its own. Hopefully, you've watched this great Google Clean Code talk about dependency injection by Misko Hevery where he talks about why you should ask for things instead of looking for them. I'm gonna talk about some reasons to use DI beyond just those presented in the video.

He breaks it up into a few different sections:

  • It helps in the battle against global state
  • It helps your design
  • It makes using the single res ......
2012-01-28 00:40:03 | 全文 | 评论(0)
 
  Mike Wallner's Blog: Dropping server load with HTTP caching


Mike Wallner has shared a quick and easy HTTP caching technique in a new post to his blog today. The key is in using the PEAR HTTP_Header package.



Ever watched youself browsing e.g. a web forum? Noticed that you viewed the same page several times? Well, this means extraordinary and useless load for your server if there's no caching mechanism implemented in the web application. Even if there is some file or db cache you can still improve performance with implementing some http cache.


With a few simple lines of code using HTTP_Header, you can tell your scripts how long to set the "expires" header to on your requests. This increment (in seconds) is relayed to the browser to tell it when to next fetch the page and not reload from cache.

2012-01-28 00:40:03 | 全文 | 评论(0)
 
  Ibuildings Blog: 2011: A Year in PHP

On the Ibuildings blog today there's a year in review post (from Ben Longden, Rowan Merewood and Alistair Stead) looking back at 2011 and everything that happened in the world of PHP.

2011 has flown by in a blur as we have been busy helping many new clients with large scale PHP projects - proof that PHP continues to gain traction with enterprise. [...] The ongoing financial climate only adds pressure for IT managers to cut costs and deliver more value from their existing infrastructure and therefore require enterprises to re-consider any prior aversion to open source and PHP. This is allowing our industry to consistently buck the trend of the markets and expand to support the increased demand.

They list some of the changes in PHP itself, like the Release Candidates for PHP 5.4 and the 5.3 requirements of some frameworks, as well as some commu ......

2012-01-27 22:40:04 | 全文 | 评论(0)
 
  Site News: Popular Posts for the Week of 01.27.2012
 
  [MySQL Performance] MySQL Configuration Wizard Updated

We’ve released an updated version of the MySQL Configuration Wizard we announced at the end of last year. If you don’t remember that announcement, here’s the short version: this is a tool to help you generate my.cnf files based on your server’s hardware and other characteristics. We’ve gotten really good feedback on this tool, including [...]
2012-01-27 04:40:55 | 全文 | 评论(0)
 
  PHPMaster.com: Bending XML to Your Will

PHPMaster.com has a new tutorial posted today about "bending XML to your will" - working with XML data using the XML Parser and SimpleXML functionality already included with PHP.

If you've ever worked with the Twitter or Facebook APIs, looked at RSS feeds from a website, or made use of some type of RPC calls, you've undoubtedly experienced working with XML. [...] Knowing how to process XML data is a crucial programming skill today, and thankfully, PHP offers multiple ways to read, filter, and even generate XML. In this article I'll explain what exactly XML is, in case you haven't had any experience with it yet, and then dive into a few ways you can use PHP to bend XML to your will.

He introduces the concepts and syntax behind XML first for those not accustomed and quickly moves into the tools to ......

2012-01-27 01:40:03 | 全文 | 评论(0)