摘要: 卷二介绍在今天,web开发的重点已经从躲在防火墙后的孤立系统走向各个应用间的互联互通,彼此之间能实时通信。CI的可扩展让它能非常容易地创建API,并允许你的应用分享数据和功能。本书中,你会了解到现代RESTful API设计背后的原理以及一些有用的实施细节,比如怎样版本控制,怎样使用HTTP定义内容... 阅读全文
posted @ 2013-03-08 09:15 Partoo 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 有几年没进“园子”了,这还是13年鼓捣CI时翻地两篇文章,当时还为把"Fat Model,Thin Controller"翻成“轻Controller,重Model”很是得意了一阵儿。这两篇应该不完整,一直放在草稿箱里。作者忘记名字了,只记得知道Laravel也是通过他,可惜连原文也找不到了。第一部... 阅读全文
posted @ 2013-01-24 22:40 Partoo 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 本文翻译自 http://active.tutsplus.com/articles/explanatory/why-bother-with-jquery-a-guide-for-former-flash-developers/ 偶然在nettuts+中看到本年度的热门文章,有这篇。想来flash和j 阅读全文
posted @ 2012-12-30 00:23 Partoo 阅读(493) 评论(0) 推荐(0) 编辑
摘要: 提炼自http://net.tutsplus.com/articles/news/perfect-workflow-in-sublime-text-free-course/ 视频教程,最后有刚摸索的实时预览的舒服方法。 1、多行编辑 可以使用Ctrl+D(cmd+D)选择相同内容而后编辑;可以用ct 阅读全文
posted @ 2012-12-13 22:56 Partoo 阅读(9298) 评论(1) 推荐(1) 编辑
摘要: http://clintberry.com/2012/sublime-text-2-php-symfony-development/ Sublime Text 2 is an amazing code editor that I started using on the recommendation of a friend. I fell in love and haven’t looke... 阅读全文
posted @ 2012-11-17 01:42 Partoo 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: 在微博上看到这么个游戏,还是挺有意思的。http://segmentfault.com/game/ 第一关: 只是将超链接字体颜色和背景色搞成一样,当然,我们一般也不点击超链接 第二关: 密码注释里有,那个超链接你戳烂她也会只说那句,“你太天真了” 第三关: 我是用chrome自带抓包,在头信息中能 阅读全文
posted @ 2012-11-11 13:26 Partoo 阅读(36576) 评论(13) 推荐(6) 编辑
摘要: cURLis a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more. Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is alsosupported by PHP. In this article, we will look at some of the advanced feature 阅读全文
posted @ 2012-10-29 18:07 Partoo 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 使用PHP和Image Magick将.pdf文件转换成图片下面是一个简单的将.pdf文件转成.jpg图片的实例。如果你要为.pdf文件生成预览图,这将非常地有用。请注意,要使用这段代码你必须在你的服务器端安装Image Magick扩展。$pdf_file = './pdf/demo.pdf';$save_to = './jpg/demo.jpg'; //make sure that apache has permissions to write in this folder! (common problem)//execute ImageMagick com 阅读全文
posted @ 2012-10-29 18:02 Partoo 阅读(582) 评论(0) 推荐(0) 编辑
摘要: MongoDB单纯的开发测试环境安装很简单,只需要记住两点:1、下载任何的版本包回来解压后需要自行创建数据库存放目录,windows需要创建在c:\data\db,linux or mac 在/data/db,当然,这个默认路径是可以用配置参数修改的;2、mongod是服务端,运行后不要将其窗口关掉。MongoDB快捷安装方法1、Linux or MacOS Xhttp://www.mongodb.org/display/DOCS/Quickstart方便起见,可以在etc/rc.local 添加自启动2、Windows下安装下载,解压,c盘下创建 \data\db就好了。可以自行修改环境变量 阅读全文
posted @ 2012-08-16 07:01 Partoo 阅读(1984) 评论(0) 推荐(0) 编辑
摘要: 打开C:\Users\<userName>\AppData\Local\Adobe\Flash CS5\es_ES\Configuration\GaiaFramework\GaiaProject.jsfl的71和89行,将其注释。 阅读全文
posted @ 2012-06-08 11:00 Partoo 阅读(249) 评论(0) 推荐(0) 编辑