CGI :: Builder :: htmltmpl.

CGI :: Builder :: HTMLTMPLÀº CGI :: Builder ¹× HTML :: ÅÛÇø´ ÅëÇÕÀ»À§ÇÑ Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

CGI :: Builder :: htmltmpl. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Domizio Demichelis
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~domizio/CGI-Application-Plus-1.21/lib/CGI/Application/CheckRM.pm

CGI :: Builder :: htmltmpl. ű×


CGI :: Builder :: htmltmpl. ¼³¸í

CGI :: Builder :: HTMLTMPLÀº CGI :: Builder ¹× HTML :: ÅÛÇø´ ÅëÇÕÀ»À§ÇÑ Perl ¸ðµâÀÔ´Ï´Ù. CGI :: Builder :: HTMLTMPLÀº CGI :: Builder ¹× HTML :: Template Integration ¿ë Perl ¸ðµâÀÔ´Ï´Ù. Synopsis CGI :: Builder QW | CGI :: Builder :: HTMLTMPL ... | Âü°í : CGI :: Builder.This ¸ðµâÀ» ¾Ë¾Æ¾ßÇÕ´Ï´Ù.ÀÌ ¸ðµâÀº CGI :: Builder ¹× HTML :: ÅÛÇø´À» ¸Å¿ì Æí¸®ÇÏ°í À¯¿¬ÇÑ ÇÁ·¹ÀÓ ¿öÅ©¿¡ Åõ¸íÇÏ°Ô ÅëÇÕÇÏ¿© ¸î °¡Áö ÄÚµùÀ» ÀúÀåÇÒ ¼ö ÀÖ½À´Ï´Ù. HTML :: ÅÛÇø´À» ±â¹ÝÀ¸·ÎÇÏ´Â ÁÖ·Î ÀÚµ¿ ÅÛÇø´ ½Ã½ºÅÛÀ» Á¦°øÇÕ´Ï´Ù. ÀϹÝÀûÀ¸·Î °´Ã¼¿¡ ·±Å¸ÀÓ °ªÀ» Á¦°ø ÇÏ°íÀÌ È®ÀåÀÚ´Â ÆäÀÌÁö »ý»ê ÇÁ·Î¼¼½ºÀÇ ´Ù¸¥ ¸ðµç ÀÛ¾÷À» ÀÚµ¿À¸·Î °ü¸®ÇÕ´Ï´Ù (¿¹ : Ãâ·Â »ý¼º ¹× page_content ¼Ó¼º ¼³Á¤) .Note :ÀÌ È®ÀåÀÚ¸¦ »ç¿ëÇϸé ÆäÀÌÁö Çڵ鷯¿¡¼­ ÆäÀÌÁö Çڵ鷯 (HT-> Ãâ·Â)ÀÇ Ãâ·Â¿¡ PAGE_CONTENT¸¦ ÅÛÇø´ ¿ÀºêÁ§Æ® (HT-> Ãâ·Â)ÀÇ Ãâ·Â¿¡ ¸í½Ã ÀûÀ¸·Î ¼³Á¤ÇÒ ÇÊ¿ä°¡ ¾ø½À´Ï´Ù. ÅÛÇø´ ½Ã½ºÅÛÀ» ¹«½ÃÇÒ ´ë½Ã : # ÅÛÇø´ 'myPage.tmpl'À¸·Î Ãâ·ÂÀ» »ý¼ºÇÏ·Á¸é # ÀϹÝÀûÀ¸·Î PARMÀ» °´Ã¼ SUB PH_MYPAGE {MAY·Î Àü´ÞÇؾßÇÕ´Ï´Ù. $ s = À̵¿; $ S-> HT_PARAM (¹«¾ð°¡ => ¹«¾ð°¡ '); } # ±×·¯³ª ÅÛÇø´ ½Ã½ºÅÛÀ» ¿ÏÀüÈ÷ ¹«½ÃÇÏ·Á´Â °æ¿ì # page_content sub ph_mypage {my $ s = shift; $ S-> PAGE_CONTENT = 'ÀϺΠÄÜÅÙÃ÷'; } Âü°í :ÀÌ È®ÀåÀÚ´Â CGI :: Builder :: Magic Template ExtensionÀ¸·Î Magic ¹× Memory SavingÀÌ ¾Æ´Õ´Ï´Ù. HTML :: ÅÛÇø´Àº ƯÁ¤ ÀÔ·Â µ¥ÀÌÅÍ ±¸Á¶°¡ ÇÊ¿äÇÕ´Ï´Ù (Áï, html :: ÅÛÇø´ :: expr)¸¦ »ç¿ëÇϸé ÇÁ·Î¼¼½º Áß¿¡ Ãâ·ÂÀ» Àμâ ÇÒ ¼ö ¾ø½À´Ï´Ù. ¹Ý¸é¿¡ CGI :: Builder :: Magic¿¡¼­ Ãâ·ÂÀ» »ý¼ºÇÏ´Â °Íº¸´Ù ¸î ¹Ð¸® ÃÊÀ̾î¾ßÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl. ¡¤ CGI :: Builder> = 1.0. ¡¤ HTML :: Template> = 2.6.


CGI :: Builder :: htmltmpl. °ü·Ã ¼ÒÇÁÆ®¿þ¾î