473,378 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

confused about which scripting language to use for server-side -- need advice

I need some very basic advice.

Let's suppose I need to do some mysql queries and updates to a
database. I also need to dynamically update parts of a web page that
the user is looking at based on the results of these queries. What are
my options for server-side scripting languages and what you recommend.
I've heard quite about about Ruby on Rails--does that cover everything
php does or is php a better way to go.

Thanks!

May 14 '06 #1
6 1629

<pr*******@lookaheaddecisions.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
I need some very basic advice.

Let's suppose I need to do some mysql queries and updates to a
database. I also need to dynamically update parts of a web page that
the user is looking at based on the results of these queries. What are
my options for server-side scripting languages and what you recommend.
I've heard quite about about Ruby on Rails--does that cover everything
php does or is php a better way to go.

Thanks!


You have two main-stream options...

ASP or PHP.

ASP requires IIS which is not FREE
PHP can use either IIS or APACHE (which is FREE)

For a bedroom coder or a semi-serious developer I would use PHP
If somebody else is paying for it I would probably still use PHP but might
get them to pay for ASP and IIS to try it out

Never heard of Ruby on Rails...

May 15 '06 #2
pr*******@lookaheaddecisions.com wrote:
I need some very basic advice.

Let's suppose I need to do some mysql queries and updates to a
database. I also need to dynamically update parts of a web page that
the user is looking at based on the results of these queries. What are
my options for server-side scripting languages and what you recommend.
I've heard quite about about Ruby on Rails--does that cover everything
php does or is php a better way to go.

Thanks!


You have several choices. ASP comes with IIS, and is free if you have IIS. You
can use PHP, Perl, Ruby on Rails, or dozens of others.

There is no one "better way to go" based on your information. There are many
other things to consider.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 15 '06 #3
Carved in mystic runes upon the very living rock, the last words of
Domestos of comp.lang.php make plain:
<pr*******@lookaheaddecisions.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
I need some very basic advice.

Let's suppose I need to do some mysql queries and updates to a
database. I also need to dynamically update parts of a web page that
the user is looking at based on the results of these queries. What
are my options for server-side scripting languages and what you
recommend. I've heard quite about about Ruby on Rails--does that
cover everything php does or is php a better way to go.

Thanks!


You have two main-stream options...

ASP or PHP.

ASP requires IIS which is not FREE
PHP can use either IIS or APACHE (which is FREE)

For a bedroom coder or a semi-serious developer I would use PHP
If somebody else is paying for it I would probably still use PHP but
might get them to pay for ASP and IIS to try it out


I still have nightmares from having to work in VBScript. It is a
horrible, horrible language. I'd rather write an RPG compiler in
Malbolge. Or vice-versa. You're not missing anything.

--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
May 15 '06 #4
In article <B6******************************@comcast.com>,
js*******@attglobal.net says...


You have several choices. ASP comes with IIS, and is free if you have IIS. You
can use PHP, Perl, Ruby on Rails, or dozens of others.

There is no one "better way to go" based on your information. There are many
other things to consider.

A good day for interesting comments here !

I'm obviously using PHP at the moment but I'm coming across things as I
learn it that are starting to trouble me.

You mention perl as an alternative - is there a comparison of the
features of PHP v PERL anywhere or is that a daft thing to compare?

Is there any reason to use one over the other ?
I dont know anything at all about perl except I have it available.

tony




May 15 '06 #5
to**@tony.com wrote:
In article <B6******************************@comcast.com>,
js*******@attglobal.net says...

You have several choices. ASP comes with IIS, and is free if you have IIS. You
can use PHP, Perl, Ruby on Rails, or dozens of others.

There is no one "better way to go" based on your information. There are many
other things to consider.


A good day for interesting comments here !

I'm obviously using PHP at the moment but I'm coming across things as I
learn it that are starting to trouble me.

You mention perl as an alternative - is there a comparison of the
features of PHP v PERL anywhere or is that a daft thing to compare?

Is there any reason to use one over the other ?
I dont know anything at all about perl except I have it available.

tony




Tony,

I don't know of any head-to-head comparisons off hand. They're both good
programming languages which do the job well. In web work they have pretty much
the same features, but obviously the syntax is somewhat different.

I use mainly PHP but can dink around with Perl. I also use ASP for my IIS
customers. But I know other webmasters who use mainly Perl. Others are strictly
ASP and/or ASP.NET.

No one language is perfect - that's why there are so many of them :-). But
they're all good languages and each one works well in a web environment.

I did find PHP easier to learn than Perl; not that Perl is that hard but I
already had a strong background in both C++ and Java, and PHP is very similar to
both - a no-brainer, to me. But others have found Perl easier. It's all in
what you're used to.

And in a PHP group you're generally going to get PHP recommendations - and I
wouldn't want to see it any other way :-).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
May 15 '06 #6
NC
pr*******@lookaheaddecisions.com wrote:

I need some very basic advice.

Let's suppose I need to do some mysql queries and updates
to a database. I also need to dynamically update parts of
a web page that the user is looking at based on the results
of these queries.
Before we do that, where is the database located? On your computer or
on a hosting company's server?
What are my options for server-side scripting languages
An incomplete list in alphabetical order:

ASP
ASP.Net
ColdFusion
JSP
Perl
PHP
Python
and what you recommend.
Well, we're in PHP newsgroup, what do you expect? :)

Seriously, though, if you already host the site somewhere and don't
want to move it, you're stuck with the choice of scripting language(s)
offered by your hosting plan. If you already have some programming
experience in any language, you should consider building on it, rather
than start anew with a brand-new language.
I've heard quite about about Ruby on Rails--does that cover
everything php does or is php a better way to go.


There is no such thing as "a better way to go". You should think of
what is best for you in terms of your development expertise and
availability of hosting.

Cheers,
NC

May 15 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

41
by: Richard James | last post by:
Are we looking at the scripting world through Python colored glasses? Has Python development been sleeping while the world of scripting languages has passed us Pythonista's by? On Saturday...
2
by: Terry Reedy | last post by:
According to PCGamer, Jan05, p52: "*Civilization IV* has been designed to fully support the mod community. The game is written using flexible XML data files and the Python scripting language...
33
by: Quest Master | last post by:
I am interested in developing an application where the user has an ample amount of power to customize the application to their needs, and I feel this would best be accomplished if a scripting...
14
by: John Bentley | last post by:
Note this is crossposted to comp.lang.javacript and microsoft.public.dotnet.scripting. After some Googling and FAQing my understanding of these terms is, crudely: Javascript (3 different...
3
by: Michal O | last post by:
Hi. I have to write a C++ code that invokes a set of SQL statements (inserts, updates, selects etc.), according to the system administrator's directives. The directives should be written as a...
7
by: Deryck | last post by:
Hello, I have been modifying some javascript shopping basket code and have run into a problem. I have produced a subset of the HTML/JS that shows the problem and placed it here: ...
1
by: ds | last post by:
hello, i want to know the difference between vb.net and asp.net in intranet application. to bulid a intranet application which is best suited,vb.net or asp.net. i want to know the performance...
2
by: Xavier MT | last post by:
Hi, does anybody use remote scripting on your asp pages? I want to upgrade to asp.net but I cannot include the remote scripting because I'm already using VB as a server language. Any ideas?
4
by: Gene Jones | last post by:
So I'm starting to do some things where I'm going to want to add scripting in the application, and I can't find a scripting language to plug in that I like. So far I've looked at LUA and L-Sharp,...
12
by: jim | last post by:
I am new to web programming with javascript and I was wondering if javascript is the only scripting language that run in browsers like Firefox, IE and Opera or are there others? The scripting...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.