# Is it really possible with rails?

**URL:** <https://www.ruby-forum.com/t/is-it-really-possible-with-rails/105235>\
**Category:** Rails\
**Created:** [May 27, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/is-it-really-possible-with-rails/105235 "2007-05-27T21:28:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flaab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/dbc845/32.png) [@flaab](https://www.ruby-forum.com/u/flaab)\
**Post date:** [May 27, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/is-it-really-possible-with-rails/105235/1 "2007-05-27T21:28:53Z")

</div>

Hi everyone!

I’ve been developing dinamic websites with Php for a long time. I’m  
really new to Rails.

I’ ve thinking of a project for a long while, and technicaly speaking,  
is possible with php. In fact, i’ve already got it started with php.

I’m wondering wether RoR could do the trick easier and faster. So i’m  
gonna name a list of features I need for my Project and I hope you, that  
already use RoR and have more experience, could tell me if is possible  
to implement them or not.

My project needs:

> User login and sessions.  
> Several automatic e-mail sending proccesses  
> Capturing users IP  
> File uploading, with ext,size and mimetype restrinctions.  
> System functions calls and retrieving it’s results. (Output and  
> result[0,1])  
> Ex: Sort like exec() in Php or system() en C.  
> Search engine for contents

Thank you very much.

Cheers =)

---

<div class="post-metadata">

**Author:** ![flaab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/dbc845/32.png) [@flaab](https://www.ruby-forum.com/u/flaab)\
**Post date:** [May 27, 2007, 9:46pm UTC](https://www.ruby-forum.com/t/is-it-really-possible-with-rails/105235/2 "2007-05-27T21:46:53Z")

</div>

Yes this is all possible. See comments below on each item.

On May 27, 12:28 pm, Flaab M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> already use RoR and have more experience, could tell me if is possible  
> to implement them or not.
> 
> My project needs:
> 
> > User login and sessions.

You can roll your own ala “Agile Web D. with Rails”, or use  
one of several plugins/generators.

> > Several automatic e-mail sending proccesses

If these are stimulated by user actions no problem. If they are  
scheduled or periodic you probably want to initiate them using  
BackgrounDrb

> > Capturing users IP

You have access to the request header, I presume it is in there if  
anywhere.

> > File uploading, with ext,size and mimetype restrinctions.

There are several file upload plugins and lots of web based material  
on this.

> > System functions calls and retrieving it’s results. (Output and  
> > result[0,1])  
> > Ex: Sort like exec() in Php or system() en C.

Ruby can call C code so this should not be an issue. It might be  
possible with the standard libraries, but I am not sure on that. If  
you are trying to host this on a shared host you may run into issues  
with them, but it is technically not an issue.

> > Search engine for contents

There are several plugins that support search. Solr and ferret are  
the most commonly mentioned.

---

<div class="post-metadata">

**Author:** ![flaab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/dbc845/32.png) [@flaab](https://www.ruby-forum.com/u/flaab)\
**Post date:** [May 28, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/is-it-really-possible-with-rails/105235/3 "2007-05-28T19:01:49Z")

</div>

On Sun, 27 May 2007 12:45:35 -0700, MichaelLatta wrote:

> > > System functions calls and retrieving it’s results. (Output and  
> > > result[0,1])  
> > > Ex: Sort like exec() in Php or system() en C.
> 
> Ruby can call C code so this should not be an issue. It might be  
> possible with the standard libraries, but I am not sure on that. If you  
> are trying to host this on a shared host you may run into issues with  
> them, but it is technically not an issue.

Neighter exec nor system call system functions. They running new  
processes.  
In ruby it is done by `command` (somewhere on this group it was  
mentioned  
on Sunday).

Regards

–  
I’ve probably left my head… somewhere. Please wait untill I find it.  
Homepage (pl\_PL): [http://uzytkownik.jogger.pl/](http://uzytkownik.jogger.pl/)  
(GNU/)Linux User: #425935 (see [http://counter.li.org/](http://counter.li.org/))
