andrea
d5d5d0725b
Fixed w3c validator errors for "Duplicate ID"
2012-08-20 16:20:00 +02:00
Phil Sturgeon
edda888d0c
Merge pull request #171 from arglbr/BDD_Links_Behat
...
Equalizing the information at BDD links list.
2012-08-19 12:44:32 -07:00
Cristobal Rodriguez
75cc75e712
Fix typo in Components section
2012-08-16 17:03:36 -07:00
Arlo O'Keeffe
4881145493
PHP_CodeSniffer includes PSR1+2 sniffs
...
It pointed me in the wrong direction when trying to use the recommendations of the document.
2012-08-15 15:42:41 -06:00
Josh Lockhart
05b26acc50
Merge pull request #170 from telephone/unify
...
Unified conditional arguments and replaced APC example
2012-08-15 05:31:43 -07:00
Adriano Laranjeira
0420326a80
Equalizing the information at BDD links list.
...
On the "BDD links" list is important keeping the same level of
information given about each item.
Thus, as the second item of the list shows that PHPSpec is the SpecBDD
implementation for PHP, the first line, about Behat, has been changed
to inform the reader that it is the StoryBDD implementation for PHP.
2012-08-14 22:17:20 -03:00
Nick Adams
4f086c3aca
Unified conditional arguments and replaced APC example
2012-08-14 23:15:25 +12:00
=
084bf61fdd
Bump The Basics to top of section
2012-08-10 13:03:52 -04:00
Nick Adams
3a02de8d8f
Added "The Basics" section
2012-08-11 03:08:19 +12:00
elazar
2d1af2cb0f
Changed some UK subdomain-specific php.net links to be language-agnostic
2012-08-07 17:01:05 -05:00
Phil Sturgeon
6b35bbc23f
Merge pull request #156 from briannesbitt/patch-3
...
Added small paragraph on connections
2012-08-06 12:20:07 -07:00
Phil Sturgeon
e6c68e6a9d
Added the component section.
2012-08-06 20:16:56 +01:00
Brian Nesbitt
45b3dcef9a
Changed $id to $_GET['id']
...
Updated variable name in text to match code.
2012-08-05 00:51:09 -03:00
Fran Moreno
2684f69b95
Fix typo in Error reporting
2012-08-04 14:15:18 +03:00
Brian Nesbitt
63e0b2ee73
Added small paragraph on connections
...
Some developers (maybe not newbies, but more coming from other languages) will be wondering if you have to close connections. I think a quick touch on database connections and their automatic closing on script end is a helpful addition.
2012-08-04 00:36:16 -03:00
Brian Nesbitt
1cba4665d6
Added simple SQL injection example
...
Its possible (read: highly probable) newer developers will not understand a SQL injection vulnerability without a real example.
2012-08-04 00:05:08 -03:00
Radosław Benkel
fee352d774
Fixed Maruku's style warning in "Register Globals" chapter
2012-07-28 22:30:41 +02:00
Phil Sturgeon
7595e15c1b
Merge pull request #139 from zsuraski/gh-pages
...
Added Zend Server to list of Windows All-in-ones and Zend Developer Cloud to list of PaaS
2012-07-26 03:17:20 -07:00
Josef Čech
2d01726b32
Fix Zend Framework 2 Db link
2012-07-26 11:43:08 +03:00
Phil Sturgeon
c8916491b5
Made the register_global text more explicit, and removed PHP 4.2.x references. Don't use PHP 4.2.x.
2012-07-24 17:16:40 +02:00
Zeev Suraski
60931927c7
Change URL per request
2012-07-23 16:31:42 +03:00
Josh Lockhart
54216616af
Merge pull request #135 from getjump/gh-pages
...
Small fixes
2012-07-23 05:21:52 -07:00
Pavel Savinov
5be6c2905e
Remove dateinterval and dateperiod, book datetime contains them too
2012-07-24 00:14:18 +12:00
Josh Lockhart
85a6d3b1de
Merge pull request #115 from stevenbenner/gh-pages
...
Added application design patterns section
2012-07-23 04:51:18 -07:00
Zeev Suraski
f2eb42f35a
Add Zend Server CE to list of All-in-ones and Zend Server Developer Cloud to
...
list of PaaS
2012-07-22 10:48:10 +03:00
Pavel Savinov
cba4d908ab
Fix incorrect link
2012-07-22 03:09:14 +12:00
Steven Benner
2cb5960c43
Added Design Patterns page.
2012-07-20 11:38:00 -07:00
Goran Rakic
2414e228e1
Fix syntax highlight
2012-07-20 16:42:06 +03:00
Josh Lockhart
c5a2b4a9d9
Merge pull request #128 from grakic/gh-pages_datetime
...
Add content on working with date and time
2012-07-20 06:07:19 -07:00
Goran Rakic
6506d30fe9
Rename navigation menu item
2012-07-20 16:02:56 +03:00
Goran Rakic
a3e51542c0
Change page title
2012-07-20 16:02:16 +03:00
Phil Sturgeon
676dfe19ab
Merge pull request #130 from enygma/security-update1
...
adding sections for config files, register_globals and error_reporting
2012-07-20 04:45:58 -07:00
Chris Cornutt
a6d839480b
updating according to formatting requests
2012-07-20 06:40:44 -05:00
Goran Rakic
88d8c552d9
typo
2012-07-20 11:57:15 +03:00
Phil Sturgeon
d56d1381db
Merge pull request #125 from tvlooy/php_docs
...
link to the php documentation
2012-07-20 00:38:39 -07:00
Chris Cornutt
a5791e3b5c
adding sections for config files, register_globals and error_reporting
2012-07-19 21:29:42 -05:00
Goran Rakic
0e59502501
Move to a separate topic page
2012-07-20 02:38:29 +03:00
Goran Rakic
8986b9d1bc
Closures and variable scope
2012-07-20 02:36:46 +03:00
Goran Rakic
9f40674396
Improve functional programming section
...
- Change criteria for filter
- Extend the first example to show anonymous function without assignment
- Add paragraph on recursion
- Wrap to 120 chars
2012-07-20 02:36:46 +03:00
Goran Rakic
be9ff04411
Merge some changes from @wilmoore given in issue #72
2012-07-20 02:35:43 +03:00
Goran Rakic
44576ed005
anonymous functions !== closures
2012-07-20 02:35:43 +03:00
Goran Rakic
36a7359759
Extends the functional paradigm section.
...
State the key elements of functional paradigm supported by PHP and extends the example.
2012-07-20 02:35:43 +03:00
Goran Rakic
877a09dc5c
Add content on working with date and time
...
- Date and time is not easy, but DateTime can help
- Add a word on time zones and why it is wrong to calculate in seconds and not in date intervals
- new \DateTime gives the current date and time
- Extends example to show comparison, date difference (very common) and date period usage
- Fix links to php docs
- Wrap to 120 chars
2012-07-20 02:19:25 +03:00
Tom Van Looy
50caaeaa05
typo
2012-07-19 22:34:56 +02:00
Tom Van Looy
6c37c07b3a
some words about DateTime
2012-07-19 22:22:37 +02:00
Tom Van Looy
8dc199035a
link to the php documentation
2012-07-19 21:47:29 +02:00
Jeremy Lindblom
2d59716fae
Added improvements and additional content in the programming paradigms section.
2012-07-18 08:18:59 -07:00
Volker Dusch
37b0c1c95f
Updated the CLI example to use a proper exit code. Closes #121
2012-07-18 15:14:29 +03:00
=
f01b1b860b
Remove filter_input from PDO example
2012-07-16 17:25:27 -04:00
=
040691ca99
Wrap Coding Style to 120 chars
2012-07-16 08:11:59 -04:00