School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,360 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,734 people online right now. Registration is fast and FREE... Join Now!




Which language to use?

 

Which language to use?

fpcorso

10 Jun, 2009 - 07:10 PM
Post #1

New D.I.C Head
*

Joined: 17 Mar, 2009
Posts: 10


My Contributions
I am some-what new at the internet programming scene. I have someone who asked me if I could create a web-based app for him. Basically, there will be the clients who upload a request form into the database, then someone will take that job and assign it to a worker. The worker will go do the job then upload the results, which the assigner then send to the client. Of course the program will list all available workers for the assignment, as well as a master list of all current jobs, etc... What language would someone usually program this in? I can create applications for the computer in C++ or C#. Is there a language similar to these that can be used on a web server? Is it easy to go from C++ on a computer app to a language for a web app?

This post has been edited by fpcorso: 10 Jun, 2009 - 07:12 PM

User is offlineProfile CardPM
+Quote Post


Dantheman

RE: Which Language To Use?

10 Jun, 2009 - 07:18 PM
Post #2

D.I.C Regular
***

Joined: 27 May, 2009
Posts: 445



Thanked: 25 times
My Contributions
Check out PHP.
User is offlineProfile CardPM
+Quote Post

Kiriran

RE: Which Language To Use?

10 Jun, 2009 - 07:32 PM
Post #3

D.I.C Head
**

Joined: 11 Apr, 2007
Posts: 54


My Contributions
Since you know C#, check out ASP.NET
User is offlineProfile CardPM
+Quote Post

BetaWar

RE: Which Language To Use?

10 Jun, 2009 - 08:05 PM
Post #4

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 4,729



Thanked: 269 times
Dream Kudos: 1400
My Contributions
PHP, Ruby on rails, and Asp.net are all pretty powerful web programming languages which can be use dto complete what you are talking about.
User is offlineProfile CardPM
+Quote Post

Oler1s

RE: Which Language To Use?

10 Jun, 2009 - 08:20 PM
Post #5

D.I.C Addict
****

Joined: 4 Jun, 2009
Posts: 639



Thanked: 66 times
My Contributions
QUOTE
I have someone who asked me if I could create a web-based app for him.
Uh oh. Well, I hope you're prepared for all the support requests down the road...

QUOTE
What language would someone usually program this in?
A high level language. Well, one that has low development times faciliated by support for good high level logic, good large set of libraries, and ideally, has one or more good web development frameworks.

I would do this in Python because that's the high level language I'm most comfortable with. PHP and C# also fit the requirements above, like Python. Since you have experience with C#, it follows that you should investigate C# and ASP.NET first, as you will be most productive in a language and platform you are familiar with.

QUOTE
Is there a language similar to these that can be used on a web server?
Well, both C++ and C# can be used, under certain mechanisms. C# for example, translates to running an ASP.NET based web application. And C++, well, if you have to ask...

QUOTE
Is it easy to go from C++ on a computer app to a language for a web app?
It's not really the syntax that should be the problem. Obviously, you've got costs in time to get up to speed with a new language, its idioms, platform, etc., but what you'll really struggle with is knowledge of the web development architecture and then protocols and a lot of language agnostic things.

Occasionally it tends to be language specific. For example, if you chose PHP, how do you use PHP with a webserver? Or with Python, how do you use Python with a webserver? There's answers to these questions, (standards like CGI, FCGI, WSGI, or Apache specific modules like mod_php and mod_python), but then you have questions like what is WSGI?

And some of it is high level concerns. For example, security. How do you setup secure authentication? And the answers to those questions depend on knowledge about web architecture (for example, do you understand the stateless nature of HTTP, about cookies (why do they exist?)).

It's a daunting web of information, so people approach web development in largely one of two ways. The first is the "ignorance is bliss" kind of mentality. People just find the easiest entry point (whatever I can get working!) and then hack something together. Why it works, how it works, does it work properly, securely, aren't really dealt with until the issue rears its ugly head. Usually as a security issue or oddball bugs or later maintenance issues.

