From: Don S. <do...@se...> - 2003-10-15 17:09:44
|
+1 from me as well. Although it's times like this when I wish I wasn't authoring so many modules to go back and update. :) Don. On Wed, Oct 15, 2003 at 09:53:51AM -0700, Richard Sumilang wrote: > +1 for me >=20 >=20 > On Wednesday, October 15, 2003, at 07:58 AM, Steven Levin wrote: >=20 > >Hello everyone, > > > > This list has been very inactive ever since the IRC chat room came > >about, but I hope to pick things back up again with this discussion I > >would like to start. I believe this will be a better forum than chat > >since not all the module developers hang out there. As some may have > >heard, I recently hacked away at phpwebsite and dropped the memory > >requirements below the 8m php default and cut execution times in half. > >Now in order for these changes to go into place modules will have to > >update some of their calls to core functions. The reason for this is > >because one of the changes made was to split up the long and=20 > >unnecessary > >inheritance chain that all the core classes were a part of. Approval > >from a majority of the third party developers is crucial in my decision > >to commit these changes to CVS. So please let me know how you feel > >about updating your modules. Below are examples of some of the updates > >that need to be made. > > > >Before: > >The core inherited from the PHPWS_Text class so you where able to call > >the function parseInput() like this: > >$GLOBALS['core']->parseInput($text_to_parse); > > > >Now: > >The class PHPWS_Text is split off from the core, so you have to do a > >require_once(PHPWS_SOURCE_DIR.'core/Text.php'); > >at the top of the class file you use the function in and then call it > >like this: > >PHPWS_Text::parseInput($text_to_parse); > > > >Before: > >When you wanted to show some content in a block on the left or right > >side of the site you would have just put the code in your modules index > >file. > > > >Now: > >Extra content that needs to show up in phpwebsite when your module is > >NOT running (ie. announcements and past announcements on the home=20 > >page) > >now needs to be placed in a file called inc/runtime.php in your module. > > > >Ok now the decision needs to be made. If a majority of the developers > >vote yes then the changes will go into place. I have a nice sed script > >that will do a most of the replacements of old calls for you. The list > >of replacements only do the common ones found throughout phpwebsite so > >you may have some left behind that you will have to fix by hand. Now= =20 > >I > >am willing to provide assistance upgrading modules in my free time so > >don't feel like you will have to figure out all the updates on your own > >cause I am sure there will be some special cases. Alright all you > >developers out there fire away. > > > >--=20 > >Steven Levin > >Computer Systems Admin I > >Electronic Student Services > >Appalachian State University > >Phone: 828.262.6740 > >http://phpwebsite.appstate.edu > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: SF.net Giveback Program. > >SourceForge.net hosts over 70,000 Open Source Projects. > >See the people who have HELPED US provide better services: > >Click here: http://sourceforge.net/supporters.php > >_______________________________________________ > >Phpwebsite-developers mailing list > >Php...@li... > >https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >=20 |