English 中文(简体)
• 如何用本地的垃圾书写简单的网络应用?
原标题:How to write a simple web application using native ruby?
  • 时间:2011-11-14 00:58:14
  •  标签:
  • ruby

我对马普切语来说是新鲜事,我很费时间撰写一个简单的网络应用程序,使世界在html网页上看到产出。 我听到了在座各位的发言,但就我而言,我想从一开始就利用更多的预支框架。

问题回答

鲁比语是一种通用语言。 无意在像PHP一样的超文本中穿透。 因此,如果你想从头脑中学习,就写的是青少年申请,而不是网络数据。 这里是一个“世界”的废墟:

puts "Hello, world!"

如欲将其节省至hello_world.rb。 页: 1 有一个名为irb的冰箱,使你能够立即撰写一部法典,看结果,而不必将其保存到档案中,并人工操作。 我建议你将其用于对鲁比的实验。

$ irb
>> puts "Hello, world"
Hello, world
=> nil

学习快乐!

查阅Sinatra。 这比你能够达到的最低水平要低得多,而不必援引你作为农研组申请的文字,并人工授与负责人。





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签