[Solar-svn] Revision 2786

pmjones at solarphp.com pmjones at solarphp.com
Mon Sep 24 11:23:45 CDT 2007


updated todo list



Modified: todo/todo.txt
===================================================================
--- todo/todo.txt	2007-09-24 16:23:31 UTC (rev 2785)
+++ todo/todo.txt	2007-09-24 16:23:45 UTC (rev 2786)
@@ -10,113 +10,132 @@
 
 * Re-convert back to Solar_Test
 
-* Solar_Test should be isolated to its own PHP env.
+* Solar_Test should be isolated to its own PHP env: re-build the test system
+  to invoke a new PHP executable for each test method, which will clear any
+  statics, etc.
 
 * Link to #solarphp on the Solar site; might need a "Community" page instead
   of a Mailing-List page.
 
+* No more SOLAR_CONFIG_PATH constant; you *have* to pass a value to
+  Solar::start() to load a config.
 
+* Put Solar.php arch-class file *inside* the Solar dir, so you can svn
+  external better. This is against all the standards, but I think for this
+  one special case it might be explainable.
+
+* Remove spl_autoload registrations from the arch-class file, to make it
+  *just* the class definition?  or put the spl defs inside Solar::start() ?
+
+* Is SOLAR_IGNORE_PARAM an unnecessaray micro-optimization?
+
+
 By Class
 ========
 
 * Solar_App_Base
-
+    
     * Add $this->pager or $this->layout_pager with array keys 'count', 'pages',
       'page', 'paging'
-
+    
     * Convert $layout_local, nav, sub, etc. to $layout_body['local'] etc?
-
+    
     * Convert $layout_content to $layout_body['main'], to go with Stenhouse
       CSSFW?
 
 * Solar_Auth
-
+    
     * Check php.ini cookie timeout settings in relation to Solar_Auth
 
 * Solar_Class_Stack
-
+    
     * Notice: Uninitialized string offset: 0 in
       /var/www/dev.mashery.com/site/trunk/pear/php/Solar/Class/Stack.php on
       line 165
 
 * Solar_Docs_Apidoc
-
+    
     * Honor @ignore
 
 * Solar_Form
-
-    * Better checking of which elements are set/not-set, so we don't get
-      orphaned element pieces
     
-    * Convert to Solar_DataFilter usage
-    
-    * Add "autopop" or "autofill" key to allow for ignoring auto-populate
-      (things like buttons, etc).
-    
     * Add support for 'input type="image"' elements (foo.x, foo.y) ?
     
 * Solar_Http_Request_Adapter
-
+    
     * Need file uploads and multipart/form-data
     
 * Solar_Mail
-
-    * Check \r\n vice \n, and QP encoding, for garbled messages. (Turns out
-      this is a mail() on Windows kind of thing.)
-
+    
+    * Check \r\n vice \n for garbled messages.
+    
+    * IRC w/Moraes:
+    
+          [7:25pm] moraes: \r\n vice \n isn't a mail() on Windows issue;
+          it's a mail() issue on unix actually, because on unix it
+          transforms \r\n in \r\r\n
+          
+          [7:26pm] moraes: workable, anyway. but tricky to guess.
+          
+          [7:30pm] moraes: and it's not mail(), but the MTA who corrects it.
+          so, on linux, always use \n with mail()
+          
+          [9:30am] moraes: $headers = str_replace("\r\n", "\n",
+          $this->_headersToString($headers));
+          
+           [09:30am] moraes: $body = str_replace("\r\n", "\n",
+          $this->_mail->fetchContent());* Solar_Markdown
+    
+    * Add setReplyTo() method
+    
 * Solar_Markdown
-
+    
     * Check against newest Markdown code
-
+    
     * Rename Markdown rules from "header" to "heading" (yes this is pedantic)
   
 * Solar_Session
-
+    
     * Make adapters for SQL, filesystem, memcache
 
 * Solar_Sql
   
     * Better SQL error reporting on createTable()
-
-    * add date(), time(), timestamp() to SQL adapters?
-
+    
     * way to pass charset and collation in SQL adapters
-
+    
     * Fix MS-SQL adapter class
         * ... and write tests for it
         * then add Stefan Bogdan as contrib
-
+    
     * Add/update tests for new SQL pieces (e.g. lastInsertId)
-
+    
     * Make the SQL adapter query() auto-value-binding work with array values?
     
-    * Change portability measures
-    
     * Add Oracle adapter
     
 * Solar_Sql_Model (and related)
-
+    
     * Finish the Model class as a new Table replacement based on Rodrigo's
       rewrite
       
     * Write at least *some* tests
-
+    
     * Rewrite Solar_Model to use Model
-
+    
     * Rewrite Bookmarks to use new Model and App system
-
+    
     * Integrate Solar_Form and Solar_Sql_Model
-
+    
     * Need Solar_Form_Load_Model loader
-
+    
     * Have a "load_ignore" property so that certain fields are automatically
       not-loaded at load() time. This makes sure that the fields have to be set
       explicitly (i.e., never via a form).
-
-* Solar_View
-
-    * Auto-append ".php" to template names if no .php there
     
+    * At filter time, if value is required but not present, show only the one
+      "VALIDATE_NOT_BLANK" message instead of all validation failures
+      
 * Solar_View_Helper
     
     * hCard helper? <http://microformats.org/wiki/hcard>
@@ -125,6 +144,8 @@
     
     * Pager helper from Rodrigo?
     
+    * FormImage helper?
+    
     * Cycle/odd-even helper from Mike N.?
     
     * Make style() helper work more like the js() one, with stacking and then
@@ -135,7 +156,7 @@
       to push JS directly to the head?
     
     * Form and FormElement
-
+        
         * Add support for disabled elements? Can we do this with CSS
           classes? Or is it going to be a Protaculous thing?
     
@@ -144,7 +165,7 @@
         * Might require a better setClass() method
         
         * Implement "descr" key, with option for where it appears: in label
-          block, or or in value block.
+          block, or or in value block.  Do as a <p></p> element?
         
         * move element-modifying stuff (like IDs, classes etc) from Form to the
           Element helpers ... also status and require indicators?




More information about the Solar-svn mailing list