Featured Posts

纠结与释怀 这几天的纠结让我度日如年,伴随我的是焦虑和失眠。好久没有这样的感觉了。 我总是患得患失,这是一种心理问题,在做选择的时候,反复对比各方的优劣,放不下东,也舍不得西。 自己不知道怎么选择,然后反复问家人和朋友,即使问到答案,也不能让自己安心顺从。 幸运的是,在反复纠结之后,我逐渐想明白了一些道理。 选择,就要付出代价,必定有所得有所失,我应该勇敢承担起责任,坦然面对自己的选择带来的变化和影响。 纠结的时候,我感觉自己是个懦弱的人,害怕犯错,害怕不好的结果。 现在,我鼓起勇气,自己做出选择,不管对错,我接受,不后悔。 我要感谢猛哥,花费很多时间和精力,前后沟通,给我提供了非常难得的机会,在我最终没有选择这个机会的时候,仍然支持我的选择,并告诉我他这里的大门永远向我敞开。 此时,时间像突然停止了一样,飞快打字的手,也一下停住了,我反复看着这句话,感觉到眼眶周围热热的,滑滑的…… 我想我的勇气,多半来自于猛哥对我的关照。 我只求将来有机会能够报答猛哥的知遇之恩。 是时候为自己的选择努力工作了,大家一起加油!

Readmore

CentOS: cannot restore segment prot after reloc 最近在研究CentOS,用xampp装一套集成的LAMP环境,结果在启动Apache的时候报错: cannot restore segment prot after reloc: Permission denied 原因是 modules/mod_perl.so 不能加载。 查了一下可能是SELINUX的问题,有一个解决方法: 用 chcon...

Readmore

PHP 文件下载 IE 无法打开页面 IE 又有一个弱得不行的问题让我发现! 有个项目,要限制文件的下载权限,只有注册用户才可以下载,用户登录后,点击下载链接,弹出保存附件的提示。 我用...

Readmore

Subversion neon 诡异配置 一波三折 今天发现前几天装的 subversion 居然没法通过 http 协议访问版本库! Subversion 出现 svn: Unrecognized URL scheme for 'http://.....'  这样的错误提示。 检查 svn 客户端是否支持...

Readmore

  • Prev
  • Next

Object Oriented Javascript PDF ENG

Posted on : 15-12-2009 | By : leakon | In : Book, JavaScript

0

Object Oriented Javascript

这几天头大,钻研 prototype, prototype chains, scope, scope chains, constructor, closures 。

突然觉得自己根本不懂 Javascript。

把 《Pro Javascript Techniques》 有关 OOP 的部分仔细读了两遍,又看了半天这个链接:

http://www.jibbering.com/faq/faq_notes/closures.html

发现自己根本不懂 English,感觉这文章是用英文文言文写的?

有兄弟用自己的普通话大体翻译了下,写的还挺深入的,比较容易看懂:

http://www.zhuoqun.net/html/y2009/1203.html

各位对照着看吧。

为了进一步搞明白 Javascript 的对象继承机制,以及能设计出模块化的 Javascript Apps 平台,我找到了《Object-Oriented Javascript》这本书的 PDF 版,上面那个大图片是本书的封面。今晚好好研读一下。

我的服务器带宽实在是小,感觉像 1M 共享的,暂时先不提供下载了,给 2 个其他下载地址:

http://rapidshare.com/files/186330594/1847194141.pdf

http://www.itxuexi.com/resource/1291/

如果这 2 个地址失效,给我留言,我 24 小时内上传 PDF 到服务器供您下载。

看书去了……

三本新书 《The Art of Agile Development》《SQL for MySQL Developers》《走出软件作坊》

Posted on : 14-10-2009 | By : leakon | In : Book

0

《The Art of Agile Development》

The Art of Agile Development

The Art of Agile Development

敏捷开发的艺术,小团队,大作为!本地下载

《SQL for MySQL Developers》
A Comprehensive Tutorial and Reference

SQL for MySQL Developers

SQL for MySQL Developers

有些SQL我还不会写,多学学!本地下载

《走出软件作坊》

走出软件作坊

走出软件作坊

一个人,一条枪,也要成为正规军!本地下载

软件架构师应该读上两遍的十篇论文

Posted on : 29-03-2009 | By : leakon | In : Book

0

看到别人写的标题是:所有程序员都应该至少读上两遍的十篇论文。

我看了下英文原版地址:

10 Papers Every Software Architect Should Read (At Least Twice)

