Thank you greelgorke, 

your suggestion will really help for me to keep up with my projects. I have 
multiple Perl and Shell scripts which does high volume of taks, 
   --- Interaction with remote machine to trigger various process and move 
the files around. 
   --- Interact with subversion repository to verify and commit files. 
   --- Lauch java ant build process and carry out build validation and 
other taks. 
   --- and other system level process. 

I did tried to create web interface using PHP to interact with Perl and 
Shell but whole webpage to servers request sending and receiving turn out 
to be really slow. Definitely rewriting from scratch is really time 
consuming but I desperately want to give web interface to my process.

As I am new to node so looking forward for suggestion, guidance and views 
from experience people. 

Thanks



On Tuesday, January 8, 2013 7:52:18 PM UTC+11, greelgorke wrote:
>
> the answer is: it depends. Node is a good choice to offer a webinterface 
> to a conglomerate of scripts on os level. in fact this is the big strength 
> of node to handle much i/o. But the question about rewriting has nothing to 
> do with it, it's higher order question:
> - are your scripts doing their jobs properly? are they easy to maintain? 
> if yes, then let them be. if no and they need a rewrite, then node might be 
> a good way here too.
> - what tasks are this? node is not good at heavy calculations, usually we 
> spin up a new process or call another script for it, i.E. we call 
> imagemagick for resizing images in our service via child_process. 
>
> you have to go through your scripts and answer this questions.  
>
> Am Dienstag, 8. Januar 2013 03:39:25 UTC+1 schrieb Suraj Singh Thapa:
>>
>> Thanks Tim,
>>
>> Performance wise do you consider having Perl/shell script in back-end and 
>> node as front-end is a good architecture? or is it better to re-write task 
>> done by Perl in node. I want to have clear idea about, 
>>
>>      - Is it better to use node just as a bridge between webpage and 
>> Perl/Shell.
>>
>>
>> Any kind of suggestion would be appreciated.
>>
>> Cheers, 
>>
>>   
>>    
>>
>> On Tuesday, January 8, 2013 3:14:38 AM UTC+11, Tim Caswell wrote:
>>>
>>> Node can easily call other processes and has full control over the stdio 
>>> streams if desired. (or there are convenience wrappers if you don't need 
>>> full control)  Look at the child_process APIs.
>>>
>>>
>>> On Sun, Jan 6, 2013 at 9:41 PM, Suraj Singh Thapa 
>>> <[email protected]>wrote:
>>>
>>>> Hi, I have number of the Perl and shell scripts in server(Linux) to 
>>>> automate the software build process. I want to 
>>>> create web interface so that other user can easily run my scripts. 
>>>> * Have a webpage, user select the field and press button to launch 
>>>> corresponding process. 
>>>>  * webpage should show progress, Perl/shell script standard output 
>>>> running in server.
>>>>
>>>> Could some one can suggest me if Node can be used as my fronted to 
>>>> create web interface?
>>>> As I am novice so any suggestion from experience people will 
>>>> be appreciated. 
>>>>
>>>> Thanks
>>>>
>>>>  -- 
>>>> Job Board: http://jobs.nodejs.org/
>>>> Posting guidelines: 
>>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>>> You received this message because you are subscribed to the Google
>>>> Groups "nodejs" group.
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>>
>>>
>>>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to