SitePoint Sponsor |
|
User Tag List
Results 1 to 7 of 7
Thread: Ruby question
-
Jan 29, 2006, 14:39 #1
Ruby question
How safe is to use Ruby since it is javascript technology? How can I be sure it will work in 100% cases since we all know javascripts don't behave every time like we want them to behave
Top Paying Keywords - - - (Free List)
Maximize your Adsense/YPN earnings
Show only high paid ads on your site
NEW! SEO Wiki - learn how to optimize
-
Jan 29, 2006, 15:12 #2
- Join Date
- Nov 2004
- Location
- Romania
- Posts
- 848
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What are you talking about?
Advisor edit: rudeness removedLast edited by r937; Jan 29, 2006 at 20:37.
-
Jan 29, 2006, 16:24 #3
- Join Date
- Nov 2001
- Location
- Atlanta, GA, USA
- Posts
- 5,011
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by keyword
Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?
-
Jan 29, 2006, 18:09 #4
Originally Posted by keyword
And for webapps Ruby code is processed on the server. The client never interprets any of it.
-
Jan 30, 2006, 10:51 #5
- Join Date
- Jun 2004
- Location
- France
- Posts
- 129
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Are you talking about Ajax stuff coming with rails / JS form validation?
-
Jan 30, 2006, 12:25 #6
- Join Date
- Jul 2004
- Location
- Gerodieville Central, UK
- Posts
- 446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ruby Question? Never
I think you are getting confused with AJAX. Ruby and JS are generally used in a complementary way (Ruby for backend, JS for frontend). AJAX is just a very very specific use of Ruby generally found in Rails, and a very small amount of Ruby code is used like this.
Like any language, (such as PHP, .NET based "languages", etc etc), you should always practice the normal things of validating all of your input. This doesn't just apply to Ruby, it applies to any language. Generally speaking security isn't a level language things, but rather a framework/application level issue (OK, Some exceptions here as PHP is very specific to web programming so in someways it crosses into the framework releam by design)
Generally speaking, Ruby and JS are very different. buy looking at what you've stated, you are pointing out issues that are relating to the implementation of the JS VM across different browsers. Generally, with ruby, most people use the C implementation of the Ruby VM, so Ruby doesn't suffer these issues
-
Jan 30, 2006, 13:14 #7
- Join Date
- Aug 2005
- Posts
- 986
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ruby is just like PHP: it runs on the server. Javascript runs in your browser, so you may have browser quircks that screw up your Javascript, but that is not the case with Ruby.
Bookmarks