Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd0ff8bc

Browse files
committed
updated titles
1 parent006b1e2 commitd0ff8bc

File tree

12 files changed

+24
-24
lines changed

12 files changed

+24
-24
lines changed

‎book/part01.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 1)
2-
=======================================================================
1+
Introduction
2+
============
33

44
Symfony2 is a reusable set of standalone, decoupled, and cohesive PHP
55
components that solve common web development problems.

‎book/part02.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 2)
2-
=======================================================================
1+
The HttpFoundation Component
2+
============================
33

44
Before we dive into the code refactoring, I first want to step back and take a
55
look at why you would like to use a framework instead of keeping your

‎book/part03.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 3)
2-
=======================================================================
1+
The Front Controller
2+
====================
33

44
Up until now, our application is simplistic as there is only one page. To
55
spice things up a little bit, let's go crazy and add another page that says

‎book/part04.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 4)
2-
=======================================================================
1+
The Routing Component
2+
=====================
33

44
Before we start with today's topic, let's refactor our current framework just
55
a little to make templates even more readable::

‎book/part05.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 5)
2-
=======================================================================
1+
Templating
2+
==========
33

44
The astute reader has noticed that our framework hardcodes the way specific
55
"code" (the templates) is run. For simple pages like the ones we have created

‎book/part06.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top oftheSymfony2 Components (part 6)
2-
=======================================================================
1+
The HttpKernel Component:theController Resolver
2+
=================================================
33

44
You might think that our framework is already pretty solid and you are
55
probably right. But let's see how we can improve it nonetheless.

‎book/part07.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on topofthe Symfony2 Components (part 7)
2-
=======================================================================
1+
The SeparationofConcerns
2+
==========================
33

44
One down-side of our framework right now is that we need to copy and paste the
55
code in ``front.php`` each time we create a new website. 40 lines of code is

‎book/part08.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 8)
2-
=======================================================================
1+
Unit Testing
2+
============
33

44
Some watchful readers pointed out some subtle but nonetheless important bugs
55
in the framework we have built yesterday. When creating a framework, you must

‎book/part09.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 9)
2-
=======================================================================
1+
The EventDispatcher Component
2+
=============================
33

44
Our framework is still missing a major characteristic of any good framework:
55
*extensibility*. Being extensible means that the developer should be able to

‎book/part10.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 10)
2-
========================================================================
1+
The HttpKernel Component: HttpKernelInterface
2+
=============================================
33

44
In the conclusion of the second part of this series, I've talked about one
55
great benefit of using the Symfony2 components: the *interoperability* between

‎book/part11.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 11)
2-
========================================================================
1+
The HttpKernel Component: The HttpKernel Class
2+
==============================================
33

44
If you were to use our framework right now, you would probably have to add
55
support for custom error messages. Right now, we have 404 and 500 error

‎book/part12.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Create your own framework... on top of the Symfony2 Components (part 12)
2-
========================================================================
1+
The DependencyInjection Component
2+
=================================
33

44
In the last installment of this series, we have emptied the
55
``Simplex\\Framework`` class by extending the ``HttpKernel`` class from

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp