summaryrefslogtreecommitdiff
path: root/README.namespaces
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2007-07-30 16:20:46 +0000
committerSebastian Bergmann <sebastian@php.net>2007-07-30 16:20:46 +0000
commit86a20afdd175a613dc59f40349b83fa9dc3a3218 (patch)
tree31990c40feee875eea068124321f61439fa59fed /README.namespaces
parent573ea3901a5e15c3f922ebf38912d73620241884 (diff)
downloadphp-git-86a20afdd175a613dc59f40349b83fa9dc3a3218.tar.gz
Start TODO for namespaces/packages.
Diffstat (limited to 'README.namespaces')
-rwxr-xr-xREADME.namespaces22
1 files changed, 21 insertions, 1 deletions
diff --git a/README.namespaces b/README.namespaces
index c640762796..de71880e33 100755
--- a/README.namespaces
+++ b/README.namespaces
@@ -1,3 +1,6 @@
+Design
+======
+
Main assumption of the model is that the problem that we are to solve is the
problem of the very long class names in PHP libraries. We would not attempt
to take autoloader's job or create packaging model - only make names
@@ -100,4 +103,21 @@ namespace you can call only create internal PHP class, however using "new
it tries to find class "A::B (__autoload() it if necessary) and call its
static function foo()
7) qualified class names are interpreted as class from corresponding
-namespace. So "new A::B::C()" creates class "C" from namespace "A::B". \ No newline at end of file
+namespace. So "new A::B::C()" creates class "C" from namespace "A::B".
+
+
+TODO
+====
+
+* Rename namespaces to packages?
+
+* Extend the Reflection API
+
+ * Add ReflectionPackage class
+
+ + getName()
+ + getClasses()
+ + getFunctions()
+ + getFiles()
+
+ * Add getNamespace() methods to ReflectionClass and ReflectionFunction