CI 묻고 답하기

제목 죄송 하지만 이 소스 한줄씩 설명 해주실분 없나요?
글쓴이 foglove 작성시각 2013/11/19 19:29:02
댓글 : 6 추천 : 0 스크랩 : 0 조회수 : 18857   RSS

<!DOCTYPE html>
<html>
<head>
 <meta charset="utf-8">
 <meta name="apple-mobile-web-app-capable" content="yes" />
 <meta name="viewport" content="width=device-width,initial-scale=1, user-scalable=no" />
 <title>CodeIgniter</title>
 <!--[if lt IE 9]>
 <script src="[removed]http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
 <![endif]-->
 <script src="[removed]https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
 <link rel='stylesheet' href="/todo/include/css/bootstrap.css" />
</head>
<body>
<div id="main">

 <header id="header" data-role="header" data-position="fixed"><!-- Header Start -->
  <blockquote>
   <p>만들면서 배우는 CodeIgniter</p>
   <small>실행 예제</small>
  </blockquote>
 </header><!-- Header End -->

 <nav id="gnb"><!-- gnb Start -->
  <ul>
   <li><a rel="external" href="/todo/index.php/main/lists/">todo 어플리케이션 프로그램</a></li>
  </ul>
 </nav><!-- gnb End -->
 <article id="board_area">
  <header>
   <h1>Todo 목록</h1>
  </header>
  <table cellspacing="0" cellpadding="0" class="table table-striped">
   <thead>
    <tr>
     <th scope="col">번호</th>
     <th scope="col">내용</th>
     <th scope="col">시작일</th>
     <th scope="col">종료일</th>
    </tr>
   </thead>
   <tbody>
<?php
foreach ($list as $lt)
{
?>
    <tr>
     <th scope="row">
      <?php echo $lt->id;?>
     </th>
     <td><a rel="external" href="/todo/index.php/main/view/<?php echo $lt->id;?>"><?php echo $lt->content;?></a></td>
     <td><time datetime="<?php echo mdate("%Y-%M-%j", human_to_unix($lt->created_on));?>"><?php echo $lt->created_on;?></time></td>
     <td><time datetime="<?php echo mdate("%Y-%M-%j", human_to_unix($lt->due_date));?>"><?php echo $lt->due_date;?></time></td>
    </tr>
<?php
}
?>

   </tbody>
   <tfoot>
    <tr>
     <th colspan="4"><a href="/todo/index.php/main/write/" class="btn btn-success">쓰기</a></th>
    </tr>
   </tfoot>
  </table>
  <div><p></p></div>

 </article>

 <footer id="footer">
  <blockquote>
   <p><a class="azubu" href="http://www.cikorea.net/" target="blank">CodeIgniter한국사용자포럼</a></p>
   <small>Copyright by <em class="black"><a href="웅파mailto:advisor@cikorea.net">웅파</a></small>
  <blockquote>
 </footer>

</div>

</body>
</html>
책을 보고 공부중인데 소스 분석이 전혀 안되고 있습니다.
회사에서 책 주고 공부 하라는데 몇시간째 봐도 잘 이해가 안가는데 한줄씩 설명 해주실분 없나요?
정말 염치 없지만 부탁 드려요
 

 다음글 upload 라이브러리가 정상적으로 작동하지 않습니다 (6)
 이전글 ci에서 보통 스타일과 자스는 어디에 ? (5)

댓글

한대승(불의회상) / 2013/11/19 19:44:56 / 추천 0
책 주욱 읽어 가면서 부지런히 타이핑 해보시라는 말 밖에는....

복사 해서 붙여 넣기 하지 마시고 반드시 타이핑 해보면서 하세요.
milosz / 2013/11/19 20:55:15 / 추천 0
 이해가 안된다면 더 쉬운 책을 찾아서 시작하셔야 할 듯 합니다 :)
변종원(웅파) / 2013/11/19 21:26:23 / 추천 0
책을 쓴 사람이지만 참 난감한 질문이네요.

한줄씩 설명을 해달라니.... ^^;;;

뭘 모르는지 아는 것도 본인의 역량에 도움이 됩니다.

아는 것, 모르는 것 분리해서 모르는 부분 올려주세요.


소스는 html5와 css 그리고 일부 php 코드로 되어 있습니다. 
ci 내용은 사용되지도 않았습니다.
(딱하나 mdate 헬퍼 하나 사용됐네요. 원래 안쓰려고 했던 건데 html5 규약 맞춘다고 쓴거라..)

html5도 설명을 해달라고 하시면 답이 없습니다. 공부하시는 수밖에....

구글에서 html5 검색.

php.net 에서 foreach 검색해보시고 $lt->id 이런 개념도 찾아보세요. (객체배열, 일반배열)
에카 / 2013/11/19 22:16:52 / 추천 0
한줄씩 설명해달라는건 "지금부터 제가 음식을 만들겠습니다! 아, 음식 만드는 방법은 여러분이 하나하나 다 알려주세요" 라고 말씀하시는거랑 같습니다..

프로그래밍은 음식하고 비슷합니다. 간이 짠지, 싱거운지 어떻게 완성되어야 되는지 직접 자신이 확인해보고, 보충할게있으면 보충해서 완성된 음식을 내놓는겁니다.
foglove / 2013/11/20 16:12:53 / 추천 0
댓글 달아 주신분은 일단 감사 드립니다.
html 문법 찾아서 조금씩 알아 가는 중 입니다.
timothy / 2013/12/16 23:41:54 / 추천 0
그저 지나가다가 도움될만한 곳을 알려드립니다.

1. http://www.w3schools.com/

2. phpschool

3. 생활코딩 http://opentutorials.org/

4. 배움나라(http://www.estudy.or.kr/estudy2.0/kor/classroom/classroom_list.asp?MenuCode=M2010121519285200000&mPageFlag=view&mTabFlag=N0005&lectermId=20220116839)

5. jquery.com