This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > Which Language to Use?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Which Language to Use?
blackhawks

2006-02-12, 6:37 pm

:music;

I'm currently trying to develop a site using mysql Database and does the
following (in a nutshell):

Users can create accounts with login and password
Users will have access to a blog and forum to post messages
Users will primarily be voting on songs in my database. They can listen to
and vote (5 star system) on mp3's.
Site will track user info, such as songs voted for, average vote, favorite
songs, etc.
Songs with the most votes will be (through a query) loaded into some sort of
player on the site (the one I have is PHP-based).

I'm running Apache 1.3 and mysql and PHP 4.1. My question is, what should I
be using, in your collective opinions, for building this type of site working
with a mysql database? I'm currently going with PHP, but should I be using
something else, such as Ruby on Rails, ASP, Coldfusion, etc? I just want some
pros and cons for my approach.

Just want to get peoples' 2 cents.

blackhawks

2006-02-12, 6:38 pm

Ok, how about just 1 cent? Anything? Is this thing on?
darrel

2006-02-12, 6:38 pm

> I'm running Apache 1.3 and mysql and PHP 4.1. My question is, what should
> I
> be using, in your collective opinions, for building this type of site
> working
> with a mysql database? I'm currently going with PHP, but should I be
> using
> something else, such as Ruby on Rails, ASP, Coldfusion, etc? I just want
> some
> pros and cons for my approach.


Which language do you know? If none, then...

....which language does yoru web host prefer? If none, then...

....do you want Open Source of commercial? If it doesn't matter, then...

it doesn't matter. Just pick whichever one.

In general:

PHP = insanely popular, open source
ASP/.net = MS-only. Popular.
Coldfusion = MS only. Semi-popular. Proprietary.
Ruby on Rails = new kid on the block. Supposedly great for rapid
development.

Since your server is running PHP, I'd probably just go with PHP.

-Darrel


Les Matthews

2006-02-12, 6:38 pm

Any will work equally well; but if you are set on MySQL, I would recommend
PHP. While ASP or CF can work fine with MySQL, PHP is most commonly paired
with mysql on hosting servers. If you were set on Access or MS SQL Server as
your DB, I would recommend ASP or ASP.NET.

Ruby on Rails is AJAX stuff, isn't it?

"blackhawks" <webforumsuser@macromedia.com> wrote in message
news:dsfsl3$b1q$1@forums.macromedia.com...
> :music;
>
> I'm currently trying to develop a site using mysql Database and does the
> following (in a nutshell):
>
> Users can create accounts with login and password
> Users will have access to a blog and forum to post messages
> Users will primarily be voting on songs in my database. They can listen
> to
> and vote (5 star system) on mp3's.
> Site will track user info, such as songs voted for, average vote, favorite
> songs, etc.
> Songs with the most votes will be (through a query) loaded into some sort
> of
> player on the site (the one I have is PHP-based).
>
> I'm running Apache 1.3 and mysql and PHP 4.1. My question is, what should
> I
> be using, in your collective opinions, for building this type of site
> working
> with a mysql database? I'm currently going with PHP, but should I be
> using
> something else, such as Ruby on Rails, ASP, Coldfusion, etc? I just want
> some
> pros and cons for my approach.
>
> Just want to get peoples' 2 cents.
>



Lionstone

2006-02-12, 6:38 pm

>
> Ruby on Rails is AJAX stuff, isn't it?
>


Dunno, but it sure sounds like an interesting movie.

I hear it mentioned with Python a lot, but am not sure of the relationship.
Although introducing a Python would make the above-mentioned movie even
better.


Joe Makowiec

2006-02-12, 6:38 pm

On Thu 09 Feb 2006 03:14:43p, darrel wrote in macromedia.dreamweaver:

> Coldfusion = MS only. Semi-popular. Proprietary.


Nope, it can also run on *nix boxes. It can run as a standalone server, or
as a service(?) with either IIS or Apache.
blackhawks

2006-02-12, 6:38 pm

@ Darrel

My host supports the save version of PHP that I am currently running, so it
seems like that is the best direction, though I'd cRuby was the better way to
go. I've heard good things about Ruby, but don't know what hosts support it or
all that much about it.

I know very little, which makes this project quite ambitious for me. But,
worst case scenario is I am not successful but learn alot about online db
management and scripting.

So, looks like my only real choices are Ruby or PHP since I am using Mac OSX?

darrel

2006-02-12, 6:38 pm


> Nope, it can also run on *nix boxes. It can run as a standalone server,
> or
> as a service(?) with either IIS or Apache.


Ah! My mistake! Thanks for correcting that.

-Darrel


darrel

2006-02-12, 6:38 pm


> Ruby on Rails is AJAX stuff, isn't it?


No, it's a dev language (Ruby) on top of an framework (Rails). Sort of like
a vb.net on top of asp.net (sort of...someone can probably explain that
better than me. ;o)

It *does* have a lot of functions/libraries that can create ajax-type user
interaction widgets for you, however.

-Darrel


darrel

2006-02-12, 6:38 pm


> So, looks like my only real choices are Ruby or PHP since I am using Mac
> OSX?


If you want to run any of the site locally using Apache on your machine,
then you're not going to be using any of the MS options (ASP or DotNET).

You can certainly create your ASP code on a mac, though, then upload it to
the server to test if you wanted to.

But, yea, given that you are on a Mac, and then you will be using MySQL, I'd
definitely say that PHP or RoR is the way to go.

-Darrel


blackhawks

2006-02-12, 6:39 pm

Great! Thanks for all your input. I thought that staying the course with PHP was the way to go, but wanted to get opinions.
Massimo Foti

2006-02-12, 6:39 pm

"darrel" <notreal@nowhere.com> wrote in message
news:dsgab0$oi$1@forums.macromedia.com...
>
> Ah! My mistake! Thanks for correcting that.


ColdFusion runs on OS X as well


--
----------------------------
Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
----------------------------


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews