Professional Documents
Culture Documents
-3-
前 言
最新翻译文章请浏览 QQ 群空间:http://group.qq.com/group_index.shtml?groupid=25186583
翻译团队:双瞳、$劣头→ 翔℃ 、bob
编辑团队:江浪菜菜
-2-
目 录
封 面 .................................................................................................................................................. 1
前 言 .................................................................................................................................................. 2
目 录 .................................................................................................................................................. 3
一、IMPROVE WEBSITE LOAD TIME BY 500% WITH 3 LINES OF CODE ($劣头→ 翔℃
译).............................................................................................................................................. 4
二、WHAT IS MISSING IN PHP SOAP EXTENSION? ($劣头→ 翔℃ 译) ................................ 5
三、5 ESSENTIAL DEVELOPMENT FACTS EVERY PHP DEVELOPER SHOULD KNOW
($劣头→ 翔℃ 译) .................................................................................................................... 6
四、USING YAHOO! WEB SERVICES WITH PHP 5 (BOB 译)................................................. 7
五、WRITING A CMS/COMMUNITY WITH SMARTY AND THE ZEND FRAMEWORK:
PART 8 (BOB 译) .................................................................................................................... 8
六、CREATE A FACEBOOK APPLICATION WITH PHP (BOB 译) ......................................... 9
七、ECLIPSE 和 PHP (BOB 译) ................................................................................................... 10
八、CYGWIN (双瞳 译) ................................................................................................................ 11
九、TRACING PHP APPLICATIONS WITH XDEBUG (劣头→ 翔℃ 译)................................ 12
十、FROM PHP TO RUBY - 30 SIMILARITIES AND DIFFERENCES (劣头→ 翔℃ 译)....... 13
十一、THE BAKERY:EIGHT NEW ARTICLES, HELPERS & COMPONENTS (劣头→ 翔℃
译)............................................................................................................................................ 14
封 底 ................................................................................................................................................ 15
-3-
国外 PHP 动态
2007 年 1 月[第四期]
原文:
Leon Chevalier has posted about a class he's developed (you can download it) that can help
to speed up the load times for your site. There are 4 relatively easy ways by which you can
speed up the time it takes a browser to download a page. Following on from my post on joining
CSS and JavaScript files, I have written a PHP script which will automatically do all of the
above. He gives example code of the class in action and includes some screenshots of the
benchmarks from the YSlow Firefox extension showing the improvements.
译文:
原文地址:http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/
下载地址:http://aciddrop.com/2008/01/23/site-speed-boost-script-updated/
发布时间:2007-1-5
原文:
On the PHP Web Services blog today, Sami asks "what's missing from PHP's SOAP
extension" that needs to be added or corrected. PHP SOAP extension is good to get started, to
play around with. However, it falls much short in meeting the enterprise demands in the SOA
era. He talks about things missing (like binary file features and lots of security features). He
also notes something that most PHP developers love about the extension - the WSDL parsing
that makes it so easy to simply call a remote service without having to go through the pain of
hacking through it yourself.
译文:
PHP SOAP 扩展缺了什么? 在今日的 PHP Web Services blog 上,Sami 提问:
“PHP
的 SOAP 扩展中缺少了什么”需要被增加或更正的。 PHP SOAP 扩展容易上手,起步
简单。然而它在满足 SOA 时代的企业需求方面有很大欠缺。他讨论了欠缺的因素(比如
二进制文件特性和许多安全特性)。同时他也提到了大多数 PHP 开发者喜好这个扩展-
WSDL 解析令呼叫远程服务如此简单,免去亲自操劳之苦。
原文地址:
http://phpwebservices.blogspot.com/2008/01/what-is-missing-in-php-soap-extension.html
原文:
The Developer Tutorials website has started up a blog and has already posted some great
content to it including this new post covering five things that every PHP coder should know
about development. There's always a bridge between textbook knowledge of programming -
syntax, procedure etc. - and the real world knowledge that you get from actually developing
real applications. Here are five things every PHP developer should be familiar with before they
begin developing web applications in PHP The list is: * Frameworks * Templating engines
Code availability * Don't reinvent the wheel * IRC is a wonderful thing I'm a particular fan of
that last one and regularly hang out in the same ##php channel over on Freenode.
译文:
原文地址:
http://www.developertutorials.com/blog/server-side-scripting/php/5-essential-facts-every-p
hp-developer-should-know-6/
发布时间:2007-1-8
原文:
On DevShed a new series has started (a six-part one) with This new tutorial posted today
talking about the use of the Yahoo! web services in a PHP5 application. It's not my intention to
provide you here with a fully-featured guide on how to use Yahoo!'s Web services with PHP 5,
because the best place to go is simply the aforementioned Developer Network. Instead, I'll offer
to you a bunch of code samples that hopefully will assist you in the development of PHP 5
applications that will utilize some of these useful web services. You'll need to get an
Application ID to work with before you get started (go here to sign up, you'll also need a Yahoo!
ID), but the rest of the code is provided. They make a search request to the Yahoo! backend for
"madonna" and show the XML formatting of the results. They also include examples of
querying two other services offered by the company's backend API - video search and an image
search.
译文:
原文:
The ProDevTips website has posted the eighth part of their series looking at using the Zend
Framework and Smarty to create your own custom CMS/community website: The blog saga
continues, we still don’t have any fancy Wordpress style filtering of the content. You know,
creating these nice looking quotes and filtering potentially nasty html and stuff. Sure enough,
TinyMCE has some function for allowing only certain tags and discarding others... They work
on some of the administrative functionality and methods to grab more custom lists of articles.
They cover some of the Smarty templates for the admin pages and the new functionality to
handle things like removing articles and updating their contents.
译文:
发布时间:2007-1-13
原文:
The DeveloperTutorials website has a new tutorial posted that walks the reader through a
step-by-step process to create a PHP Facebook application of their very own. Everyone is
talking about Facebook and their new Application Platform and I have to admit I think it's
pretty cool too. So I decided to create an application that uses the Facebook Platform. I'm
writing the application in PHP and I thought it might be useful for others to know how to write
their own Facebook applications with PHP. They show you where you'll need to go to set up an
ID with Facebook to develop with, the developer application you'll need to add, where to grab
the Facebook developer API and, finally, creating a simple application. Their example is just of
the "Hello World" sort, but it gives you a good foundation to start from. They also include
pointers to the Facebook Markup Language and a reference for the Facebook REST-based API
interface.
译文:
发布时间:2007-1-15
原文:
The Tiger Heron blog has a new post from Tony Freixas looking at some of his experiences
working with PHP in the Eclipse editor (including a mini-installation tutorial). In my last article,
I talked about installing PHP. With PHP installed, you will want to start writing code, so today's
article is about developing PHP using the open source Eclipse integrated development
environment (IDE). He talks about what the Eclipse software has to offer before getting into the
download and installation part of the tutorial. He goes all the way through - from configuration
out to creating a sample PHP application (and debugging) with the software.
译文:
八、 Cygwin (双瞳 译)
发布时间:2007-1-17
原文:
Project Goal The Cygwin GNOME project aims to port the GNOME desktop to Windows
OS, using Cygwin as a porting tool and user environment. This project is based on the Cygwin
GNOME patches contributed by Steven O'Brien. Without his great work (and some others'
efforts), this project won't come to reality. We also had some additional applications ported to
Cygwin. To make maximum use of the power of Cygwin and Cygwin/X (together with the
libraries and applications already ported to Cygwin), currently we have no plan to make any
effort toward the native Windows UI. Please visit http://www.gimp.org/win32 for some info
regarding that aspect. And gtk2 on Cygwin also have got Win32 UI port of gtk2 and some other
libraries. Some complain that projects like CyGNOME is preventing 'Windows users' from
'converting' to *NIX. This is not true, we belive it is the other way. To clear these doubt please
see article by Joshua Lokken an answer to those who complained about KDE-Cygwin (a similar
project, more KDE users comments, more KDE-Cygwin Press Articles).
译文:
原文地址:http://cygnome.sourceforge.net/
关于 KDE-Cygwin:
http://dot.kde.org/990126889
http://kde-cygwin.sourceforge.net/press.php
网站:http://www.phpchina.com 投搞:phper@phpchina.com 《PHPer》 - 11 -
国外 PHP 动态
2007 年 1 月[第四期]
发布时间:2007-1-20
原文:
Continuing on from the previous part of his series, Stefan Priebsch has posted part two of
his look at using XDebug over at the Zend Developer Zone. Welcome to the second installment
of our five-part series of articles on xdebug, the PHP developer's swiss army knife extension.
The installation of xdebug and its basic features were covered last week. This week, we will
explore the tracing feature of xdebug. He details what tracing is and how it's helpful (no more
repetitive var_dumps!) in finding issues in your code. He shows how to set up a trace log, add
the code to your application to pass debugging information off to the log and how to add
additional information to the log to make narrowing down the error even easier.
译文:
原文地址:http://devzone.zend.com/article/2871-Tracing-PHP-Applications-with-xdebug
发布时间:2007-1-24
原文:
Reinhold Weber has posted his lists of some of the similarities and differences between
Ruby and PHP: If you are a PHP developer chances are you have heard some of the buzz on
Ruby on Rails, an open source web framework for rapid application development. [...] These
are similarities and differences of Ruby compared to PHP. If you know PHP, this should give
you a good and quick insight in what Ruby is all about and how it compares to PHP. Some of
the similarities include the dynamic typing, class scoping, heredoc abilities and current object
references. Differences include syntax differences, method calling, naming conditions and
Ruby's lack of interface/abstract classes.
译文:
原文地址:http://reinholdweber.com/?p=7
原文:
The Bakery has a few new articles, helpers, components - even an event posted including:
Want to order your SQL Persian Date Helper Using equalTo Validation To Compare Two Form
Fields CakeFest: 2008-02-06, Orlando, FL Asset Mapper Modified Preorder Tree Traversal
Component Ajax elements available anywhere Bindable Behavior: control your model bindings
Keep an eye on The Bakery for more great CakePHP-related content.
译文:
原文地址:http://bakery.cakephp.org/
封 底