Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 07-31-2005, 11:03 AM
fuzzylizard fuzzylizard is offline
Hatchling Croc
 
Join Date: Jan 2005
Posts: 2
Default Ruby on Rails

How about Ruby on Rails support along with php and everything else you offer?
Reply With Quote
  #2  
Old 08-28-2005, 03:38 AM
jive jive is offline
Hatchling Croc
 
Join Date: Mar 2005
Posts: 33
Default Re: Ruby on Rails

I second that notion.
Reply With Quote
  #3  
Old 08-28-2005, 04:48 AM
mellowj's Avatar
mellowj mellowj is offline
Hatchling Croc
 
Join Date: Aug 2005
Location: United Kingdom
Posts: 24
Default Re: Ruby on Rails

just read about ruby and it sounds amazing, would love to try it
Reply With Quote
  #4  
Old 08-28-2005, 10:31 AM
MachineDog MachineDog is offline
Royal Croc
 
Join Date: Jul 2005
Location: Somewhere in the everglades.
Posts: 513
Default Re: Ruby on Rails

I've been too busy but, I'd like to learn Perl mainly so I can make IRC bots.
__________________

Reply With Quote
  #5  
Old 08-29-2005, 08:01 AM
mellowj's Avatar
mellowj mellowj is offline
Hatchling Croc
 
Join Date: Aug 2005
Location: United Kingdom
Posts: 24
Default Re: Ruby on Rails

yeah perl is pretty useful to know since its used a fair bit in linux and the like but to be honest i think there are far greater languages to spend your time learning but its all down to preferences there are a huge number of different programming languages out at the moment and even more tools and stuff to learn. Ruby on rails is a really nice language i recommend anyone who is pretty new to programming to try learning it because it is shockingly simple and very powerful, however it does have its disadvantages are probably gonna mean that i will avoid learning instead ive been looking into creating AJAX applications which are really cool but i don't think my javascript skills are upto scratch enough to begin working on something like that yet
Reply With Quote
  #6  
Old 08-29-2005, 10:17 AM
MachineDog MachineDog is offline
Royal Croc
 
Join Date: Jul 2005
Location: Somewhere in the everglades.
Posts: 513
Default Re: Ruby on Rails

JavaScript and Java are two differant things. Java is a full blown programming language, AJAX I would guess are done in Java. Which is more like a C. JavaScript is for small client-side scripts. I'd like to learn JavaScript better though so I can create client-server side web apps. Such as small text based games.
__________________

Reply With Quote
  #7  
Old 08-30-2005, 02:39 AM
mellowj's Avatar
mellowj mellowj is offline
Hatchling Croc
 
Join Date: Aug 2005
Location: United Kingdom
Posts: 24
Default Re: Ruby on Rails

Thats kinda what an AJAX system does. Google maps is a great example of the power of AJAX as when you move the map around rather then have to continue reloading the page the new data requests are sent via javascript to the web server then sent back and displayed. It works very simply however, the downside is that error checking and performance are very difficult to implement.
Reply With Quote
  #8  
Old 09-08-2005, 09:40 AM
GatorBen
HostGator Guest
 
Posts: n/a
Default Re: Ruby on Rails

We can add Ruby on Rails to Dedicated servers, I have one with it but right now it just conflicts with Cpanel/WHM in several ways that don't make it really a good choice for a shared environment, as well as the fast CGI modules and no graphical interfact to start new projects on. Hopefully Cpanel/WHM will add it or third party support will emerge, until then a dedicated servers is the best route.

Btw, Ruby on Rails is amazing for what you can put together in a short time.
Reply With Quote
  #9  
Old 12-31-2005, 02:00 AM
drueter drueter is offline
Hatchling Croc
 
Join Date: Dec 2005
Posts: 1
Default Re: Ruby on Rails

It has been a little while since the last post requesting Ruby on Rails support on shared hosts. Any chance that it will be happening in the near future??
Reply With Quote
  #10  
Old 01-01-2006, 01:07 PM
Unregistered
HostGator Guest
 
Posts: n/a
Default Re: Ruby on Rails

Quote:
Originally Posted by drueter
It has been a little while since the last post requesting Ruby on Rails support on shared hosts. Any chance that it will be happening in the near future??
No not currently, if Cpanel adds it we will of course but otherwise there are no plans too. It isn't a stable technology yet in terms of a production environment, basically meaning that its lacking a way to plug it into Apache nicely and rails apps are hard to setup without shell. We can install it on a dedicated box of course.
Reply With Quote
  #11  