我觉得应该翻译成软件架构师~~

原文引用如下:

Earlier today I read a post by Michael Feathers Called "10 Papers Every Developer Should Read (At  Least Twice). I knew some of the articles mentioned there and learnt about few interesting ones.I liked it so much,  I thought I'd compile a similar list for software architects - based on stuff I read over the years.

1. The Byzantine Generals Problem (1982) by Leslie Lamport, Robert Shostak and Marshall Pease - The problem with distributed consensus
2. Go To statements considered harmfull (1968) - by Edsger W. Dijkstra - Didn't you always want to know why ? :)
3. A Note on Distributed Computing (1994) - by Samuel C. Kendall, Jim Waldo, Ann Wollrath and Geoff Wyant - Also on Michael's list but it is one of the foundation papers on distributed computing
4. Big Ball of Mud (1999) - Brian Foote and Joseph Yoder - patterns or anti-patterns?
5. No Silver Bullet Essence and Accidents of Software Engineering (1987) - Frederick P. Brooks - On the limitations of Technology and Technological innovations.
6. The Open Closed Principle (1996) - Robert C. Martin (Uncle Bob) - The first in a series of articles on Object Oriented Principles (you remember the debate on SOLID...)
7. IEEE1471-2000 A recommended practice for architectural description of software intensive systems (2000) various- It is a standard and not a paper but it is the best foundation for describing a software architecture I know.
8. Harvest, Yield, and Scalable Tolerant Systems (1999) Armando Fox, Eric A. Brewer - That's where the CAP theorem was first defined
9. An Introduction to Software Architecture (1993) - David Garlan and Mary Shaw - one of the foundation articles of software architecture field (although based on earlier work by the two)
10. Who Needs an Architect? (2003) Martin Fowler - Do we or don't we?

I could come up with quite a few more articles not to mention books that aren't in this list. However these are definitely some of the most influential papers I read.

我得好好读读~~

Conference PHP Quebec 2009

Posted on : 25-03-2009 | By : leakon | In : Book, PHP

0

一年一度的 PHP Quebec 大会,本月初在加拿大的蒙特利尔举办。这次大会的主题是 "Get Further with PHP",中文怎么说呢,“与PHP 一起深入发展”?

这是官方主页:

http://conf.phpquebec.com/en

我第一次听说这个 PHP Quebec 是在 2008 年,从网上找到一本 Symfony 的 PDF,是 Fabien Potencier (Symfony-Project 的创始人) 在 PHP Quebec 2007 上演示 Symfony 的。这个 PDF 我已经收藏,可以在我这里下载:

Symfony 文档 电子书 PHP Quebec 2007

今天恰好又看到新闻说到这个 PHP Quebec,去官网看了下,有好多演讲主题,最让我兴奋的是有 40 多份 PDF 和 PPT 文档可供下载!!!

这里是下载页面,着急的朋友就先去下吧:

http://conf.phpquebec.com/en/slides

虽然看 PDF 没有去现场效果好,但是从这些资料中,我们可以看到在 PHP 这个圈子中,国外的最先进的模式和理念。多看看人家是怎么应用 PHP 的,再看看自己哪些地方跟人家相比还有很大差距,早点下功夫弥补。甚至受到他们的启发,自己去创造一些新的应用。省得人家总说我们中国人没有创新力,只会抄袭。

不要光埋头苦干,应该抬起头,看看新的世界是什么样子。也许我们能够从中学到事半功倍的做事方法。

为了大家能方便地下载那些 PDF,我写了个 Linux 下运行的 sh 脚本,就是 wget 所有的 url,不过有些 url 是引用到另一个 site 的 flash 或 html,没法下载,我就直接过滤掉了,这样的 url 有 3 个:

  • http://www.slideshare.net/coogle/beyond-the-browser
  • http://conf.phpquebec.com/slides/2009/Building-applications-with-Yahoo-Pipes
  • http://csarven.ca/presentations/microformats-05

大伙儿自己单独下吧。

我的 sh 脚本在这里下载:

>>无敌下载 sh (linux 命令行)<<

 

贴心提示!

建议用 nohup 在后台运行,省得不小心 shell 断了又得重新下!

shell> nohup sh get_pdf_php_quebec_2009.sh > log.txt 2>&1 &

编程珠玑 2 中文影印版 PDF 下载

Posted on : 08-01-2009 | By : leakon | In : Book

0

找到中文版的,共享一下,提供下载。

