• Post Reply Bookmark Topic Watch Topic
  • New Topic

Building a website for college project

 
arjun chandar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, We have a class project which requires us to build a website for selling stuff, and maybe provide inventory control.

I wanted to know if we should use PHP and MYSQL with APACHE setup.. or does java provide a way to build websites like html pages, and access data from mysql.

The thing we need is to provide some functionalities to the database, for example: searching data. and also some triggers in database, which tells us when to buy stuff for inventory, like when level goes low for some inventory.

What i want to know is : does java provide a way to access mysql and also run scripts, which can do above tasks, and the time it takes to learn and implement this as simply as possible for a class project.

Your guidance will be much appriciated, so that i can pursue the java route, or use PHP and MYSQL combo.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course. Huge numbers of enterprise web applications are written using the Java stack. Servlets and JSP provide the presentation tier, while JDBC provides database access in the data tier.

There's a steep learning curve if you are not already familiar with Java and Java concepts. If you need something quick and already know PHP, I'd suggest sticking with it until you have the time to devote to learning how to write Java web apps.
 
Trivikram Kamat
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usually College projects are small projects, and can be quickly coded using PHP-MySQL.
It's easier to host them also, as many free hosts provide both PHP and MySQL support.

Well, Java is mostly used for coding backend in the most web applications in the Industry - mainly because properly designed Java projects are very flexible and can be easily scaled.
By choosing Java to code your College Project website, you might face problems initially - but will help you later in your career.

You're a student and can give time for studying, so it's worth to go for Java.
 
arjun chandar
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your suggestions. Although i'm a java fan, i decided to go with PHP and MYSQL since, time is very short. As far as Java is concerned, we have a course coming up next sem, and i will personally pursue the path of java.

Thanks a lot for all the replies and suggestions again. It was very helpful.
 
Trivikram Kamat
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
arjun chandar wrote:
Thanks a lot for your suggestions.

Anytime
Good Luck for designing your College Project website.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!