8000 Integrate the "Create your own framework" tutorial into the Symfony official documentation by fabpot · Pull Request #4455 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Integrate the "Create your own framework" tutorial into the Symfony official documentation #4455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 92 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
0ef3f8e
added part 1
fabpot Jan 3, 2012
99c5c08
added a LICENSE file
fabpot Jan 3, 2012
8ed4076
Fixed typo
lyrixx Jan 3, 2012
b239305
Fixed typo
jdreesen Jan 4, 2012
269c6ce
merged branch lyrixx/patch-1 (PR #1)
fabpot Jan 4, 2012
b93c118
merged branch jdreesen/patch-1 (PR #2)
fabpot Jan 4, 2012
13ba87c
added a tip about the Composer autoloader
fabpot Jan 4, 2012
2c79d42
added part 2
fabpot Jan 4, 2012
fcaf268
Fixes grammatical error
catchamonkey Jan 5, 2012
a4f52d9
added links to projects
fabpot Jan 5, 2012
94db3cb
merged branch catchamonkey/patch-1 (PR #3)
fabpot Jan 5, 2012
ee67eee
fixed markup
fabpot Jan 5, 2012
4c2e4f9
[part2] Fixinng typo: removing one of the double where
Jan 5, 2012
7e5cd41
merged branch gnugat/part2-typo-where-where (PR #4)
fabpot Jan 5, 2012
95edc8d
Add missing colon to code-block
andreia Jan 6, 2012
6fe23c0
merged branch andreia/master (PR #5)
fabpot Jan 6, 2012
00e524e
fixed ambiguity (closes #6)
fabpot Jan 6, 2012
4b39fc0
removed the path to composer.json as JSON doe snot support comments b…
fabpot Jan 7, 2012
26be81c
added part 3
fabpot Jan 7, 2012
18d376e
updated composer.json
fabpot Jan 7, 2012
a18f827
fixed typos
jdreesen Jan 8, 2012
3d46b1d
merged branch jdreesen/patch-2 (PR #7)
fabpot Jan 8, 2012
255577f
went back to 2.1.* in composer.json files
fabpot Jan 8, 2012
358b4c8
added part 4
fabpot Jan 9, 2012
1473eec
fixed typo
fabpot Jan 9, 2012
7e8da09
fixed typo (closes #8)
fabpot Jan 9, 2012
bd3ca8e
fixed extract() calls
fabpot Jan 9, 2012
db0ad14
added part 5
fabpot Jan 11, 2012
0ce2a83
fixed some typos
jdreesen Jan 11, 2012
fdb195c
added part 6
fabpot Jan 13, 2012
97743fb
added part 7
fabpot Jan 15, 2012
9ffd186
[part7] Fixing typo: adding 'x' to Simple/Framework class
Jan 15, 2012
a0b1d42
merged branch gnugat/part7-typo-simple (PR #12)
fabpot Jan 15, 2012
479a85e
fixed typos
fabpot Jan 15, 2012
5674395
renamed part as we now know that we are going to have more than 10 parts
fabpot Jan 15, 2012
f00401d
added part 8
fabpot Jan 17, 2012
54e1b08
added a note in part 8
fabpot Jan 17, 2012
bde64c8
made small tweaks
fabpot Jan 19, 2012
a635d89
added part 10
fabpot Jan 21, 2012
111cac0
removed some use statement to be more consistent with previous parts
fabpot Jan 21, 2012
8399581
moved the Context::fromRequest() code to the Framework class
fabpot Jan 21, 2012
02aab54
Corrected some english errors
Jan 21, 2012
fda9900
fixed pygments code name for json
fabpot Jan 22, 2012
76e45f9
fixed markup
fabpot Jan 22, 2012
09969d9
added part 11
fabpot Jan 23, 2012
7a8e449
merged branch Nanocom/master (PR #14)
fabpot Jan 23, 2012
ae1171a
merged branch jdreesen/patch-3 (PR #10)
fabpot Jan 23, 2012
a3f0b31
Corrected few typos
Jan 23, 2012
831adec
merged branch Nanocom/master (PR #15)
fabpot Jan 23, 2012
16b5b09
Fixed typo
willdurand Jan 24, 2012
0b7581d
merged branch willdurand/patch-1 (PR #16)
fabpot Jan 24, 2012
9bc692f
added part 12
fabpot Jan 25, 2012
26bef8d
Fixed typos
amitayh Jan 25, 2012
a8a2da0
Fixed part 12 typos
amitayh Jan 25, 2012
11886e6
Merge branch 'master' of https://github.com/amitayh/Create-Your-Frame…
amitayh Jan 25, 2012
db59374
fixed typo
fabpot Jan 25, 2012
d907d46
Fixed typos
nanocom Jan 25, 2012
0941f47
merged branch Nanocom/master (PR #18)
fabpot Jan 25, 2012
1f43dbf
removed conflict merge
fabpot Jan 25, 2012
006b1e2
fixed markup
fabpot Jan 27, 2012
de69a87
HttpKernel name can't be imported twice, if importing only Symfony\Co…
hrbonz Feb 7, 2012
400c087
add framework code as people would probably modify it following first…
hrbonz Feb 7, 2012
d0ff8bc
updated titles
fabpot Feb 7, 2012
9533f9a
merged branch hrbonz/part12_fixes (PR #19)
fabpot Feb 7, 2012
aae0705
fixed CS
fabpot Feb 7, 2012
60617d7
Fixed one typo.
Feb 25, 2012
0d6beb1
merged branch pedrotgimenez/part11 (PR #21)
fabpot Mar 2, 2012
c087780
merged branch amitayh/master (PR #17)
fabpot Mar 22, 2012
8e7106d
Fixed a typo in part02.rst (<php changed to <?php)
Apr 30, 2012
e8c19f7
Merge pull request #22 from ubick/master
fabpot Apr 30, 2012
6e01599
Fix little typo
dirkaholic Sep 14, 2012
43e2e35
Merge pull request #23 from dirkaholic/master
fabpot Sep 14, 2012
91e46f6
removed the paragraph about CS as we now have standards
fabpot Sep 28, 2012
799e963
updated composer autoload path
bamarni Oct 3, 2012
2ddd8b9
merged branch bamarni/master (PR #24)
fabpot Oct 3, 2012
c88c20a
removed usage of the ClassLoader component in favor of Composer
fabpot Oct 15, 2012
10e2732
added an index file
fabpot May 15, 2013
f6656e4
removed a note that is not relevant anymore
fabpot May 15, 2013
249b704
added missing links
fabpot May 15, 2013
ca9d5d8
removed unused references
fabpot May 15, 2013
f3c151c
reworded slightly some sentence to convert the text from a series of …
fabpot May 15, 2013
d802d42
updated code for Symfony 2.3 and made minor tweaks to the text
fabpot May 15, 2013
a1336e0
Update part06.rst
revollat Jun 6, 2013
842e4d1
bug #25 Update part06.rst (revollat)
fabpot Mar 14, 2014
55f5c12
updated the whole book (changes mainly related to Composer)
fabpot Jun 23, 2014
f303b20
removed versions when adding Symfony component with Composer
fabpot Oct 24, 2014
409dba5
move things around
fabpot Nov 12, 2014
73cd243
added the "Create your own framework" tutorial
fabpot Nov 12, 2014
d44e4a2
added the new tutorial in the main index
fabpot Nov 12, 2014
bf9c871
fixed markup
fabpot Nov 12, 2014
13a7170
made some changes to better integrate the tutorial into the current d…
fabpot Nov 20, 2014
126bcef
removed external references alignement
fabpot Feb 5, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
removed external references alignement
  • Loading branch information
fabpot committed Feb 5, 2015
commit 126bcef1e7f8d6695e0340bfbac4beca649b8e8a
8 changes: 4 additions & 4 deletions create_framework/01-introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ Use the PHP built-in server to test this great application in a browser
In the next chapter, we are going to introduce the HttpFoundation Component
and see what it brings us.

.. _`Symfony2`: http://symfony.com/
.. _`documentation`: http://symfony.com/doc
.. _`Silex`: http://silex.sensiolabs.org/
.. _`Composer`: http://packagist.org/about-composer
.. _`Symfony2`: http://symfony.com/
.. _`documentation`: http://symfony.com/doc
.. _`Silex`: http://silex.sensiolabs.org/
.. _`Composer`: http://packagist.org/about-composer
.. _`download and install`: https://getcomposer.org/doc/01-basic-usage.md
28 changes: 14 additions & 14 deletions create_framework/02-http-foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,18 +310,18 @@ component is the start of better interoperability between all frameworks and
applications using it (like `Symfony2`_, `Drupal 8`_, `phpBB 4`_, `ezPublish
5`_, `Laravel`_, `Silex`_, and `more`_).

.. _`Twig`: 10000 http://twig.sensiolabs.com/
.. _`Twig`: http://twig.sensiolabs.com/
.. _`Symfony2 versus Flat PHP`: http://symfony.com/doc/current/book/from_flat_php_to_symfony2.html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also be an internal documentation link

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should, by the way, not align external references for the same reasons we don't align arrays in the code anymore.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xabbuh fixed

.. _`HTTP specification`: http://tools.ietf.org/wg/httpbis/
.. _`audited`: http://symfony.com/blog/symfony2-security-audit
.. _`Symfony2`: http://symfony.com/
.. _`Drupal 8`: http://drupal.org/
.. _`phpBB 4`: http://www.phpbb.com/
.. _`ezPublish 5`: http://ez.no/
.. _`Laravel`: http://laravel.com/
.. _`Silex`: http://silex.sensiolabs.org/
.. _`Midgard CMS`: http://www.midgard-project.org/
.. _`Zikula`: http://zikula.org/
.. _`autoloaded`: http://php.net/autoload
.. _`PSR-0`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
.. _`more`: http://symfony.com/components/HttpFoundation
.. _`HTTP specification`: http://tools.ietf.org/wg/httpbis/
.. _`audited`: http://symfony.com/blog/symfony2-security-audit
.. _`Symfony2`: http://symfony.com/
.. _`Drupal 8`: http://drupal.org/
.. _`phpBB 4`: http://www.phpbb.com/
.. _`ezPublish 5`: http://ez.no/
.. _`Laravel`: http://laravel.com/
.. _`Silex`: http://silex.sensiolabs.org/
.. _`Midgard CMS`: http://www.midgard-project.org/
.. _`Zikula`: http://zikula.org/
.. _`autoloaded`: http://php.net/autoload
.. _`PSR-0`: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
.. _`more`: http://symfony.com/components/HttpFoundation
2 changes: 1 addition & 1 deletion create_framework/05-templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ probably all you need to create simple websites like those fancy one-page
`websites`_ and hopefully a few others.

.. _`callbacks`: http://php.net/callback#language.types.callback
.. _`websites`: http://kottke.org/08/02/single-serving-sites
.. _`websites`: http://kottke.org/08/02/single-serving-sites
4 changes: 2 additions & 2 deletions create_framework/06-http-kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,6 @@ Let's conclude with the new version of our framework::
Think about it once more: our framework is more robust and more flexible than
ever and it still has less than 40 lines of code.

.. _`reflection`: http://php.net/reflection
.. _`FrameworkExtraBundle`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
.. _`reflection`: http://php.net/reflection
.. _`FrameworkExtraBundle`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
.. _`controllers as services`: http://symfony.com/doc/current/cookbook/controller/service.html
4 changes: 2 additions & 2 deletions create_framework/08-unit-testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,6 @@ Symfony2 code.
Now that we are confident (again) about the code we have written, we can
safely think about the next batch of features we want to add to our framework.

.. _`PHPUnit`: http://www.phpunit.de/manual/current/en/index.html
.. _`PHPUnit`: http://www.phpunit.de/manual/current/en/index.html
.. _`test doubles`: http://www.phpunit.de/manual/current/en/test-doubles.html
.. _`XDebug`: http://xdebug.org/
.. _`XDebug`: http://xdebug.org/
4 changes: 2 additions & 2 deletions create_framework/10-http-kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,5 +188,5 @@ the many features built into the HttpKernel component; HTTP caching being just
one of them but an important one as it can make your applications fly!

.. _`HTTP caching`: http://symfony.com/doc/current/book/http_cache.html
.. _`ESI`: http://en.wikipedia.org/wiki/Edge_Side_Includes
.. _`Varnish`: https://www.varnish-cache.org/
.. _`ESI`: http://en.wikipedia.org/wiki/Edge_Side_Includes
.. _`Varnish`: https://www.varnish-cache.org/
4 changes: 2 additions & 2 deletions create_framework/12-dependency-injection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,6 @@ micro-framework, and especially its `Application`_ class.

Have fun!

.. _`Pimple`: https://github.com/fabpot/Pimple
.. _`Silex`: https://silex.sensiolabs.org/
.. _`Pimple`: https://github.com/fabpot/Pimple
.. _`Silex`: https://silex.sensiolabs.org/
.. _`Application`: https://github.com/fabpot/Silex/blob/master/src/Silex/Application.php
0