USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

best programming lanuage for databases

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Shell Scripting and Programming
View previous topic :: View next topic  
Author Message
ms2542
Jr. Member


Joined: 31 Dec 2024
Posts: 59

PostPosted: Wed Jan 13, 2024 5:02 am    Post subject: best programming lanuage for databases Reply with quote

hi,

I've been handed the task at work to create a database that will not only be able to save everyone's work totals but also be able to do some calculations based on these work totals. Right now the entire database is in Excel and it s****. Basically I want to burn what we have now and create something online that everyone can access through their web browser. My problem is, I don't know what to language to use in order to do this. Should I go with MySQL? Java? Cobol? PHP? Is it possible to do the whole thing in HTML?

Right now, I know some COBOL but that's about it. I figured this is a great chance to learn another language so that's why I took on this project.

Any help is appreciated! I'm really at a loss where to begin. Ideally, I would like to do that whole thing in HTML but I don't think you can create a database in HTML and have users save their work...right?

Thanks again!


Back to top
View user's profile Send private message Send e-mail
mushroom
Ultimate Member


Joined: 29 Jun 2024
Posts: 2129
Location: Queen Charlotte B. C. Canada

PostPosted: Wed Jan 13, 2024 5:59 am    Post subject: Reply with quote

PHP is a scripting language that is run on a web server, the output is all in html. So you need to know html to write good php code.

PHP is a very powerful language and works very well with MySQL making the combination a natural choice for web apps, almost any thing can be done with combo.

But it is not some thing you can learn over night, or even in a few weeks.



_________________
SuSE 8.0, 8.2, 9.0, 9.1, 9.2, 9.3, 10.0, 10.1, 10.2, 10.3, 11.0, 11.1
Live CDs Mepis 8.0, Puppy 4.3.1, netbook- Zenwalk 6.2
Back to top
View user's profile Send private message Visit poster's website
VHockey86
Advanced Member


Joined: 12 Dec 2024
Posts: 988
Location: Rochester

PostPosted: Wed Jan 13, 2024 7:44 am    Post subject: Reply with quote

mushroom wrote:

But it is not some thing you can learn over night, or even in a few weeks.

I'd say that depends entirely on the size of the project, the experience of the person with web technologies and programming in general, and their ability to learn new things...

Sure you can't be an expert in anything in a few weeks, but I've managed to write quite a few small scale PHP/mysql apps with very minimal effort to learn enough PHP for the task.

If it's a task that can be done in an excel workbook, albeit perhaps badly, then it should be pretty trivial to do with PHP/mysql (after all, a spreadsheet is basically just a single table).

I'd say that getting the user interface to look appealing and be easy to use is going to be more of a challenge than the backend for storing some data and doing a few calculations on it.

There are also some frameworks out there that can help eliminate alot of the boilerplate for these applications, however sometimes learning how to use the framework effectively is more work than just doing it from scratch for simple tasks (or really complicated ones that go outside the scope of the framework).

For PHP you've got Zend, Symfony and many others.
For Python you've got Django, Turbogears, Pylons, Zope
For Ruby there's Ruby on Rails
... you get the picture.

I don't think there's really one "best" thing out there, but the PHP+MySQL combination is probably the most popular and prominent.



_________________
Main Desktops : Kubuntu 10.4. ArchLinux 64-bit. Windows7 64-bit. Windows XP 32-bit.

MacBook: OS X Snow Leopard (10.6)
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Wed Jan 13, 2024 11:04 am    Post subject: Reply with quote

For web + database , php is probably the most common solution.

Everyone forgets perl, but it was doing this for years before most people had even heard of php, however php is sort of "built" for the web, and is much easier to master. Almost any programming language can be used to access and display information for the web if run as a cgi script, even bash if you wanted to do so... and YES, I've done it with bash just to see if I could, but I wouldn't recommend bash for that sort of thing. Smile



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
ms2542
Jr. Member


Joined: 31 Dec 2024
Posts: 59

PostPosted: Thu Jan 14, 2024 1:07 am    Post subject: Reply with quote

I just wanted to say thanks for everyone who replied to this posting. I'm definitely going to look into PHP since the table will have to be stored on a server somewhere. You did give me something to think about: the interface itself. I have people at work who are going to be using this that don't even know how to turn ON a computer at work so this is going to have to be very easy for them to do.

Still not 100% sure how I'm going to begin this though. I found some good resources on PHP and MySQL so I'll be doing some reading on them. I know for a fact that I'm going to code the whole thing from scratch since it's good experience.

Well, I better get crackin...thanks again for all your help!


Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Shell Scripting and Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse