Heya friends!
i wanted to know does scripting(BASH) helps at all in webdevelopment or not?
thanks!
Heya friends!
i wanted to know does scripting(BASH) helps at all in webdevelopment or not?
thanks!
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
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.
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!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks