Re:Ask HN: Is PHP/MySQL Still Practical for Building Web App...
by jasonlotito on Thursday November 04, 2010 @09:07AM
(#1868661)
I don't know. A lot of the smart PHP developers are still there. Maybe people using PHP moved on, but PHP devs are still strong.
As for PHP code, pear is still widely used for code distribution. Combined with pecl, and you have two resources for code distribution depending on how the code is integrated (PHP or C). And don't confuse pear as a library. It's a distribution method. For example, PHPUnit is installed via pear.
Re:Ask HN: Is PHP/MySQL Still Practical for Building Web App...
by boundlessdreamz on Thursday November 04, 2010 @03:49AM
(#1868086)
slightly offtopic: What did you use voting/commenting ? When I last looked none of the plugins in that area were maintained
Re:Ask HN: Is PHP/MySQL Still Practical for Building Web App...
by chriseidhof on Thursday November 04, 2010 @04:01AM
(#1868105)
One of my friends pointed me to this site: http://ruby-toolbox.com/, it's great for finding maintained plugins.
To answer your question: I used thumbs_up for voting, acts_as_commentable for comments, clearance for authentication and paperclip for file uploads.
I found thumbs_up before I knew of ruby-toolbox: I went to the acts_as_voteable github page, clicked on "Network" and scrolled to the right as far as possible. Most rubyists are very active on github, and a lot of the packages are forked.
Re:Ask HN: Is PHP/MySQL Still Practical for Building Web App...
by boundlessdreamz on Thursday November 04, 2010 @04:15AM
(#1868125)
Thank you :) I was looking for something that integrates rating (not voting) and commenting in one package. I found this https://github.com/grimen/is_reviewable through the toolbox. But last commit is from 2009. Hopefully someone has forked it or I will have to fix it
Re:Ask HN: Is PHP/MySQL Still Practical for Building Web App...
by xiongchiamiov on Thursday November 04, 2010 @03:14PM
(#1870340)
Abandoned gems is one of the biggest problems I have with Ruby. Rubygems is starting to look like CPAN, which makes my sysadmin life hell.
What's nice about Ruby is that there is a huge ecosystem. Ruby on Rails is already very complete (especially compared to PHP). There are a lot of plugins for Rails that add the functionality you want. For example: adding image uploads (including thumbnail generation) was about 15 minutes of work, adding comments to my models too, and voting on models/comments was also done by installing a plugin. In PHP, there's a lot of code available, but most of it doesn't integrate automatically with other code.
I think that the amount of smart people that are working on a language/framework is very important. In Haskell, for example, there are not too many people working on web frameworks, and there's still a lot missing or broken. In PHP, there are a lot of people working on the language/frameworks, but a lot of the smart developers have moved to other tools, such as Rails/Django/etc. Therefore, I would just follow them and use a framework like Rails.
(A slight warning: this is all very subjective, this post is not based on any objective facts)