Skip to content
Newer
Older
100644 185 lines (108 sloc) 4.67 KB
ef2bfb1 @abw Updated TODO list
authored
1 Badger::Class
2 -------------
3
3189b5d @abw Updated TODO, README, Changes.pod and Badger.pm docs
authored
4 * Also think about different debug flags, e.g. DEBUG_THIS, DEBUG_THAT
33e7e15 @abw Updated TODO
authored
5 UPDATE: Badger::Debug now does this - just need to hook class in
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
6
61012d2 @abw Updated TODO
authored
7 * make debug hook work better: allow import of other items, e.g.
8 debug => ':dump'. Also generate DEBUG constant using any existing
9 value of $DEBUG.
10
33e7e15 @abw Updated TODO
authored
11 * AUTOLOAD method to delegate to real class if possible?
12
140d36b @abw Added extra pod docs: Changes and FAQ
authored
13 * add 'hook' subroutine attribute
ef2bfb1 @abw Updated TODO list
authored
14
7e6d3d8 @abw Deleted old Pod modules in move to new sub-project
authored
15 * add a way for B::C subclasses to register hooks that automatically
16 get called on import, e.g. for B::Factory::Class to push base()
17
18 * Remove class($class, $target) second argument in export hooks
19 because UBER should now handle that - needs testing
3189b5d @abw Updated TODO, README, Changes.pod and Badger.pm docs
authored
20 UPDATE - no, I think it's still required to make The Right Thing happen.
7e6d3d8 @abw Deleted old Pod modules in move to new sub-project
authored
21
3189b5d @abw Updated TODO, README, Changes.pod and Badger.pm docs
authored
22 * Make CLASS static.
e54dd9c @abw Updated TODO
authored
23
f4648f2 @abw Updated TODO
authored
24 * Change message() to snippet()
3189b5d @abw Updated TODO, README, Changes.pod and Badger.pm docs
authored
25 NOTE - already changed Badger::Base XXX_msg() method to explicitly
26 package-scope message() to Badger::Base so that problem is mitigated.
27 A subclass can now define a message() method and it will still Just Work[tm]
f4648f2 @abw Updated TODO
authored
28
7e6d3d8 @abw Deleted old Pod modules in move to new sub-project
authored
29
ef2bfb1 @abw Updated TODO list
authored
30 Badger::Codec
31 --------------
32
33 * encoded()/decoded() methods (e.g. for utf8)
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
34
e54dd9c @abw Updated TODO
authored
35 * update docs to clarify the fact that utf8, etc., are available as named
36 codecs via Encode/Encoding modules.
37
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
38
ef2bfb1 @abw Updated TODO list
authored
39 Badger::Config
40 --------------
41
42 * Just a basic implementation at moment. Merge in TT3 config, AppConfig
43 and other stuff.
3189b5d @abw Updated TODO, README, Changes.pod and Badger.pm docs
authored
44
45
46 Badger::Class::Config
47 --------------
1458ebc @abw Updated TODO and Changes.pm
authored
48
49 * Add 'constant' as alias for 'method'. e.g. 'FOO|class:FOO|constant:FOO'
ef2bfb1 @abw Updated TODO list
authored
50
50c2317 @abw Updated README and TODO
authored
51
33e7e15 @abw Updated TODO
authored
52 Badger::Debug
53 -------------
54
55 * See if we can make this a low-level mixin that we can import into
56 Badger::Utils et al.
1458ebc @abw Updated TODO and Changes.pm
authored
57
58 * make debug enabler export :debug and :dump into module
33e7e15 @abw Updated TODO
authored
59
ef2bfb1 @abw Updated TODO list
authored
60
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
61 Badger::Docs
62 ------------
ef2bfb1 @abw Updated TODO list
authored
63
140d36b @abw Added extra pod docs: Changes and FAQ
authored
64 * Finish writing it / cleaning it up and release.
ef2bfb1 @abw Updated TODO list
authored
65
66
67 Badger::Exception
68 -----------------
69
3189b5d @abw Updated TODO, README, Changes.pod and Badger.pm docs
authored
70 * Do we still want to add a higher-level catch() method?
ef2bfb1 @abw Updated TODO list
authored
71
72
7e6d3d8 @abw Deleted old Pod modules in move to new sub-project
authored
73 Badger::Factory
74 ---------------
75
76 * Subclass out into base class (returns loaded module name), object
77 creator, object creator + cache (e.g. for hub), or whatever.
78
0aa06f3 @abw Updated MANIFEST, TODO and Changes
authored
79 * have it bind fetch methods to item/items if undefined, e.g
80 node => item, nodes => items.
81
82 * support multi-element names, e.g. node.foo.bar
83
33e7e15 @abw Updated TODO
authored
84
ef2bfb1 @abw Updated TODO list
authored
85 Badger::Filesystem
86 ------------------
87
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
88 * directory files/directories/dirs as grep across children
641753c @abw Updated TODO file
authored
89
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
90 * need to handle encoding better in read_file() and write_file() methods.
91
5e338a9 @abw Added visitor files to MANIFEST, updated TODO
authored
92 * read-only filesystem option
93
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
94 * write_file() should have an option for writing to a temporary file and
95 renaming into place to avoid race conditions.
96
df00b50 @abw Updated changes and TODO
authored
97 * I'm considering refactoring this. I'd like to unify the different
98 filesystem-specific formats to an underlying URI-based one. It would
99 require a lens (combined parser + presenter) for each O/S. Unix (inc
100 Mac OSX) are simple, Win32 isn't hard. Delegate to File::Spec for
101 everything else.
102
103 Some info about Win32 path <-> uri translation, snarfed from
104 http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx
105
106 For the UNC Windows file path
107 \\laptop\My Documents\FileSchemeURIs.doc
108
109 The corresponding valid file URI in Windows is the following:
110 file://laptop/My%20Documents/FileSchemeURIs.doc
111
112 For the local Windows file path
113 C:\Documents and Settings\davris\FileSchemeURIs.doc
114
115 The corresponding valid file URI in Windows is:
116 file:///C:/Documents%20and%20Settings/davris/FileSchemeURIs.doc
117
118 Functions currently used from File::Spec are: catpath, catdir,
119 canonpath, splitpath, splitdir, filename_is_absolute, abs2rel,
120 no_upwards. Most of those can be moved out to lenses. Path
121 manipulation becomes much easier internally when the path can be
122 stored as a list of path nodes.
123
ef2bfb1 @abw Updated TODO list
authored
124
0aa06f3 @abw Updated MANIFEST, TODO and Changes
authored
125 Badger::Log
126 -----------
127
128 * Add code to detect Log::Dispatch objects and forward messages.
129
130
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
131 Badger::Storage
132 ---------------
641753c @abw Updated TODO file
authored
133
1af39ed @abw Bumped version number, updated release notes, Changes, etc
authored
134 * This is available in the git repository but not yet included in the released
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
135 distribution.
136
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
137 * unify parameter parsing and identity definition between filesystem and
138 database storage modules.
641753c @abw Updated TODO file
authored
139
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
140 * get/put which take data / return id
641753c @abw Updated TODO file
authored
141
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
142 * fetch/store which returns
143
144 * create/destroy connect/disconnect open/close
641753c @abw Updated TODO file
authored
145
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
146
ef2bfb1 @abw Updated TODO list
authored
147 Badger::Test
148 ------------
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
149
ef2bfb1 @abw Updated TODO list
authored
150 * Could do with some proper testing. Although all the other test scripts
151 do tend to thrash it quite well...
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
152
1af39ed @abw Bumped version number, updated release notes, Changes, etc
authored
153 * Change if_env to use Badger::Logic so we can specify things like:
154 if_env => 'RELEASE_TESTING or AUTOMATED_TESTING'
155
156
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
157
4afbba5 @abw Updated TODO
authored
158 Badger::Utils
159 -------------
160
161 * hashlike, listlike, numlike
162
163
dd966eb @abw Updated TODO
authored
164 BadgerX
165 -------
166
167 * add path to any bases missing it
168
169 * document
170
171
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
172
173 Longer Terms Goals / Larger Projects
174 ------------------------------------
175
176 * incorporate re-write of AppConfig into Badger::Config
177
178 * consider doing the same with Pod::POM into Badger::Pod and combining
dd966eb @abw Updated TODO
authored
179 with Badger::Docs. (update: doing now)
e30e2cc @abw Added/updated MANIFEST, README, TODO
authored
180
181 * Finish cleaning Badger-Web and release
182
183 * Finish refactoring Badger-Database and release
3f2d809 @abw Added words() to Badger::Base, removed looks_like_number from Badger:…
authored
184
Something went wrong with that request. Please try again.