Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
Does anyone know about MVC?
I'm planning to use MVC to develop a site for online hotel booking as my student project.
I'm not sure if this kind of application is used for such small projects.
Suprisingly, there are no books at all about this software..so I couldn't find much info about it.
Let me tell you, I'm not good at programming (Java or C++)..so does it require a proffesional to accomplish it?
Regards,
Rami

The mvc concept is not that difficult, but the programming behind such a site might require a little more than beginner knowledge. Struts is a pretty good example when it comes to mvc. So if you research struts, you should see that in there somewhere. Basically, you need to use jsps as the interface for your client... and jsps should contain no more than html and tags. The servlet should be used to controll the flow of your application, and java beans should be used to handle transactions between your app. and the database.
Heres a site to look at...
http://www-106.ibm.com/developerworks/library/j-struts/?dwzone=java

Thank you!!
So I basically need to learn Java :`(
When you download Struts and all other softwares, don't they come with all the coding for you? And you only have to do just a little bit of coding...
On the other hand, I thought you would use SQL to do the database side of MVC...
Regards,Rami

Some of the coding is done for you. You will always need to write code. Struts is just a way to handle the flow of your app. As far a database and sql knowledge is concerned, you will of course need to plan and build the database... and you will also need to know how to handle the data as well. There are tools out there like Hibernate that run queries and updates for you, but on some level, you will always need to know how sql works.

![]() |
Looking at strings
|
Program using queues in a...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |