File: manual_splitting

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (98 lines) | stat: -rw-r--r-- 2,634 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Fri Dec 28, 2007
The short version:
 - The new-ref-struct (<set>s of <set>s of <book>s) solved
   the "multiple manuals" problem
 - If someone wants to move the "developers" (internals)
   manual to http://dev.php.net, feel free to do so


References:
http://marc.theaimsgroup.com/?l=phpdoc&m=104332017120572&w=2

[CURRENT STATE]

What's wrong?

The current manual contains developers information for developing
PHP not to develop with PHP:

- ZendAPI docs        (43 Extending PHP 4.0)
- Streams devolopment (Streams API for PHP Extension Authors)
- extending PHP 3     (Appendix E. Extending PHP)

and maybe more....

Problems:

- Some users may get confused with them (especially with streams
  now introduced in PHP 4.3.0)
- Manual searches may return results in those pages, and users can
  unintentionally get into it...

[SOLUTION]

Have a separate users manual and developers manual.
The developers manual is only available in english,
no translations.

Contents of developers manual

Should be moved from the current manual:
- ZendAPI docs
- Streams devolopment
- PHP3 devel stuff (BC and history)

There is more to developing php source than
simply the above mentioned stuff.

Additional content:

- information found within the various README's in the php4 source
- some ZE2 information
- information about PECL and link to the PEAR manual.
- detailed explanation of an example extension
- explanation of the versioning system
- politics

Sun Jan 26 2003
Agreement: 
 - split the current docs into a user and developer manual
 - dev manual only in english
 - content as described above (and more?)

[WEBSITE]

http://dev.php.net dedicated to develop PHP

Sun Jan 26 2003
Agreement: no vote against ;-)


[TECHNICAL STUFF]

How to split and how to build?
Possible solutions:

(A) separate CVS module for the dev manual with its own
    seperated buildsystem.

    Problems:
    We would probably move the docs and the build system there, and then we
    will have another copy of the build system, which is even currently gets
    out of control.

To avoid this problems:

(B) Keep the dev manual in the phpdoc module keeps easier control over the
    files. Create a separate build system, first time optimized for this two
    manuals.

(C) Creating TWO new cvs modules, one for the build system and one for the
    devmanual, and just checkout it as the translations are checked out now,
    alongside the documentation module. So we can start working on that unified
    build system...

Sun Jan 26 2003
Agreement:
- no separate CVS module for the dev manual with its own forked
  build system. Its to hard to maintain.