最新动态
  • news日志翻译系统开通
  • QQ 本站QQ群:54245128(满)
  • ZF QQ ZF QQ群:25125789
  • ZF MSN ZF MSN群:group57479@xiaoi.com
用户登录
  用户:
  密码:
       注册 | 忘记密码
常用链接
本站Logo

 
Powered By
HappyCMS 0.3.0

Zend Framework 1.6.1

SiteMap | BBS Archives

站点链接
论坛新贴 最新精华
最新翻译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)
 全球PHP博客聚合         中文博客 | 英文博客      种子列表      
收缩所有 | 展开所有
 
  NETTUTS.com: The Best Ways to Fight Spam

Spam is a constant burden for anyone on the web, be it through email or via something like comments on a website. The NETTUTS site can't help so much with the first one, but they've come up with a new tutorial that can help with the second with a few methods.

Deciding on the best method of spam prevention on your blogs, forums, or even contact forms can be difficult. In this article we will take a look at a service called Akismet and how it can help. We will also look at why some other methods of fighting spam fail.

They give a few ways to waylay the spammers including:

  • Disallowing multiple consecutive submissions
  • Keyword Blacklist
  • CAPTCHA
  • and a service called Akismet

They go into a bit more detail on this last one, even going so far as to included code ( 2008-10-06 22:40:03 | 全文 | 评论(0)

 
  Jani Hartikainen's Blog: Making a PDF generator class using Zend_Pdf


Using the Zend_Pdf component of the Zend Framework Jani Hartikainen has created a simple way to make a PDF generator class that uses templates and content arrays/XML to create the new files.



There are some expensive libraries that you can use to generate PDF files...but why bother with them, when there are good free alternatives like Zend_Pdf? [...] Since this is a quite repetitive task, let's also create a PDF generator class to help us. In case you don't have Zend_Pdf, just download Zend Framework to get it.


He shows how to set it up to work with basic PHP arrays to pull the content from as well as an XML structure with the same sort of information. You can download his class here.

2008-10-06 22:40:03 | 全文 | 评论(0)
 
It's been a week since we "rebooted" the php|architect brand—time for some thoughts, lessons learned and selected statistics.

First of all, the reason why we did this. Many people have written me personally wondering what madness possessed me to authorize a price drop of over 50%, and moving to a colour-only, print & PDF format—some actually questioning my motives, as if the changes were really the result of an alliance with some sinister external corporate force that is silently taking over our company.

Reality is always much duller than fiction
From a certain point of view, during a period of questionable, government-sponsored bailouts that appear to reward incompetence and crime, I can see how people would welcome the news with suspicion. After all, when a box of pasta has doubled in price over th ......

2008-10-06 21:40:07 | 全文 | 评论(0)
 
  Jeremy Johnstone's Blog: Enums in PHP

In this new post Jeremy Johnstone looks at creating a class to add that's missing from the basic datatype set of the language - enums.

I stumbled across a blog post on how to implement Enums in PHP via userland code written by Jonathan Hohle. I liked the concept he had, but the implementation was a bit unappealing because it used eval() among other more minor issues. You shouldn't need to generate Enums at runtime, so I took that as a challenge to find a way to do it at compile time, thus making the code much more efficient.

His enums would support type hinting and would, ideally, be iterable. He gives the code he's worked up - a base class, another than extends it to make a basic enum structure and some handy changes to support comparisons. A few more change ......

2008-10-06 21:40:03 | 全文 | 评论(0)
 
I get this question a lot - “How do I change the background color of a single cell in a treeview?”
If you look around you’ll see a couple of ways of doing this using display callbacks and other highly processor and memory intensive methods - but there’s a much simpler way.
Let’s start at the beginning. [...]

2008-10-06 20:40:09 | 全文 | 评论(0)
 
  Community News: Latest PEAR Releases for 10.06.2008

 
This is pretty old news dating back to this spring, but the Danish IT and Telecommunications board (IT- og Telsestyrelsen) has published an experimental REST interface OIOREST for public data such as regions, municipalities, post codes, schools, streets, and addresses. And example of a query identifying a street: http://oiorest.dk/danmark/veje?q=frankrigsgade.OIOREST is a great initiative, and we hope it will be expanded to other datasources. There is one big concern though — it is not employing established data standards but instead using its own custom XML schemas.
What they should really consider is publishing the data as RDF in the Linked Data manner. That would make Denmark one of the pioneers not only in REST adoption, but also in the Semantic Web.

2008-10-06 17:40:06 | 全文 | 评论(0)
 
Tickets are now on sale for PHPNW - the PHP Conference in Manchester, UK, on November 22nd. This is a conference aimed at bringing together and promoting the amazing wealth of local talent and activity in PHP within the North West and wider area. The schedule is online already and tickets are priced at a very reasonable and credit-crunch-friendly £50 (with discounts for students and OAPs) - and all that isn't enough to persuade you, remember I'll be there on the day too :)

2008-10-06 16:40:10 | 全文 | 评论(0)

查看更多日志