Ruby on Rails
Thursday, October 28, 2010
On Thu, Oct 28, 2010 at 12:43 PM, Stefan Hinck <lists@ruby-forum.com> wrote:
I am assuming you are probably using Sql Server, right? Rails does have a Sql Server driver (never used personally). You should be able to do this *but* I would highly recommend not trying to do this as your first Rails project. Also the question is why you want to rewrite the app in rails. ActiveRecord in Rails makes db input/output very easy *but* it does so by following certain conventions. If you are going to map legacy db schemas to ActiveRecord, you have a road ahead of you to get things working. Only you know your situation but I would consider pushing the agenda of migrating data to Postges and using Postgres as your database going forward --- that may very well be easier to do than the latter.
Hello All I am new here.
First off, I have never been a great programmer, or even a functional
one…
I worked briefly with ASP back years and years ago and was able to
create a database driven site. The height of my achievements…
I am now diving into Ruby with the hopes that this will be my first real
successful programming experience.
So heres my question.
Say ACME Company has all of their company apps written in .NET.
These apps interact with a database holding all of their clients
details.
ACME's website also has an application which interacts with the DB as
well to make payments, update client info etc…
The website's back end was all done in .NET too…
All of this is housed on an IIS server.
I would like to move the websites to a linux server and move the apps to
RoR.
So would it be possible to rewrite the web applications using RoR and
interact with the same database as all of the existing .NET
applications?
Long story short:
.NET apps and RoR apps all interacting with the same DB?
I am assuming you are probably using Sql Server, right? Rails does have a Sql Server driver (never used personally). You should be able to do this *but* I would highly recommend not trying to do this as your first Rails project. Also the question is why you want to rewrite the app in rails. ActiveRecord in Rails makes db input/output very easy *but* it does so by following certain conventions. If you are going to map legacy db schemas to ActiveRecord, you have a road ahead of you to get things working. Only you know your situation but I would consider pushing the agenda of migrating data to Postges and using Postgres as your database going forward --- that may very well be easier to do than the latter.
Does this make sense?
Please excuse me if this is gibberish, Im new...
Any help appreciated!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment