Share

Ar-PHP

File Release Notes and Changelog

Release Name: Ar-PHP version 1.8

Notes:


Changes: What's new in ArPHP 1.8 (release date: Feb 15, 2009) ----------------------------------------------------- * Core Arabic charset converter become 4 times faster and takes only 70% of RAM comparing to the previous version, we used iconv function instead of ArCharsetC sub class. * Optimize ArIdentifier sub class, it is now 2 times faster. * Optimize ArGender sub class, it is now 10% faster. * Optimize ArCompressStr sub class, it is now 10% faster. * Optimize ArSoundex sub class, it is now 5% faster. * Optimize ArTransliteration sub class, it is now 5% faster. * Highlight in documentation and examples how you can optimize classes load by specify the functionality you looking for, this procedure reduce used RAM into 25% in average and execution time into 10% in average. What's new in ArPHP 1.7 (release date: Jan 5, 2009) ----------------------------------------------------- * Convert all of ArTransliteration, EnTransliteration, ArGender, ArKeySwap, ArWordTag, ArStrToTime, and ArCompressStr onto Static classes for better performance and memory utilize. * Better documentation * Convert class errors into Exceptions (ArabicException) * Optimize ArKeySwap sub class, it is now 25% faster and takes only 74% of RAM comparing to the previous version. * Optimize ArTransliteration sub class, it is now 37% faster and takes only 80% of RAM comparing to the previous version. * Optimize EnTransliteration sub class, it is now 15% faster and takes only 87% of RAM comparing to the previous version. * Optimize ArCompressStr sub class, it is now 17% faster and takes only 94% of RAM comparing to the previous version. * Optimize ArGlyphs sub class, it is now 10% faster and takes only 85% of RAM comparing to the previous version. * Clean ArAutoSummarize list of Arabic common words, add list of English common and important words, and update ArAutoSummarize class to handle English text also. * Fix English sentences separator and fix reading common and important list files process (ArAutoSummarize sub class). * Fix jd_to_greg function (ArMktime sub class). * Cleaner code generate much less PHP Notices. What's new in ArPHP 1.6 (release date: Aug 25, 2008) ----------------------------------------------------- * Core Arabic charset converter become 35% faster and takes only 40% of RAM comparing to the previous version. * Add sub class for Arabic Huffman zip. * Add new method to ArQuery sub class return all possible word forms to be search instead of regular expression format. * Returns WHERE condition alone in the ArQuery sub class (no order by combination for more flexibility). * Add new stand alone getOrderBy public method to the ArQuery sub class. * Field names will not inclosing by ` eternally, so you can use table.field style in the ArQuery sub class. * Add documentation for greg_to_jd & jd_to_greg methods in ArDate ArMktime sub classes and make return values identical to PHP calendar functions. * Support Libyan date format in the ArDate sub class. * Capitalize the English letter come after - like Al- case in EnTransliteration sub class. * Fix Mktime conversion issue from Higri to Gregorian date. * Fix strip slashes issue in the ArKeySwap sub class (affect Arabic tah letter). What's new in ArPHP 1.4 (release date: July 23, 2008) ----------------------------------------------------- * Add new method/sub class to implement StrToTime function in Arabic language. * Enhance ArQuery getWhereCondition() method by escape the unescaped_string, so that it is safe to place it in a mysql_query(). Also method will ignore punctuation as well as words of less than 3 chars if they are not in exact phrase portion. * No need to compile PHP with --enable-calendar to get ArPHP date function working. Also I fix ArMktime methods visibility. * Improve performance by replace preg_replace function by str_replace function when it is possible (ArAutoSummarize is 200% faster now). * Fix ArAutoSummarize bug in define sentences and words borders where I miss handle the comma as a separator just like spaces. * Fix bug in the $hindo parameter in utf8Glyphs method (did not accept false value to output Arabic digits instead of Hindo digits). * Fix ArabicTest and add test cases for ArStrToTime method/sub class. * Batch file for Apache ab stress test. * Update license information (use LGPL).