sh4m 0 Report post Posted December 3, 2008 macam kat topik tu... ade x example web based berlandaskan MVC 2.. client -> jsp -> servlet ->db..aku nak tgk flow2 ni la... Quote Share this post Link to post Share on other sites
SHiDi 0 Report post Posted December 3, 2008 Mula mula sekali. Apa dia konsep MVC? Framework apa yang berlandaskan MVC? Quote Share this post Link to post Share on other sites
sh4m 0 Report post Posted December 4, 2008 QUOTE(SHiDi @ Dec 3 2008, 07:22 PM) <{POST_SNAPBACK}>Mula mula sekali. Apa dia konsep MVC? Framework apa yang berlandaskan MVC?fuyohh.. aku xigt dah.. tp gambaran tu aku igt la... jsp ni sebagai interface... n servlet ni sebagai process or connected to DB... Quote Share this post Link to post Share on other sites
cikdayah 0 Report post Posted December 5, 2008 servlet connected to DB? Quote Share this post Link to post Share on other sites
sh4m 0 Report post Posted December 5, 2008 QUOTE(cikdayah @ Dec 5 2008, 02:30 PM) <{POST_SNAPBACK}>servlet connected to DB?yup.. servlet can leh connect to DB.. cam biasa je... dalam jsp pun leh gak.. cuma peranan jsp cuma interface.. Quote Share this post Link to post Share on other sites
SHiDi 0 Report post Posted December 5, 2008 Aku tak pandai Java. Tapi biasanya kita tak campur kan business logic dengan database connection kan? Bukan nanti nampak bersepah ke class tu? Dan tentang initialize db connection dalam JSP. Aku nasihatkan JANGAN. Tak silap aku ianya adalah tak selamat.Dan, MVC merujuk kepada Model View Controller. Salah satu daripada 23 design patterns oleh GOF. Struts merupakan contoh terbaik MVC.Contoh web based yang menggunakan MVC? Cuba cari mana-mana website yang gunakan Struts. Senang je, banyak website Malaysia gunakan. Ni dengan andaian kau biasa dengan Struts.Kalau salah, tolong betulkan. Quote Share this post Link to post Share on other sites
cikdayah 0 Report post Posted December 9, 2008 aku fhm pe shidi nak terangkan..dgn kate lain..cube faham ape tu MVC?kalo kite uraikan satu2 MVC tu pun kite leh fhm da camne flow die.ni de link kalo rajin la nak bacehttp://www.ibm.com/developerworks/library/j-struts/hepi reading.enjoy Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted December 9, 2008 Peh..Otai cikdayah bagi tip..Aku pon tak pandai sangat pasal MVC ni.. Quote Share this post Link to post Share on other sites
cikdayah 0 Report post Posted December 9, 2008 (edited) off topic:aduh..sape la otai ni..sy budak baru blajo..ni pun blajo dr otai2 di sini..firestarter elok blajo mvc ni.ilmu berguna..aku try google utk sample struts.de dlm roseindia.com.agak senang nak fhm kalo sh4m faham struts.tp akan jd blur bile xpenah guna struts.xpe...try share mane coding yg xfhm..ni kalo xfhm la..insyaAllah otai2 java ramai bole membantu. Edited December 9, 2008 by cikdayah Quote Share this post Link to post Share on other sites
sh4m 0 Report post Posted December 9, 2008 QUOTEhttp://www.ibm.com/developerworks/library/j-struts/aku paham yg ni.... so ade xcontoh web based berlandaskan MVC2 ni...? Quote Share this post Link to post Share on other sites
ron 0 Report post Posted December 10, 2008 User request all manage by controller Quote Share this post Link to post Share on other sites
sh4m 0 Report post Posted December 10, 2008 QUOTE(ron @ Dec 10 2008, 08:58 PM) <{POST_SNAPBACK}>User request all manage by controlleryup.... Quote Share this post Link to post Share on other sites
MYNapster 0 Report post Posted December 15, 2008 for business logic, aku rase buat mase sekarang ni yg tengah top = EJB3.. ni ade link EJB3 nye tutorial Quote Share this post Link to post Share on other sites
Firestarter 0 Report post Posted December 15, 2008 Tempat aku keje dah tak guna ejb ni..Semua guna struts.. Quote Share this post Link to post Share on other sites
kowmeng 0 Report post Posted June 18, 2011 [quote name='ron' timestamp='1228913929' post='880450'] User request all manage by controller [/quote] boleh tak bg sample web base yg gune MVC framework..sbb skg ni tgah study MVC utk ASPnet C#.. Quote Share this post Link to post Share on other sites
'atiq 0 Report post Posted November 1, 2011 MVC Java Framework berlambak dude.. Aku recommend buat mvc seam, strut 2, spring or stripe. cuba hello world and CRUD. Quote Share this post Link to post Share on other sites