Need informations

D

Doc Tor

I need some informations about the scripting with Ruby.

Is it possible to do this feature directly (or indirectly) :
- manage processus (start, get the status, stop),
- get the return of a program,
- get the program output,
- the exploit of SQL's request is easy ?
- access to COM component is possible ?
- access to the AD (test the presence of an object, find his full
path, ...
- exchange variables between processus,
- have a graphic interface to request informations to the user,
- do libraries (with version, ...) ?

A lot of questions who don't have founded answers...

Thank you in advance for your answers,

Best regards,
Doc'
 
R

Rick DeNatale

I need some informations about the scripting with Ruby.

Is it possible to do this feature directly (or indirectly) :
=A0 =A0- manage processus (start, get the status, stop),
=A0 =A0- get the return of a program,
=A0 =A0- get the program output,

Sure there are various ways to interact with processes, this seems to
be a pretty good overview of the basic Ruby functionality:

http://whynotwiki.com/Ruby_/_Process_management

You might find it instructive also to look at some process monitoring
tools written in Ruby like

god: http://god.rubyforge.org/

bluepill: http://github.com/arya/bluepill
=A0 =A0- the exploit of SQL's request is easy ?

Quite. there are both low-level bindings to various databases, as well
as higher level ORM mapping libraries like DataMapper and ActiveRecord
(the latter part of Ruby on Rails) which provide db independence and
an object-oriented interface.
=A0 =A0- access to COM component is possible ?

I don't do much with MS platforms, but googling for "ruby component
object model" seems to provide some useful info.
=A0 =A0- access to the AD (test the presence of an object, find his full
path, ...

I assume you mean Active Directory here. Again, not much direct
knowledge, but there are certainly LDAP bindings for Ruby which I'm
pretty sure have been successfully used to interact with Active
Directory.

If you want tight integration with MS frameworks you might look at IronRuby=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top