Development

Documentation/ja_JP/book/1.0/01-Introducing-Symfony (diff)

You must first sign up to be able to contribute.

Changes between Version 20 and Version 21 of Documentation/ja_JP/book/1.0/01-Introducing-Symfony

Show
Ignore:
Author:
heihachiro (IP: 125.100.73.82)
Timestamp:
02/21/07 12:43:03 (11 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/ja_JP/book/1.0/01-Introducing-Symfony

    v20 v21  
    9595>もし視覚的なドキュメントをお好みなら、symfonyのウェブサイトにあるスクリーンキャストをご覧ください。symfonyでのアプリケーション開発がどれだけ楽しく、すばやいものであるか見ることができるでしょう。 
    9696 
     97 
     98 
     99== 基礎となるコンセプト == 
     100 
     101symfonyを使う前に、いくつか知っておいたほうがよい基本的な考え方があります。もしOOP、ORM、RAD、DRY、KISS、TDD、YAML、そしてPEARといった言葉の意味をご存知なら読み飛ばしてもかまいません。 
     102 
     103=== PHP 5 === 
     104 
     105symfonyはPHP5 (http://www.php.net/) で開発されており、同じPHP5を用いてウェブアプリケーションを構築するようになっています。ですのでフレームワークを有効に活用するには、PHP5をしっかりと理解しておく必要があります。 
     106 
     107PHP4は知っているけれどPHP5は知らないという開発者は、おもにPHP5のオブジェクト指向モデルについて知っておくべきでしょう。 
     108 
     109=== オブジェクト指向プログラミング (OOP) === 
     110 
     111ここではオブジェクト指向プログラミング(OOP)そのものについては解説しませんが(それには1冊の本が必要です!)、symfonyはPHP5のオブジェクト指向機能をいたるところでつかっていますので事前に知っておく必要があります。 
     112 
     113Wikipediaによるとオブジェクト指向プログラミングとは、 
     114 
     115>The idea behind object-oriented programming is that a computer program may be seen as comprising a collection of individual units, or objects, that act on each other, as opposed to a traditional view in which a program may be seen as a collection of functions, or simply as a list of instructions to the computer. 
     116 
     117PHP 5 implements the object-oriented paradigms of class, object, method, inheritance, and much more. Those who are not familiar with these concepts are advised to read the related PHP documentation, available at `http://www.php.net/manual/en/language.oop5.basic.php`. 
     118 
    97119{{{ 
    98120#!WikiMarkdown 
    99  
    100 Fundamental Concepts 
    101 -------------------- 
    102  
    103 Before you get started with symfony, you should understand a few basic concepts. Feel free to skip ahead if you already know the meaning of OOP, ORM, RAD, DRY, KISS, TDD, YAML, and PEAR. 
    104  
    105 ### PHP 5 
    106  
    107 Symfony is developed in PHP 5 (`http://www.php.net/`) and dedicated to building web applications with the same language. Therefore, a solid understanding of PHP 5 is required to get the most out of the framework. 
    108  
    109 Developers who already know PHP 4 but not PHP 5 should mainly focus on the language's new object-oriented model. 
    110  
    111 ### Object-Oriented Programming (OOP) 
    112  
    113 Object-oriented programming (OOP) will not be explained in this chapter. It needs a whole book itself! Because symfony makes extensive use of the object-oriented mechanisms available as of PHP 5, OOP is a prerequisite to learning symfony. 
    114  
    115 Wikipedia explains OOP as follows: 
    116  
    117 The idea behind object-oriented programming is that a computer program may be seen as comprising a collection of individual units, or objects, that act on each other, as opposed to a traditional view in which a program may be seen as a collection of functions, or simply as a list of instructions to the computer. 
    118  
    119 PHP 5 implements the object-oriented paradigms of class, object, method, inheritance, and much more. Those who are not familiar with these concepts are advised to read the related PHP documentation, available at `http://www.php.net/manual/en/language.oop5.basic.php`. 
    120  
    121121### Magic Methods 
    122122