Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do you need a framework to write Ruby or Python code for the web?

Tags:

frameworks

Every time I see Ruby or Python discussed in the context of web development, it's always with a framework (Rails for Ruby, Django for Python). Are these frameworks necessary? If not, is there a reason why these languages are often used within a framework, while Perl and PHP are not?

like image 816
Thomas Owens Avatar asked Oct 06 '08 16:10

Thomas Owens


1 Answers

I can only speak towards Ruby - but, no, you don't need a framework to run Ruby based pages on the web. You do need a ruby enabled server, such as Apache running eruby/erb. But, once you do, you can create .rhtml files just like RoR, where it processes the inline ruby code.

like image 93
Matt Avatar answered Sep 21 '22 23:09

Matt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!