+ Reply to Thread
Results 1 to 6 of 6




  

Thread: Does Linux scripts play a role in webdevelopment?

      
  1. #1
    I'm New! godslayer is on a distinguished road
    Join Date
    February 27, 2007
    Posts
    4
    Rep Power
    0
    Feedback Score
    0

    Default Does Linux scripts play a role in webdevelopment?

    Heya friends!

    i wanted to know does scripting(BASH) helps at all in webdevelopment or not?

    thanks!

  2. #2
    I'm New! raymor is on a distinguished road
    Join Date
    October 5, 2011
    Posts
    18
    Rep Power
    1
    Feedback Score
    0

    Default Re: Does Linux scripts play a role in webdevelopment?

    Shell scripts are often and properly used by administrators to do things like set up new email aliases.
    One should not do what I did fourteen years ago and make shell scripts face the web. That is, CGI
    scripts ought not start with #!/bin/sh if they accept any input at all. That's because the risk from injection
    is too great.

  3. #3
    I'm New! godslayer is on a distinguished road
    Join Date
    February 27, 2007
    Posts
    4
    Rep Power
    0
    Feedback Score
    0

    Default Re: Does Linux scripts play a role in webdevelopment?

    Quote Originally Posted by raymor View Post
    Shell scripts are often and properly used by administrators to do things like set up new email aliases.
    One should not do what I did fourteen years ago and make shell scripts face the web. That is, CGI
    scripts ought not start with #!/bin/sh if they accept any input at all. That's because the risk from injection
    is too great.

    that means learning BASH and all the langauges that support it, and integrating them is a stupid idea if one is planning to do some webdevelopment?

    actually from what i know perl script is web based programming language and alongwith it, it can also interact with linux.. so if one plans to make few functions available online, like say, controlling a media player through internet, it is necessary to integrate perl php and bash.. or is there an easier way?

    i mean i want to get into webdevelopment.. but at the same time.. i want to program interactivity through web.. is it possible by only learning languages such as php ruby etc i can also address the use of microcontroller boards,computer processing,physical data aggregation etc?

    i know my query might seem a bit confusing :P

  4. #4
    I'm New! raymor is on a distinguished road
    Join Date
    October 5, 2011
    Posts
    18
    Rep Power
    1
    Feedback Score
    0

    Default Re: Does Linux scripts play a role in webdevelopment?

    Perl can do anything that bash can do scripting wise, so there's no need to learn bash bash for web scripting. To use your example, the major media players can be controlled directly from Perl. Next year when PHP 6.0 is released, PHP may be a truly suitable replacement. PHP was itself originally written in Perl, so that gives an idea of it's power. Perl is powerful enough that you can write the PHP system from scratch in Perl.

    For microcontrollers and other things, C is the universal language. The current version of PHP is written in C. Perl is also written in C, as is Linux and Apache. C can literally do everything and anything that can be done with a computer. Many microcontrollers can also be coded in C.

    As for Ruby, Python, etc., each has a job it's well suited for, but less than 1% of all software is written in one of these oddball languages. There are reasons they are hardly ever used.

  5. #5
    I'm New! raymor is on a distinguished road
    Join Date
    October 5, 2011
    Posts
    18
    Rep Power
    1
    Feedback Score
    0

    Default Re: Does Linux scripts play a role in webdevelopment?

    Perl can do anything that bash can do scripting wise, so there's no need to learn bash bash for web scripting. To use your example, the major media players can be controlled directly from Perl. Next year when PHP 6.0 is released, PHP may be a truly suitable replacement. PHP was itself originally written in Perl, so that gives an idea of it's power. Perl is powerful enough that you can write the PHP system from scratch in Perl.

    For microcontrollers and other things, C is the universal language. The current version of PHP is written in C. Perl is also written in C, as is Linux and Apache. C can literally do everything and anything that can be done with a computer. Many microcontrollers can also be coded in C.

    As for Ruby, Python, etc., each has a job it's well suited for, but less than 1% of all software is written in one of these oddball languages. There are reasons they are hardly ever used.

  6. #6
    I'm New! godslayer is on a distinguished road
    Join Date
    February 27, 2007
    Posts
    4
    Rep Power
    0
    Feedback Score
    0

    Default Re: Does Linux scripts play a role in webdevelopment?

    Quote Originally Posted by raymor View Post
    Perl can do anything that bash can do scripting wise, so there's no need to learn bash bash for web scripting. To use your example, the major media players can be controlled directly from Perl. Next year when PHP 6.0 is released, PHP may be a truly suitable replacement. PHP was itself originally written in Perl, so that gives an idea of it's power. Perl is powerful enough that you can write the PHP system from scratch in Perl.

    For microcontrollers and other things, C is the universal language. The current version of PHP is written in C. Perl is also written in C, as is Linux and Apache. C can literally do everything and anything that can be done with a computer. Many microcontrollers can also be coded in C.

    As for Ruby, Python, etc., each has a job it's well suited for, but less than 1% of all software is written in one of these oddball languages. There are reasons they are hardly ever used.

    You mean to say perl is the language i should be heading towards right now or rather, i shouldnt waste time on bash if thats what i want to do.for microcontrollers, agreed c is the best language but life has become easier with good microcontroller kits and java.

    Ruby is getting lot of publicity lately especially for its efficiency.. is it worth a try.

    thanks for your replies,
    they're Very informative!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Role of .htaccess in SEO
    By virtuagurl in forum Search Engines
    Replies: 9
    Last Post: Oct 28th, 2010, 1:45 am
  2. Role of PR
    By arun in forum SEO Forum
    Replies: 15
    Last Post: Oct 27th, 2010, 1:50 am
  3. Scripts Directories To Submit Software Scripts
    By robertflorish in forum Directories
    Replies: 0
    Last Post: Jul 18th, 2010, 10:05 pm
  4. What is the role of UN in the world?
    By D007 in forum World News
    Replies: 6
    Last Post: Sep 23rd, 2008, 11:02 am
  5. What is this? & What role does it play?
    By OUD in forum SEO Forum
    Replies: 3
    Last Post: Oct 25th, 2007, 6:16 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads