📜 ⬆️ ⬇️

What awaits us in the Joomla Framework 12.1

Maybe not everyone realized yet, but Joomla has long been divided into two parts - Joomla CMS and Joomla Framework. The latter has version 11.4 , but version 12.1 is being hard sawn . It was originally planned that the framework will be released once a quarter, but this year they decided to release only three versions - 12.1, 12.2, 12.3. Accordingly, 12.1 will be released on April 18. What awaits us in it?

  1. Serious processing has undergone part of the work with databases. The DATABASE package can be said to be completely rewritten. While there are drivers for working with MYSQL, MYSQLI, ORACLE, PDO, SQLITE, as well as SQL SERVER and SQL AZURE. The driver for PostgreSQL is hard at sawing - one , two and three
  2. The new HTTP package , which has got the functionality related to the HTTP protocol, in particular, streams, sockets, CURL. The class for getting and working with all of this is called JHTTPFactory and is located in /libraries/joomla/http/factory.php
  3. Added JStringInflector class (Joomla / String / Inflector.php). Allows you to perform different actions with words, for example, to recognize their number, translate into singular / plural. While only English is supported, it is possible to add your own singular rules (in the form of regexps, the _addRule function)
  4. There is a new package CRYPT (Joomla / Crypt) with support for 3DES / BLOWFISH / RIJNDAEL256 / SIMPLECPT encryption methods. Old encryption (joomla / utilities / simplecrypt.php) is declared DEPRECATED and redirected to a new library. For encryption, the PHP mcrypt extension is used.
  5. The JDocument class has a new subclass of JDocumentImage , which is responsible for rendering images. True, while it simply calls parent :: render, after first defining the MIME type of the image by extension.
  6. A library / import.legacy.php file was created that imports some deprecated files and the contents of the libraries / legacy folder. Many things that were outdated were transferred there, and the entire contents of the libraries / cms folder (since joomla-cms is a separate project and should not be in the platform). Now, if you need the deprecated platform capabilities, in your application you import the import.legacy.php file, if not non-deprecated, then import.php, as usual. Joomla CMS will import the legacy code while it is planned to completely get rid of it in a year or two.
  7. The JApplication class (joomla / application / application.php), as can be seen from the link from the previous paragraph, is also declared legacy. It is proposed to use JApplicationWeb, JApplicationCli or JApplicationDaemon. However, CMS does not yet know about this and uses JApplication.
  8. File system patcher for DIFF files (libraries / joomla / filesystem / patcher.php). Taken from the project phppatcher
  9. Added ability to use memcached as cache
  10. The Mootools library has been updated to version 1.4.4, compatibility with version 1.2 is no longer supported. PHPMailer also updated to version 5.2.1


What is planned in the future:
  1. New FEED-class . While Joomla uses the library SimplePie.
  2. PostgreSQL support
  3. SEARCH package. The component that currently exists in the CMS (COM_SEARCH) does not at all meet the needs of users.
  4. Package STREAMS for working with threads (seek, fstat, flush, lock), different types of caches (xcache, wincache)
  5. Package COMMERCE - user basket, orders, payment (while paypal).


In addition, some time ago, eBay launched one of its projects on Joomla. Naturally, eBay has reworked a lot in it, and now wants to share with the community. What awaits us in brief is described here . There are a lot of innovations there, it is quite difficult to simply include them, so they will not be included soon and gradually.
')


Addition: PostgreSQL was written down. Probably in the next / next CMS-ke will already be

Source: https://habr.com/ru/post/139575/


All Articles