Quick links: Content - sections - sub sections
EN FR

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:changelog:1.4 [2012/03/02 14:37] – [Enhancements] laurenten:changelog:1.4 [2012/05/10 07:58] laurent
Line 9: Line 9:
 ===== Main improvements ===== ===== Main improvements =====
  
-   * new jApp::config() method, to retrieve the configuration. $gJConfig is deprecated. +   * new jApp::config() method, to retrieve the configuration and new jApp::loadConfig() to load the configuration. $gJConfig is deprecated. 
-   * new jApp::coord() method, to retrieve the coordinator. $gJCoord is deprecated.+   * new jApp::coord() method, to retrieve the coordinator and new jApp::setCoord() to set the coordinator into the Jelix environment. $gJCoord is deprecated. 
    * new autoload system. Classes to autoload can be indicated into module.xml file of your modules. the autoload system support the [[https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md|PSR0 specification ]]    * new autoload system. Classes to autoload can be indicated into module.xml file of your modules. the autoload system support the [[https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md|PSR0 specification ]]
    * virtual templates    * virtual templates
Line 17: Line 17:
    * new class, jPref, to set and get dynamic/functionnal configuration options. An interface is available to allow a webmaster to manage these preferences.    * new class, jPref, to set and get dynamic/functionnal configuration options. An interface is available to allow a webmaster to manage these preferences.
    * modules can provide their own response object and indicate them directly into the configuration    * modules can provide their own response object and indicate them directly into the configuration
 +   * modules can provide their own CSS and JS file without copying them into the @@F@www@@ directory
 +   * Jelix-scripts now searches a .jelix-scripts.ini in the current directory and its parent directories, before searching in the home directory
 +   * New jDb driver using the mysqli API (FlorianLB)
 +
 +
  
  
Line 25: Line 30:
   * your entrypoints should be changed:   * your entrypoints should be changed:
     * the coordinator should be set into the jApp object.     * the coordinator should be set into the jApp object.
-    * the configuration file should be intidacted to the jApp object too instead of the coordinator.+    * the configuration file should be indicated with jApp::loadConfig() instead of the coordinator.
     * See a template in lib/jelix-scripts/templates/www/index.php.tpl     * See a template in lib/jelix-scripts/templates/www/index.php.tpl
   * you are encouraged to replace all your $gJConfig/$gJCoord use by jApp::config() and jApp::coord().   * you are encouraged to replace all your $gJConfig/$gJCoord use by jApp::config() and jApp::coord().
Line 34: Line 39:
  
   * Core   * Core
-    * the global variable $gJConfig is now deprecated. You should use jApp::config() instead, to retrieve the configuration. +    * the global variable $gJConfig is now deprecated. You should use jApp::config() instead, to retrieve the configuration.  Entry points should indicate the configuration file with jApp::loadConfig(), not with the coordinator
-    * the global variable $gJCoord is now deprecated. You should use jApp::coord() instead, to retrieve the coordinator.+    * the global variable $gJCoord is now deprecated. You should use jApp::coord() instead, to retrieve the coordinator. Entry points should store the coordinator into jApp, not into $gJCoord.
     * New HTTP cache API on response object: cleanCacheHeaders(), setExpires(), setLifetime(), isValidCache(). @FlorianLB     * New HTTP cache API on response object: cleanCacheHeaders(), setExpires(), setLifetime(), isValidCache(). @FlorianLB
-    * jXmlResponse allow now to specify your own mime type. @Thomas PT+    * jXmlResponse allow now to specify your own mime type. @Thomas PT 
     * in the configuration, we can indicate a response class which is in a module. Syntax: @@{responsetype}=module:{modulename}:{classname}@@. And the response class should be store into a @@F@{modulename}/responses/{classname}.class.php@@.     * in the configuration, we can indicate a response class which is in a module. Syntax: @@{responsetype}=module:{modulename}:{classname}@@. And the response class should be store into a @@F@{modulename}/responses/{classname}.class.php@@.
 +    * Methods isModuleEnabled and getModulePath have been moved from jCoordinator to jApp. These methods are still availabled on jCoordinator but deprecated
 +    * new class jAutoloader, to be used as a class autoloader
 +    * support of new elements into module.xml to indicate classes (or class pattern) for the autoloader.
 +    * rework the errors/exceptions handlers
 +    * Short error message is now displayed on the error page at startup
 +    * New coordintor plugin to trace execution (FlorianLB)
 +    * actions in controllers can be implemented with @@__call@@ (flav)
   * jUrl   * jUrl
     * new method getRootUrl($keyword) (and a jTpl plugin) to associate some urls to keywords. @bricet #1073     * new method getRootUrl($keyword) (and a jTpl plugin) to associate some urls to keywords. @bricet #1073
Line 45: Line 57:
     * new meta instructions: meta_if, meta_else, meta_endif. @bricet     * new meta instructions: meta_if, meta_else, meta_endif. @bricet
     * plugins: added support of IE8 and IE9 in meta_html     * plugins: added support of IE8 and IE9 in meta_html
 +  * jDao:
 +     * new method jDaoRecordBase::save. (Sid-Ali Djenadi)
   * jAuth:   * jAuth:
     * new hash function bcrypt() using blowfish algorithm. @FlorianLB     * new hash function bcrypt() using blowfish algorithm. @FlorianLB
Line 50: Line 64:
   * Utils:   * Utils:
     * new classes to retrieve and parse Atom and RSS feeds: jAtom10Reader and jRSS20Reader. Compatible with responses that generates Atom and RSS feeds. @FlorianLB #23     * new classes to retrieve and parse Atom and RSS feeds: jAtom10Reader and jRSS20Reader. Compatible with responses that generates Atom and RSS feeds. @FlorianLB #23
 +    * jIniFileModifier: new methods getValues and setValues
   * new class jPref : a system to store dynamic configuration options (not system options for the framework). An interface is available to allow a webmaster to manage these preferences. It uses jKVDb as storage backend.   * new class jPref : a system to store dynamic configuration options (not system options for the framework). An interface is available to allow a webmaster to manage these preferences. It uses jKVDb as storage backend.
 +  * Jelix-scripts:
 +    * now searches a .jelix-scripts.ini in the current directory and its parent directories, before searching in the home directory
 +    * createapp now generates a .gitignore file and .dummy files in empty directories so they can be included into a repository
 +    * the debugbar is activated by default on new application created with the createapp command
  
  

en/changelog/1.4.txt · Last modified: 2012/08/30 11:21 by laurent

Recent changes RSS feed Creative Commons License