Design of web app
Hi every one,
Im working in a s/w company and we got a project on warehouse management. the overvew of proj. is the same as any other: there is an interface, the business logic, and then a database. The interface(we'll use swings) has to connect to the database, and perform various operations(insert/delete/search etc) and the business logic comes in between.
So this is like any other small scale project, but the problem is i dont know how and what design/pattern the pros use. Can somebody plz give me an overall idea of the design and components that i have to use for the project to be according to the industry standards. Plz make it simple as possible w/o many jargons.
Thank u.
> Hi every one,
> Im working in a s/w company and we got a project on
> on warehouse management.
If you have to ask this question on a forum, the company that hired you to write this software made a huge mistake. You should either subcontract to someone who does know how to write software or just give the money back.
> the overvew of proj. is the
> same as any other: there is an interface, the
> business logic, and then a database. The
> interface(we'll use swings)
if it's a web app, it's unlikely you'll use swing.
> has to connect to the
> database, and perform various
> operations(insert/delete/search etc) and the business
> logic comes in between.
> So this is like any other small scale project, but
> ut the problem is i dont know how and what
> design/pattern the pros use.
If you're not enough of a pro to do this job, you've accepted money on false pretenses.
> Can somebody plz give me
> an overall idea of the design and components that i
> have to use for the project to be according to the
> industry standards. Plz make it simple as possible
> w/o many jargons.
> Thank u.
Model-View-Controller and n-tier architecture. Start with those.
web->service->model->dao
These are what your layers ought to look like.
%
%
I agree with Duffymo.
However I'm guessing that somebody more that senior has got you into this situation and like most companies their greed won't let them back out. It _IS_ however their responsibility to get you out of it.
You need to present those senior people with the points Duffymo has highlighted and then present them with the solution.
Actively manage the clients expectations.
Actively manage the risk, the biggest one is clear expertise therefore get training in Java/J2EE and appropriate expertise to mentor /consult.
Check Fowler's Domain model
First i gotta clear a few things before u all get a wrong impression of me. I was hired by a new company as a java programmer, but soon i found out that i had to do all the things from client interaction to design to product development. cause there were not many programmers to start with. it was a CAD company now trying their luck in S/W. So just as u guys said i asked them to hire experienced programers but they werent willing to spent that much buck. so they told me to learn all that...
Now before passing JUDGEMENT on anyone u should understand the problem. Well thanx for ur help (or whatever that was). I thought this would be a great place to ask but i was wrong...and im pretty disappointed...as far as swing is concerned the client wants the interface to look like a desktop app not a web interface...
I'll try my luck somewhere else...
> First i gotta clear a few things before u all get a
> wrong impression of me. I was hired by a new company
> as a java programmer, but soon i found out that i had
> to do all the things from client interaction to
> design to product development. cause there were not
> many programmers to start with. it was a CAD company
> now trying their luck in S/W. So just as u guys said
> i asked them to hire experienced programers but they
> werent willing to spent that much buck. so they told
> me to learn all that...
> Now before passing JUDGEMENT on anyone u should
> d understand the problem. Well thanx for ur help (or
> whatever that was). I thought this would be a great
> place to ask but i was wrong...and im pretty
> disappointed...as far as swing is concerned the
> client wants the interface to look like a desktop app
> not a web interface...
>
> I'll try my luck somewhere else...
well dont get disappointed so early on, persistance is a great quality to have specially in a software engineer. I did mention a pattern in my previous post have you read some material regarding that?
Thanx kilyas, and dont worry i'll do what ever it takes. I know about java programming (im SCJP 1.4) and i've done a bit of J2EE programming also but i dont know how to integrate all these using patterns, and i dont have time to go thru' all the theory (which i know is req.), so if there is something(practical example) that can get me started asap on this topic will be a great help.
Thank u...
> First i gotta clear a few things before u all get a
> wrong impression of me.
The only impression we get of you comes through this interface. Don't be surprised or upset if we don't have a complete picture of you after one post.
> I was hired by a new company
> as a java programmer, but soon i found out that i had
> to do all the things from client interaction to
> design to product development. cause there were not
> many programmers to start with. it was a CAD company
> now trying their luck in S/W. So just as u guys said
> i asked them to hire experienced programers but they
> werent willing to spent that much buck. so they told
> me to learn all that...
That's fortunate. It's just too bad that you won't have someone to learn from.
> Now before passing JUDGEMENT on anyone u should
> d understand the problem. Well thanx for ur help (or
> whatever that was).
This is a public forum; judge and be judged. I'm not sure what you expected - a complete design? Somebody to tell you how wonderful you and all your ideas are?
> I thought this would be a great
> place to ask but i was wrong...and im pretty
> disappointed...as far as swing is concerned the
> client wants the interface to look like a desktop app
> not a web interface...
Maybe the client is incorrect. Or maybe you should think about AJAX. It's a hot new technology that people are claiming will make Web apps more like desktop.
%