服务器资源有限,请单线程下载,谢谢!

编程珠玑 2 中文影印版 PDF 下载 

带目录的版本,有图为证:

programmingpearls_2

看图里的链接,从 2ccc.com 下载的。

我这里要下载不了,请大家去那里找。

MooTools Essentials: The Official MooTools Reference for JavaScript and Ajax Development

Posted on : 17-11-2008 | By : leakon | In : Book

0

MooTools,是 My Object Oriented JavaScript Tools 的缩写,我的面向对象的Javascript工具!

看别人的评论,说这个Javascript框架在扩展性上得益于面向对象的设计,比JQuery做得更好。

今天找到了介绍这个框架的电子书,顺便提供下载。

下载地址:

http://down.leakon.com/software/2008/11/Apress.MooTools.Essentials.Aug.2008.pdf

新书上架 2007年出版

Posted on : 13-12-2007 | By : leakon | In : Book

1

今天下了几本电子书,主要是网站开发方面的,看书名就知道是好书了。

给大家分享一下,都是英文版的,既能学知识,又能练英语阅读!

只要抽出时间认真看看,一定会有很多收获。

其实很多牛人,并没有多聪明,只是多看了几本书而已……

  1. OReilly High Performance Web Sites Sep 2007
  2. Pragmatic Design Accessible Web Sites Nov 2007
  3. pragmatic bookshelf interface oriented design jun 2006
  4. OReilly Understanding MySQL Internals Apr 2007
  5. Pragmatic Prototype and script aculous Dec 2007
  6. OReilly An Introduction to Testing Web Applications with twill and Selenium 2007
  7. ZK Ajax without the Javascript Framework

电子书 下载 Web2.0 PHP Javascript Ajax pdf eBooksBoard ebook

Posted on : 18-09-2007 | By : leakon | In : Book, 转载

0

这里有最新的电子书下载!

Javascript Ajax

这是前一段时间发现的一个网站,里面都是技术类的电子书,可以随意下载。

注意,这里的电子书都保存在 rapidshare.com,这是一个免费存储文件的地方。

选中一本书下载的时候,会跳到一个英文的宣传页面,只要点击下面的 'free' 按钮,就会打开一个选择服务器的页面,输入验证码后就可以下载了。

因为是免费存放的文件,下载速度可能比较慢,但基本上都可以下载。

看见好书,就别再犹豫了,搞不好过一段时间就没有免费下载了。

网站地址:http://www.ebooksboard.com/

php|architect's Guide to PHP Design Patterns PDF

Posted on : 05-09-2007 | By : leakon | In : Book

0

Guide to PHP Design Patterns

ISBN 0-9735898-2-5 (php|architect NanoBooks)
336 pages
Publication Date: July 25th, 2005 (available for purchase now!)
Written by Jason E. Sweat
Technical review by Marcus Baker

Table of Contents

  1. Preface
  2. Programming Practices
  3. The ValueObject Pattern
  4. The Factory Pattern
  5. The Singleton Pattern
  6. The Registry Pattern
  7. The MockObject Pattern
  8. The Strategy Pattern
  9. The Iterator Pattern
  10. The Observer Pattern
  11. The Specification Pattern
  12. The Proxy Pattern
  13. The Decorator Pattern
  14. The Adapter Pattern
  15. The ActiveRecord Pattern
  16. The TableDataGateway Pattern
  17. The DataMapper Pattern
  18. The Model-View-Controller Pattern
  19. Conclusion

Appendices:

  1. Patterns Quick Reference
  2. SimpleTest Testing Practices

本地下载:http://down.leakon.com/software/2007/09/Guide_to_PHP_Design_Patterns.zip

php|architect's Guide to PHP Security PDF

Posted on : 05-09-2007 | By : leakon | In : Book

0

Guide to PHP Security


ISBN 0-9738621-0-6 (php|architect NanoBooks)
201 pages
Publication Date: September 5th, 2005 (Available now!)
Written by Ilia Alshanetsky
Technical review by Marco Tabini
With a Foreword by Rasmus Lerdorf

Table of Contents

  1. Input validation
  2. Cross-site Scripting Prevention
  3. SQL Injections
  4. Code Injections
  5. Command Injections
  6. Session Securitiy
  7. Securing File Access
  8. Security Through Obscurity
  9. Sandboxes and Tar Pits
  10. Securing Your Applications

本地下载:http://down.leakon.com/software/2007/09/Guide_to_PHP_Security.zip