Old 01-06-2006, 09:59 AM
Adam S
HostGator Guest
 
Posts: n/a
Default Re: Ruby on Rails

Ruby on Rails is not a language - Ruby is a language, Rails is a framework. It's really not a good idea to host Rails next to cPanel and PHP, because first of all, Rails is really optimized for the included webserver for one, but also, it pretty much requires ssh. Then, of course, Rails requires you to know Ruby, which most people don't. All this is not to mention the fact that simpler is always better for a server with multiple vhosts, especially one that runs a lot of processes, which may or may not include the necessary libraries today.

The are similar RAD frameworks for Python (like Turbogear, Django, or Twisted), PHP (like Cake or BinaryCloud), and even Perl (like Mason). Rails is all the rage these days, and I'd love to play with it on a public site, but honestly, there are smarter choices for a hosting company running a business. As a general rule for web frameworks, never build on something that you cannot maintain yourself.

Just a couple pennies from a new Hostgatorite...
Reply With Quote
  #12  
Old 01-06-2006, 10:19 AM
ascheinberg ascheinberg is offline
Hatchling Croc
 
Join Date: Jan 2006
Posts: 7
Default Re: Ruby on Rails

Quote:
Originally Posted by mellowj
instead ive been looking into creating AJAX applications which are really cool but i don't think my javascript skills are upto scratch enough to begin working on something like that yet
Rails may be great at simple AJAX, but AJAX itself is really not all that hard. The basic concept is that you can use some javascript pages to load pages asynchronously (Async is the A in AJAX). So you have javascript load a page in the background, then return the results. At that point, you can use the DOM to change the page. So it involves using the javascript function getElementById().

If you want to use AJAX, include this in your page header:

Code:
<script type="text/javascript">
var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
 try {
  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
 } catch (e) {
  try {
   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (E) {
   xmlhttp = false;
  }
 }
@end @*/
if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
    xmlhttp = new XMLHttpRequest();
}    
</script>
Don't worry about what it does, but know this: it checks for certain types of functions, and then establishes the ability for an asynchronous session.

Then you need a function, like maybe this:

Code:
function ajaxMe() { 
    var serverfile ="file.txt"; //file to get
    xmlhttp.open("GET",myfile,true); //open the pipe, get the file
    xmlhttp.onreadystatechange=function() {
        if (xmlhttp.readyState==4) {
            var mydiv = document.getElementById('divToUpdate');
            mydiv.innerHTML = xmlhttp.responseText; //replace the div
        } 
    }
    xmlhttp.send(null)
}
So, what we've done is taken the text from a file called "file.txt" from the server, and dynamically inserted it into a page in the <div> with an id="divToUpdate" quickly and painlessly.

All you really need to do is insert a button or something with an onclick="ajaxMe()" and you're good to go - you've got AJAX running.

When you start playing with CSS styles and visibility, you can make this REALLY useful.

Adam S
Reply With Quote
  #13  
Old 01-16-2006, 09:51 PM
Guest
HostGator Guest
 
Posts: n/a
Default Re: Ruby on Rails

The issue is what customers want. Rails is fast becoming a preferred development framework eating into PHP share. CPanel has nothing to do with this. How does PHP have anything to do with CPanel? It doesn't.

Rails is production quality and stable as of 1.0 release. Plenty of hosting companies already have put Rails on their platforms including your competition!

Already I'm disappointed that PHP 5.x isn't supported by HostGator. PHP 5.x offers 400% performance improvement and you guys are too shy to support it. I see this speed improvement on my systems at work. Nobody is going to be writing PHP 4.x code anymore - thats stupid.

I hate when companies start complaining about not supporting something because "its Cpanel's fault". You either get with the times, or get left behind.
Reply With Quote
  #14  
Old 01-17-2006, 08:08 AM
GatorBen
HostGator Guest
 
Posts: n/a
Default Re: Ruby on Rails

Quote:
Originally Posted by Guest
The issue is what customers want. Rails is fast becoming a preferred development framework eating into PHP share. CPanel has nothing to do with this. How does PHP have anything to do with CPanel? It doesn't.

Rails is production quality and stable as of 1.0 release. Plenty of hosting companies already have put Rails on their platforms including your competition!