The other approach is to find an entry point, and work on building the knowledge slowly. Early work is going to be very much dependent on set packages, instructions, code snippets, and the like. But you focus on building that knowledge. But this takes time, so unless you feel happy about handing over to the person some kind of cruddy hackjob that seems to work, and then run away to the other end of the earth:

It's why the first sentence I said was an uh-oh. I kind of rambled here, but I've seen this kind of "someone asked me to make a web app" situation before, and I always feel like throwing out my thoughts. I hope you understand that your challenge doesn't simplify to "can I learn a new language". If it were only that easy...
User is online!Profile CardPM
+Quote Post

fpcorso

RE: Which Language To Use?

11 Jun, 2009 - 08:55 PM
Post #6

New D.I.C Head
*

Joined: 17 Mar, 2009
Posts: 10


My Contributions
Thank you everyone for your replies. I guess I will begin looking into the languages that were suggested. I had looked at php before, so I may just go with that one. Thank you for your time.
User is offlineProfile CardPM
+Quote Post

ianmitchell777

RE: Which Language To Use?

13 Jun, 2009 - 03:07 PM
Post #7

New D.I.C Head
*

Joined: 1 Jun, 2009
Posts: 10


My Contributions
QUOTE(fpcorso @ 10 Jun, 2009 - 07:10 PM) *

I am some-what new at the internet programming scene. I have someone who asked me if I could create a web-based app for him. Basically, there will be the clients who upload a request form into the database, then someone will take that job and assign it to a worker. The worker will go do the job then upload the results, which the assigner then send to the client. Of course the program will list all available workers for the assignment, as well as a master list of all current jobs, etc... What language would someone usually program this in? I can create applications for the computer in C++ or C#. Is there a language similar to these that can be used on a web server? Is it easy to go from C++ on a computer app to a language for a web app?



QUOTE(fpcorso @ 10 Jun, 2009 - 07:10 PM) *

I am some-what new at the internet programming scene. I have someone who asked me if I could create a web-based app for him. Basically, there will be the clients who upload a request form into the database, then someone will take that job and assign it to a worker. The worker will go do the job then upload the results, which the assigner then send to the client. Of course the program will list all available workers for the assignment, as well as a master list of all current jobs, etc... What language would someone usually program this in? I can create applications for the computer in C++ or C#. Is there a language similar to these that can be used on a web server? Is it easy to go from C++ on a computer app to a language for a web app?


User is offlineProfile CardPM
+Quote Post

ianmitchell777

RE: Which Language To Use?

13 Jun, 2009 - 03:13 PM
Post #8

New D.I.C Head
*

Joined: 1 Jun, 2009
Posts: 10


My Contributions
QUOTE(fpcorso @ 10 Jun, 2009 - 07:10 PM) *

I am some-what new at the internet programming scene. I have someone who asked me if I could create a web-based app for him. Basically, there will be the clients who upload a request form into the database, then someone will take that job and assign it to a worker. The worker will go do the job then upload the results, which the assigner then send to the client. Of course the program will list all available workers for the assignment, as well as a master list of all current jobs, etc... What language would someone usually program this in? I can create applications for the computer in C++ or C#. Is there a language similar to these that can be used on a web server? Is it easy to go from C++ on a computer app to a language for a web app?


REPLY - With the objective of geatest flexibility in mind ( BOTH Windows and Linux based ) I went the WAMP/LAMP route where the P is PHP. Plus a little work with CSS I found that I was able to manage any type of application or presentation that I wanted to plus ALL the code is Open Source thus able to save my customers a LOT of cost. Easily distributed because I can also protect my code with the use of PHPSHIELD. You can have a look at the result on BusWise.net. I am not a graphic artist by any measure but that can fairly easily be rectified with modifications to the CSS definitions.

Hope that this will help you, Cheers, ianm

This post has been edited by ianmitchell777: 13 Jun, 2009 - 03:25 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 07:48PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month