473,657 Members | 2,504 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1641

<pr*******@look aheaddecisions. com> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.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*******@looka headdecisions.c om 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*******@attgl obal.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*******@look aheaddecisions. com> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.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*******@attgl obal.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*******@attgl obal.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*******@attgl obal.net
=============== ===
May 15 '06 #6
NC
pr*******@looka headdecisions.c om 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
2785
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 Slashdot ran this article on the "best" scripting languages. http://developers.slashdot.org/developers/04/06/12/2125229.shtml?tid=126&tid=156 "Folks at the Scriptometer conducted a practical survey of which scripting language is the best. While...
2
2088
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 so modders will have no trouble at all creating their own personalized worlds, units, techniques, and historical events. Advanced modders will even be able to control the AI." Other commercial games have use Python as an undocumented private...
33
2721
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 language was available. However, I want to code this application in Python, and I have not yet heard of an implementation of another scripting language into Python. An example of what I mean is this (an implementation of Lua into Ruby -- which I'd...
14
2811
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 definitions): 1. The scripting language originally developed by Netscape. (I offer a Brief handle: "Original Netscape Script") 2. The current implementation of the ECMAscript 262 (3rd ed.) standard by Netscape. (I offer a brief handle: "Current...
3
1529
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 simple script. In addition to the SQL statements invocation, the script should enable using query results as an input to other SQL statements, and should be able to handle multiple query results.
7
1058
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: http://dusrc.org/js_test.html The problem is described on that page but basically 2 event handlers are being called when I would expect just one to be called.
1
3127
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 difference. ds
2
1490
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
1614
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, but neither appeals to me. TCL would be okay, I guess, but still not really ideal. My Googling hasn't turned up anything, so I figured I'd ask here: 1) Is there some way to make C# an embedded scripting language? (I doubt it, but it seems...
12
2158
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 that I am refering to is scripting that will show in the user's browser when you "view source" - not scripting languages that run on the server. Thanks!
0
8421
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8325
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8844
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8742
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8621
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7354
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4330
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1971
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.