Diff for "ModelVsView" UserPreferences
 
Help Info Print View Search Diffs Edit
 À妽º   Ã£±â   Freeboard   Subjectless   Images   ÃÖ±Ù±Û 

Differences between version dated 2003-02-13 15:24:34 and 2024-11-23 09:59:26
Deletions are marked like this.
Additions are marked like this.

½ÇÁ¦·Î »ç¿ëÀÚ¿¡°Ô º¸¿©Áö´Â °ÍÀÌ ViewÀÌ°í, ±×°ÍÀÇ ³»ºÎÀû Ç¥ÇöÀÌ ModelÀÌ´Ù. [³ë½º¸ðÅ©¸ðÀθðÀÎ]¿¡¼­´Â ¸µÅ©ÀÇ ModelÀº µð±ÚÀÚ °ýÈ£·Î µÑ·¯½×ÀÎ ±ÛÀÌ°í, View´Â ¹ØÁÙ ±×ÀΠȲ»ö(ȤÀº û»ö)ÀÇ ¸µÅ©ÀÌ´Ù. ÀÌ·¸´Ù¸é, Å©°Ô º¸¾Æ¼­, ÀÌ°÷À» ¼­ÇÎÇÏ´Â »ç¶÷µéÀÌ ¼öµ¿ÀûÀ¸·Î Àд ÇàÀ§¸¦ ÇÏ´Â µ¿¾È Á¢ÇÏ´Â °ÍÀº ¸ðµÎ ViewÀÌ°í ¼öÁ¤ÇàÀ§¸¦ ÇÏ´Â »ç¶÷µéÀÌ Ã¼ÇèÇÏ´Â °ÍÀº Model(ȤÀº Model¿¡ ´ëÇÑ Á¶±Ý ´õ Á÷Á¢ÀûÀÎ View)ÀÌ´Ù.

 

[À§Å°À§Å°]°¡ HTML Äڵ带 ¹Ù·Î »ç¿ëÇÏÁö ¾Ê°í, °¢Á¾ ¹®ÀåºÎÈ£¸¦ »ç¿ëÇϰųª, °ø¹éÀ¸·Î µé¿©¾²±â µîÀ» ÇÏ´Â °ÍÀº ÀÌ·± Model ÀÚü°¡ »ç¿ëÀÚ¿¡°Ô ±×´ë·Î ³ëÃâµÇ°í ¶Ç Àû±ØÀûÀ¸·Î »ç¿ëµÇ¾îÁö±â ¶§¹®ÀÌ´Ù. µû¶ó¼­, °¡´ÉÇÑÇÑ ¹®¼­ ³»¿¡ HTML ÄÚµåÀÇ Á÷Á¢Àû »ç¿ëÀ» ÀÚÁ¦ÇÏ°í, ÆíÁý ¹®¼­ ÀÚü°¡ ¶Ç ´Ù¸¥ View°¡ µÇµµ·Ï »ç¿ëÀÚ ÀÎÅÍÆäÀ̽º¸¦ °í·ÁÇϸç, ±Ã±ØÀûÀ¸·Î´Â View¿Í ModelÀÇ µðÀÚÀÎ ¸ðµÎ¸¦ ¸¸Á·½Ãų ¼ö ÀÖ´Â ±ÕÇüÁ¡À» ã¾Æ¶ó. (±âÁ¸¿¡ ¿£ÅÍÅ°°¡ ÇÑ ÁÙÀ» ¶ç¿öÁÖÁö ¾Ê°í ºóÁÙÀÌ ´Ü¶ô ±¸ºÐÀ» Çß´ø ¹æ½ÄÀº ÀÌ·¯ÇÑ Ã¶ÇÐÀ» µû¸£°í ÀÖ´Ù)

 

»ç½Ç ÀÌ ¹®Á¦´Â View¿Í ModelÀÌ µ¿ÀÏÇÏ°Ô º¸ÀÎ´Ù¸é º° ¹®Á¦°¡ µÇÁö ¾Ê´Â´Ù. ÀÌ°ÍÀ» À§ÁöÀ§±×(WYSIWYG -- What You See Is What You Get)¶ó°í ÇÑ´Ù. ÇÏÁö¸¸, ·Î¿ìÅ×Å©(ÇÏÀÌÅ×Å©ÀÇ ¹ÝÀǾî)¸¦ ÁöÇâÇÏ´Â [À§Å°À§Å°]´Â ¾ÆÁ÷ ÀÌ·± ±â¼úÀ» µµÀÔÇÏÁö ¾Ê¾Ò´Ù -- ȤÀÚ´Â ÀÌ·± ¹ÝÀ§ÁöÀ§±× ¹æ½ÄÀ» WYSIWYBYWG(What You See Is What You Believe You Will Get)¶ó°í ÇÑ´Ù. ÀÌ°ÍÀÌ ±àÁ¤ÀûÀÏÁö ºÎÁ¤ÀûÀÏÁö´Â °í¹ÎÇÏ°í ½ÇÇèÇØ º¸¾Æ¾ß ÇÒ ¹®Á¦ÀÌ´Ù.

----

[À§Å°À§Å°ºÐ·ù]


PythonPowered ShowText of this page
EditText of this page
FindPage by browsing, searching, or an index
Or try one of these actions: DeletePage, DeleteUploadedFile, LikePages, SpellCheck, UploadFile