#19 楼 @blacktulip Thank you for your encouragement
我搞不明白为什么本地开发环境和服务器环境要不一样。比如本地用 rails s,服务器用 nginx 等等。
我现在用 php,本地的 apache,mysql 和服务器上一模一样,因为 apache,mysql 配置文件是一样的。我的代码中根据浏览器中不一样的域名自动加载网站的开发配置文件或服务器配置文件。
关于 TDD,本来争议就很大,那一片绿下隐藏的 bug 不知道有多少。就我经验来说,RESTful 的东西还好测试,但很麻烦的功能就很棘手,远不如人肉。
自动部署对于我来说存在的必要性不大,因为我又不是天天在部署。Rails 需要自动部署是因为从本地搬到服务器真的要做很多事,但 php 或者 go 真不需要那么多。这也是我难受的地方,rails 涉及的方面很多,学了好久总觉得还缺少点什么,学了不一定常用,但不学就不踏实。less sass haml 这些东西,看看简介就不少时间,想想项目中用不用又是不小时间,我研究了一圈,最后决定不用,但时间找不回来了。类似的 gems 还有很多,都是一看 feature list 让人激动得睡不着,一用就全是坑的那种,改都不好改。
总的来说,RoR 适合那些天天开发网站,而且还不是开发一个网站的开发者,不然就是大炮打蚊子。
我觉得就跟 Windows 下用 API 还是 MFC 一样,一群用 Rails 的,连 Ruby, sql 语句&优化,html, css, javascript(+jquery+plugin),... 都没搞明白,就被 20 分钟开发 blog 忽悠了,这就是问题。我觉得高手可以用 Rails, 新手还是打基础吧。
看来还是 qt 呼声最高啊
大家都是很有经验啊,谢谢!
个人能力有限,看了一下 TideSDK,好像看起来不错的样了,还可以用 php 开发,其实就是把网页包进去,@saiga 不知道 php 源代码会不会被反编译出来呢?
很棒,但没有 undo, 我多 mark 的部分,只能再 mark 一下,用 z 来 cancel
@QLeelulu 的点评找不回来了,可惜啊
huacnlee 1 楼,7 天前 @sunfmin 可是自己写框架的哦
ywjno 2 楼,7 天前 不用担心 bate 版的框架,我知道一个 java 写的框架,3 年了到现在还是 bate 版
问题是它现在基本每月都还是向外发布新版本
kgen 3 楼,7 天前 #2 楼 @ywjno 嘿,同学,你键盘上的 a 键和 e 键装反了
lvjian700 4 楼,7 天前 #2 楼 @ywjno 难道你在说 nutz
ywjno 5 楼,7 天前 #4 楼 @lvjian700 还真是 nutz。。。 #3 楼 @kgen 英文不好见笑了。。。
kgen 6 楼,6 天前 #5 楼 @ywjno 开个玩笑,别在意 :-D
zhangjinzhu 7 楼,6 天前 框架不够靠谱。。。需要自己去 hack
原数据不见了,google baidu yahoo 快照都不给力,还要 bing 下面有,如果大家有重要的帖子可以去 bing 试试看
deny 有读 deni 的,应该是 dɪ'naɪ
留着帖子是为了不重建索引?
#6 楼 @help5305fff UNIX 哲学,要不现在开始讨论一下,怎么实现?如何互通?当然不是用户帐号互通这么简单。
不管数据多少,我都是直接用 root 用户把 /var/lib/mysql 里面的数据库文件夹 scp 到新服务器中,再改权限和属主,好像没出过什么问题。
注意我用的是 MyISAM 数据引擎,另外,别覆盖新服务器的文件及文件夹。
一下午时间可以把问题解决了也不错,经验和淡定就是这么增长的。
#3 楼 @help5305fff 这个方法不错
小霸王,还送超级玛丽的,亲
@kevinhua 楼主既然都要重新开始了,建议把源码放出来,教教我这类初学者,怎么做界面。
@firsthym 如果我只改动一小段代码却要将整个网站重新上传一下,这实在是很笨的方法。
没有实现永久存储是官方说的,所以永久存储的定义也是他们做的。可能是参考了 openshift 的定义吧,openshift 有个目录是有永久存储功能的,直接 ln -s 到网站目录下就可以存 attachments 之类的东西了。
phpfog 就可以用 git, 不知道他们怎么想的。
不支持 git, 不支持永久存储
这个不错,编码一直是个问题。
@Jijin 哇,这么帅的 Markdown!赞!
@Jijin 哇,这么帅的 Markdown!赞!
@Jijin 哇,这么帅的 Markdown!赞!
@Jijin 哇,这么帅的 Markdown!赞!
@Jijin 表格的 Markdown 怎么写的,很漂亮。
30 Day Trial -> TextMate 1.5.11 (r1635) TextMate 2 at GitHub
也就是说老的不变,新版本 2 开源,自己用随便,商用请联系作者
把blog贴过来吧:
Today I am happy to announce that you can find the source for TextMate 2 on GitHub.
I’ve always wanted to allow end-users to tinker with their environment, my ability to do this is what got me excited about programming in the first place, and it is why I created the bundles concept, but there are limits to how much a bundle can do, and with the still growing user base, I think the best move forward is to open source the program.
The choice of license is GPL 3. This is partly to avoid a closed source fork and partly because the hacker in me wants all software to be free (as in speech), so in a time where our platform vendor is taking steps to limit our freedom, this is my small attempt of countering such trend.
I am also a pragmatist and realize that parts of the TextMate code base is useful for other (non-free) applications, so I may later move to a less restrictive license, as is currently the case with the bundles. For now, please get in touch with us if there are subsets of the code base you wish to use for non-free software, and we might be able to work something out.
Anything related to the code base, including contributions, can be discussed at the textmate-dev list or ##textmate on freenode.net. Pull requests can be sent via GitHub but if you plan to make larger changes, it might be good to discuss them first if you want to ensure that we are interested in accepting a pull request for such change or simply want advice on how to go about it.