|
Which is a better Web application framework: Ruby on Rails or PHP?
|
Posted On :
Aug-18-2011
| seen (252) times |
Article Word Count :
566
|
|
In this Article we are going to discuss about Comparison between Ruby on Rails or PHP.
|
First, perceive that a framework is just a set of coded files stored such that they're straightforward to retrieve by no matter application one is developing. it's a set of modules, routines, and mini applications that are replicable and that they take parameters and that they perform commonly required functions. the first purpose of a framework is to eliminate the re-inventing of the wheel. If code has been created to try to to one thing, then why keep re-inventing it. thus developers created collections of files or Frameworks. There are variety of Frameworks out there .
Now we are going to discuss about Comparison between Ruby on Rails or PHP.
First PHP is simply a programming language used principally for net development however not restricted to merely net development. Rails on the opposite hand could be a net development framework that uses the Ruby programming language; Ruby is like PHP within the sense that it is not used only for net development; Rails is simply for net development in contrast to PHP. I simply needed to clear that up.
So you'll see the comparison here is of a programming language vs. a framework, maybe this discussion ought to are additional like PHP vs. Ruby or a PHP framework vs. Rails. But anyway, back to the comparison.
Ruby on Rails is a breakthrough in lowering the barriers of entry to programming. Powerful web applications that formerly might have taken weeks or months to develop can be produced in a matter of days.Rails are a speedy development framework for the online. It will many tasks within the background that the developer doesn't have to; after all the developer will streamline no matter Rails will within the background if he thus desires. It takes care of a number of the tedious tasks the developer would otherwise got to do, thus permitting the developer to target the planning.
PHP on the opposite hand could be a programming language like we discussed before. There are frameworks out there that do use PHP like: CakePHP and PHP on Trax (There are heaps additional, however we selected those 2 as samples of some frameworks out there for PHP.). however this discussion is comparing PHP with Rails.PHP has undergone many years of development and redevelopment, turning into arguably the foremost in style scripting language for net applications and dynamic page creation.
PHP does not provide this level of 'dynamic' code creation. It additionally doesn't enforce a strict MVC paradigm. This causes code to become jumbled and messy. SQL statements are littered regarding with HTML and there's no central place to outline your application and your business logic.
So this comparison is not a balanced comparison as a result of as we have a tendency to said before the comparison here could be a programming language vs. an internet framework primarily based on another programming language. This comparison in all probability ought to are a PHP framework vs. Rails and not PHP vs. Rails. thus after all when place to the task at comparing that is that the higher net framework, we've to travel with Rails as a result of it is a framework and not a programming language. positive PHP might need several functions engineered into it for net programming, however it still could be a programming language and not a framework like Rails is.
|
|
Article Source :
http://www.articleseen.com/Article_Which is a better Web application framework: Ruby on Rails or PHP?_74693.aspx
|
Author Resource :
www.hirephp.in
|
Keywords :
Hire PHP Developer, Hire Andorid Developer, Hire iPhone Developer, Hire ROR Developer, Hire Flash Developer, Hire Joomla Developer,
Category :
Internet Business
:
Web Design
|
|
|
|