Website project. What language to use ?

Associate
Joined
10 Nov 2004
Posts
2,237
Location
Expat in Singapore
I am looking at putting a website together.

I need to have a cart, a map with clickable areas that when clicked cause the background to become shaded and an image to come to the front like a lot of image gallaries do.

I have looked at Ruby on Rails but to us it I would have to learn OOP concepts and then Rudy on Rails as a language and rather than investing a great amount of time doing this I was wondering if there were any other languages better suited.

I have reasonible programming knowledge with modular languages. I write shell scripts and sql on a daily basis.

With such a choice (ASP, PHP, Scala, Java etc) I would rather know I am making the best choice if I need to invest so much time.

One thing I liked very much about Ruby was that the code to build the page is not exposed to the user, only the results are.

Any suggestions or comments would be most welcome.

Many thanks
RB
 
I'd go with PHP, but thats because i've become familiar with it recently and quite like it. PHP is also a server-side language so won't be shown to users... sounds like quite a lot of work though

Also, theres a huge library of example code and stuff all over the net for PHP in comparison to other languages so when you do get stuck, it'll take you minutes to find out why :D
 
PHP is powerfull and easy to use, but harder for certan security issues then other languges.

If you dont fancey PHP, you could try .NET. We use .NET at work as it seems to be secure and quick to develp in, compared to the alterntitives. Download visual studio's for free from MS and away you go, you can use C# or VB script for this. (I use vb script)
 
I'd go with PHP, as carts are very easy make using it - even found it easier than using 'classic' asp.
 
I am looking at putting a website together.

I need to have a cart, a map with clickable areas that when clicked cause the background to become shaded and an image to come to the front like a lot of image gallaries do.

I have looked at Ruby on Rails but to us it I would have to learn OOP concepts and then Rudy on Rails as a language and rather than investing a great amount of time doing this I was wondering if there were any other languages better suited.

I have reasonible programming knowledge with modular languages. I write shell scripts and sql on a daily basis.

With such a choice (ASP, PHP, Scala, Java etc) I would rather know I am making the best choice if I need to invest so much time.

One thing I liked very much about Ruby was that the code to build the page is not exposed to the user, only the results are.

Any suggestions or comments would be most welcome.

Many thanks
RB




???????????????
 
I think he just means he likes how it's server-side rather than client-side!

Exactly.

I views a website claiming to completely mask original links so no one could know where you are going. Well that was a challange I could not resist so I had a look at the page source and found it was in Javascript and even without knowledge of JS I could decode the urls quite easily and wrote a ksh script to do just that (the urls were coverted to ASCII and then reversed so the first 'http' ended up at the end as 'ptth'). It is this sort of thing that makes me lean more towards server side scripts.

There seems to be a great big thumbs up for PHP.

Does Ajax or something like it also work with PHP ? I do like the idea of being able to do simple updates without a call back to the server.

Many thanks for all the responses so far.

RB
 
Exactly.

I views a website claiming to completely mask original links so no one could know where you are going. Well that was a challange I could not resist so I had a look at the page source and found it was in Javascript and even without knowledge of JS I could decode the urls quite easily and wrote a ksh script to do just that (the urls were coverted to ASCII and then reversed so the first 'http' ended up at the end as 'ptth'). It is this sort of thing that makes me lean more towards server side scripts.

There seems to be a great big thumbs up for PHP.

Does Ajax or something like it also work with PHP ? I do like the idea of being able to do simple updates without a call back to the server.

Many thanks for all the responses so far.

RB

Ajax works with any server side langauge as far as i know and definately PHP.
 
Ajax works with any server side langauge as far as i know and definately PHP.

Great.

Time to take all the Ruby books back to the library and get out the PHP ones then :D.

Any recommendations of books / sites apart from Lynda.com (I have her web design book which is a little old but very good and well worth a read).

Once again, many thanks for the comments.

RB
 
PHP is powerfull and easy to use, but harder for certan security issues then other languges.

If you dont fancey PHP, you could try .NET. We use .NET at work as it seems to be secure and quick to develp in, compared to the alterntitives. Download visual studio's for free from MS and away you go, you can use C# or VB script for this. (I use vb script)

I heard that VBScript is becoming extinct and that 'most' employers are after C#... but that's just what I heard from a few people
 
PHP is a relatively simpler language to use than any other language. Initially, PHP was written in the C programming language to replace a set of scripts in Perl. That is the reason why coding in PHP remains simple even today. Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding.
 
Many developers find themselves to be more at ease with the user-friendly nature of PHP when it comes to coding.

Ahh, but maybe not the setup.

I installed Apache and PHP5 on my XP machine (settle down you Linux guys at the back :)) at home which was fine witht he installers and Apache worked out of the box, tested by connecting to local host. I then got looking at the install.txt file with PHP and found I had to trawl throught the pages of httpd for Apache and PHP.ini to get the system up and running to match the documentation. I thought we had left the 1980's ;).

Anyway, the initial setup is in and Apache is working although I still have to test PHP is installed correctly and the database connectivity for PHP is working.

There is also PECL which is not included apparently with PHP 5.2.9-1.

Feels like I have just got the (PHP) icecream and now there are all the toppings but which ones to try............ after I work out how I want to best use the icecream (cone, block, sculpture). :D

I have a few books from the library for XHTML / CSS and PHP so hopefully things can get moving.

Regards
RB
 
Back
Top Bottom