Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd October 2012, 12:15
Damieen Damieen is offline
Junior Member
 
Join Date: Sep 2012
Location: new york
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default Which one is best perl or javascript?

well guys, just need tour suggestions to make it clear for me, about the best scripting language between the two, Perl or Javascript. I just have to develop a website and there is the option for me using any one from the two. So, kindly tell about your opinion.
__________________
.
Reply With Quote
Sponsored Links
  #2  
Old 8th October 2012, 09:32
Damieen Damieen is offline
Junior Member
 
Join Date: Sep 2012
Location: new york
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello friends, you have nothing for me to suggest about the best one or you have no idea about it. I may consider tutorials also but I think if you would have used, so better idea about it... please guys ??
__________________
.
Reply With Quote
  #3  
Old 8th October 2012, 09:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,581
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

You can not really compare tehs elanguages as they are for different purposes. Javascript is mostly used as programming language in the web browser while Perl is a scripting langauge that is used on the server to generate pages or to create meintenance scripts for system administration.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
Damieen (9th October 2012)
  #4  
Old 9th October 2012, 09:28
Damieen Damieen is offline
Junior Member
 
Join Date: Sep 2012
Location: new york
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Okay, this is the issue where I was missing to make the differences. Well, now you have made my concepts totally good regarding these two scripting languages, I can decide which one to choose... finally thanks for your great reply.
__________________
.
Reply With Quote
  #5  
Old 2nd November 2012, 03:43
deli45 deli45 is offline
Junior Member
 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
You can not really compare tehs elanguages as they are for different purposes. Javascript is mostly used as programming language in the web browser while Perl is a scripting langauge that is used on the server to generate pages or to create meintenance scripts for system administration.
I agree!
Reply With Quote
  #6  
Old 19th June 2013, 13:05
Fmartin Fmartin is offline
Junior Member
 
Join Date: Jun 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
You can not really compare tehs elanguages as they are for different purposes. Javascript is mostly used as programming language in the web browser while Perl is a scripting langauge that is used on the server to generate pages or to create meintenance scripts for system administration.
I also think that we can't compare these languages because they are used in different ways and for different goals.
Reply With Quote
  #7  
Old 28th July 2013, 10:58
ethan12 ethan12 is offline
Junior Member
 
Join Date: Jul 2013
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

deli45 yeah very right and 100% agreed with you but javascript is not an easy language to learn although perl language easily understandable.
Reply With Quote
  #8  
Old 17th October 2013, 11:07
bobcharr bobcharr is offline
Junior Member
 
Join Date: Sep 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by ethan12 View Post
deli45 yeah very right and 100% agreed with you but javascript is not an easy language to learn although perl language easily understandable.
It's true, but as for me javascript offers more opportunities than perl.

Last edited by bobcharr; 18th October 2013 at 10:54.
Reply With Quote
  #9  
Old 18th October 2013, 12:29
AlisonCoco AlisonCoco is offline
Junior Member
 
Join Date: Oct 2013
Location: Cincinnati
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if you use programming language then javascript is the best one to be used for you otherwise perl would be the ideal one for you
__________________
Dhoom 3 Full Movie
Reply With Quote
  #10  
Old 15th December 2013, 04:23
RandomGuy RandomGuy is offline
Junior Member
 
Join Date: Dec 2013
Posts: 9
Thanks: 1
Thanked 1 Time in 1 Post
 
Default

As the previous posts already pointed out they are not comparable. One generates a page on the server, one is executed in your users browser once they downloaded the page. This might be beside the point but I am using java servlets and in my opinion using server side java and client side javascript is a good combination since the two are very similar which means you don't have to shift between "two worlds" all the time.
I don't quite agree about javascript beeing hard, in my opinion it is one of the easiest scripting languages that you could use. There are things that are complex, like understanding the scope of variable and closures but the generall language is rather easy to learn. I recommend that you use JQuery when working with client side javascript. It can save a huuuuuge amount of time and makes almost every aspect of javascript much easier. It is also very well documented and easy to learn.
To your question, I would suggest to use both. As I stated above one is server-sided one client-sided. I never did anything with perl so I don't know how hard it is to learn it. What I can tell you however is that you need client sided as well as server sided code in almost any case I can think of. If you need to save your users settings in a database you will need server sided technologies, if you want your web-page to have interactive features like sortable table or collapsible boxes you need client-sided scripts. You would have to explain what it is you are trying to do for a more accurate recommendation.
Reply With Quote
The Following User Says Thank You to RandomGuy For This Useful Post:
AbannyvabVask (16th December 2013)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't open javascript folder on web Reppie General 5 13th February 2013 12:06
OpenSuse 12.1 "vlogger" script issue vbayer Installation/Configuration 11 18th July 2012 00:53
perl xs error: Bareword found where operator expected at ./Makefile.PL line 10, near nikole Server Operation 0 13th April 2010 21:42
Runaway Perl aws910 Server Operation 2 19th November 2007 17:24
Perl and cgi script installation linuxuser1 General 30 26th April 2006 23:09


All times are GMT +2. The time now is 15:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.