Already I'm disappointed that PHP 5.x isn't supported by HostGator. PHP 5.x offers 400% performance improvement and you guys are too shy to support it. I see this speed improvement on my systems at work. Nobody is going to be writing PHP 4.x code anymore - thats stupid.

I hate when companies start complaining about not supporting something because "its Cpanel's fault". You either get with the times, or get left behind.
We run Cpanel/WHM for our customers, Cpanel is a package setup so that everything works perfectly together and they don't feel PHP5 is ready yet nor have they included it. I must agree with them from seeing a few of our customers switch, we are seeing a lot of conflicts with older scripts and general just bugs. You are welcome to get a dedicated server if you want to use these things. Its not shyness, its called protecting all our customers, only a small % are on the bleeding edge of technology, most just want dependability.

Also, RoR is not ready to go yet, its web server sucks and so far its integration with Apache is not great either. I've installed it on my personal dedicated server and it does conflict with Cpanel/WHM in some ways, nothing big but nothing ordinary customers should have to deal with.
Reply With Quote
  #15  
Old 03-02-2006, 12:45 PM
webmason.net
HostGator Guest
 
Posts: n/a
Default Re: Ruby on Rails

I also would like to request ruby support, I am very interested to use it on an upcoming project.
Reply With Quote
  #16  
Old 03-02-2006, 04:24 PM
PietH PietH is offline
Hatchling Croc
 
Join Date: Apr 2005
Posts: 3
Default Re: Ruby on Rails

Same here!

And while we're at it, what about subversion ?
Reply With Quote
  #17  
Old 03-14-2006, 02:27 AM
mika76's Avatar
mika76 mika76 is offline
Hatchling Croc
 
Join Date: Oct 2005
Posts: 8
Default Re: Ruby on Rails

Hell yeah! I'd love subversion too! Any chance?
Reply With Quote
  #18  
Old 04-19-2006, 09:23 AM
feios feios is offline
Hatchling Croc
 
Join Date: Mar 2006
Posts: 11
Default Re: Ruby on Rails

Ruby support will be great... please add support for Ruby on our Hosting Plans!!!!!!!!!!
Reply With Quote
  #19  
Old 01-29-2007, 08:37 PM
comomolo comomolo is offline
Hatchling Croc
 
Join Date: Jun 2006
Posts: 1
Default Re: Ruby on Rails

It amazes me reading that RoR is not ready to go yet. So all the servers supporting it out there or Apple including it in next Mac OSX release are just amateurs?
Reply With Quote
  #20  
Old 01-29-2007, 09:21 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: Ruby on Rails

It amazes me that you have that attitude in your post without doing a search first. Rails and SVN are installed and working on the servers.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #21  
Old 02-26-2007, 10:37 AM
Guerrero's Avatar
Guerrero Guerrero is offline
Baby Croc
 
Join Date: Nov 2005
Location: Spain
Posts: 56
Default Re: Ruby on Rails

Quote:
Originally Posted by slapshotw View Post
It amazes me that you have that attitude in your post without doing a search first. Rails and SVN are installed and working on the servers.
please clarify the svn/subversion support.
Can I host my repos? or only install external repos as in the case of RoR?
Reply With Quote
  #22  
Old 02-26-2007, 01:06 PM
slapshotw's Avatar
slapshotw slapshotw is offline
Veteran Croc
 
Join Date: Jun 2006
Posts: 5,164
Default Re: Ruby on Rails

As far as I know, you can't currently use the HG svn repos as an external repo to your own files and projects. Unfortunately, it seems to exist for the sole purpose of supporting RoR.
__________________
Follow me on Twitter! http://twitter.com/mrw
Reply With Quote
  #23  
Old 04-12-2007, 01:38 PM
evan@trnsfr evan@trnsfr is offline
Hatchling Croc
 
Join Date: Apr 2007
Posts: 3
Positive Re: Ruby on Rails

RubyonRails... great! But it's only half the battle:

To quote Agile Web Development with Rails (the Ruby-Rails bible): "CGI is
definitely not
the place you want to be. [...] Thankfully, Apache is also
capable of running FastCGI."

CGI is so inefficient, HostGator is just bogging down it's server loads. May I suggest
either (1) FastCGI or (2) Mongrel Clusters via Apache deferral (even betta!)
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 01:17 AM.