[TYPO3-ect] RESULTS: Lot's of simplifications

Daniel Brüßler info at -remove-patchworking.de
Tue Jan 16 11:16:40 CET 2007


Hello Elmar,

thanks for your great lib. Yesterday I had time to check it out -- it's
nice to use it!

And here you have your update in the wiki.
http://wiki.typo3.org/index.php/MVC_Framework/Update

kind regards
Daniel Brüßler


Elmar HInz schrieb:
> Hello list,
> 
> lib/div is still work in progress. A lot of things have been achived. I
> want to point out the most important simplifactions comparing
> tslib_pibase.
> 
> 
> links
> =====
> 
> The dozends of mystical linkfunctions have been replaced with one link
> object, that has a rather simple API.
> 
> 
> class variables
> ===============
> 
> The setting of most class variables of tslib_pibase have been made
> obsolete.
> 
> var $prefixId = 'tx_test_pi1';   
> ------------------------------
> 
> Replaced by the function getDesignator(). Without setting it defaults to
> the extension key.
> 
> 
> var $scriptRelPath = 'pi1/class.tx_test_pi1.php';  
> -------------------------------------------------
> 
> We have the function includeExtensionFile($relativePath) to include
> extension files that are no classes. Classes are autoincluded during
> instantiation by tx_div::makeInstance('className').
> 
> var $extKey = 'test';   
> ---------------------
> 
> Autodetaction by getExtensionKey().
> 
> 
> var $this->pi_USER_INT_obj=1; 
> -----------------------------
> 
> Has been a heavily confusing misconception of tslib_pibase. It has never
> been fixed. I suggested solutions.
> 
> 
> var $conf;
> ----------
> 
> Configuration works with the configuration object now, that is generated
> by tx_lib_controller. We just need to call getConfiguration($key).
> 
> Regards
> 
> Elmar
> 
> 
> 
> 


More information about the TYPO3-team-extension-coordination mailing list