好像是英文的哇!
我想知道,他和 PHP 5.5 以及即将到来的 PHP6 相比较有什么优势和不足。php 也有很多优秀的框架,例如 YII,Laravel,Fuelphp,Zend Framework cake 等等
他们有好多是借鉴了 ROR 的特性和快速开发的理念。由于 php 本身的限制,面向对象的方式有点不同。
刚刚接触 ruby 一天时间,我也问不出什么好问题。深入的问题。
就想知道,web 开发,只讲究快速快发,不断改进。用 yii 还是 rails 比较合适。
(个人觉得语法什么的并不是重要的,最重要的是开发速度,组件,开源项目,开源社区的质量 )
目测,驾驭 ruby 比 php 要难度大一点,招人是不是不是很好招?
现在在广州我们很容易就可以找到一个 php 新手,带一个月基本上就可以拿框架用了。ruby 门槛貌似稍微高一点。
本人不是专业的技术队伍,只是昨天研究了一下 ruby, 结合了一下自学 php 的经历。不要喷我 , 多谢。
#11 楼 @jasl 多谢哥们的指点。我刚刚搞了一个 webrick 走起了。
service iptables restart iptables: Flushing firewall rules: [ OK ] iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Unloading modules: [ OK ] iptables: Applying firewall rules: [ OK ] [root@Server02 app]# rails s => Booting WEBrick => Rails 3.2.12 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2013-02-18 11:18:31] INFO WEBrick 1.3.1 [2013-02-18 11:18:31] INFO ruby 2.0.0 (2013-01-07) [x86_64-linux] [2013-02-18 11:18:31] INFO WEBrick::HTTPServer#start: pid=25804 port=3000
Started GET "/assets/rails.png" for 192.168.1.132 at 2013-02-18 11:18:36 -0500 Connecting to database specified by database.yml Served asset /rails.png - 200 OK (1ms)
@lgn21st 能帮忙看看吗?
Welcome to the Phusion Passenger Apache 2 module installer, v3.0.19.
This installer will guide you through the entire installation process. It shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
Don't worry if anything goes wrong. This installer will advise you on how to solve any problems.
Press Enter to continue, or Ctrl-C to abort.
Checking for required software...
Compiling and installing Apache 2 module... cd /usr/local/webserver/ruby/lib/ruby/gems/2.0.0/gems/passenger-3.0.19 /usr/local/webserver/ruby/bin/ruby /usr/local/webserver/ruby/bin/rake apache2:clean apache2 RELEASE=yes
rake aborted! Permission denied - /usr/local/apr
(See full trace by running task with --trace)
It looks like something went wrong
Please read our Users guide for troubleshooting tips:
/usr/local/webserver/ruby/lib/ruby/gems/2.0.0/gems/passenger-3.0.19/doc/Users guide Apache.html
If that doesn't help, please use our support facilities at:
https://www.phusionpassenger.com
We'll do our best to help you.
文本信息!