今天抓紧时间又更新了一下任氏有无轩的首页的改造。在我已经获得了我的博客的若干最新帖子的前提下,我需要在首页上显示其中的几个。 我要解决两个问题:
- 对帖子的内容进行过滤。
- 对过于长的帖子内容进行截断。
(原文发布于2014年3月26日和4月5日,原文链接Getting Started with PHP Extension Development via PHP-CPP,以及PHP Extension Development with PHP-CPP: Object Oriented Code)
本文收录于[go4pro.org]
Running Press Book Publishers
2300 Chestnut Street
Philadelphia, Pennsylvania 19103-4317
To Whom It May Concern And Help,
I have bought your book God Created Integers (ISBN: 978-0-7624-3272-1) and finished reading.
I will be very much honored if I can translate this book into Chinese. There is one local publisher who is also very much willing to proceed once it gets the clearance on the copyright.
So far, the publisher has contacted your local representative in Beijing but no feedback yet.
This means no complaint to the representative but we would like to see a quicker movement on this.
Yours,
Taylor Ren
(原文发布于2014年3月4日,原文链接Functional Testing in Symfony 2)
本文收录于[go4pro.org]
=====
基于《Symfony 2中的批量数据生成》,我们可以对页面进行有控制的功能测试。所谓“有控制”,意为在测试数据是受控产生的前提下,假定程序逻辑没有问题,那么结果应该是如我们所预期的那样受控。否则程序一定有问题。
(原文发布于2014年2月24日,原文链接:Data Fixtures in Symfony 2)
本文收录于[go4pro.org]
=======
本文介绍了在Symfony 2中使用Data Fixtures工具进行批量数据生成的方法。特别介绍了牵涉到1-M等主从表之间PK关联的数据的生成方法。
(原文发布于2014年2月5日,原文链接Cursors in MySQL Stored Procedures)
本文收录于[go4pro.org]
====
这篇文章继续了我之前《存储过程》的讨论,专注在讨论Cursor(光标)。这篇的讨论也很热烈。
(原文发布于2014年1月29日,原文链接Arbitrary Precision and Big Numbers in PHP)
本文收录于[go4pro.org]
====
严格的说,这是一篇纯算法的文章,文中讨论了三个PHP库:BC,GMP,php-bignumber,并分别用计算圆周率和进行RSA加密/解密进行了演示。
(原文发布于2014年1月20日,原文链接Integrating Polymer/Dart and Symfony – Part 2)
本文收录于[go4pro.org]
====
在第二部分,我继续讨论Symfony和Dart的整合,还是异步数据的获得——但注重在远程数据,并讨论了一种避免JSONP的方法。同时,对编译为JavaScript后的Dart的局限性进行了讨论。