Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Zend dependency #398

Open
white-gecko opened this issue Sep 26, 2016 · 2 comments
Open

Remove Zend dependency #398

white-gecko opened this issue Sep 26, 2016 · 2 comments
Milestone

Comments

@white-gecko
Copy link
Member

Remove all dependencies to zend 1, since it will be completely discontinued on 2016-09-28.

@white-gecko white-gecko added this to the 1.2 milestone Sep 26, 2016
@white-gecko
Copy link
Member Author

white-gecko commented Sep 26, 2016

Currently we have dependencies to:

  • Zend_Cache
  • Zend_Application (incl. Zend_Application_Bootstrap_Bootstrap)
  • Zend_Controller (incl. Zend_Controller_Action, Zend_Controller_Action_HelperBroker, Zend_Controller_Action_Helper_ViewRenderer, Zend_Conroller_Dispatcher, Zend_Controller_Dispatcher_Standard, Zend_Controller_Plugin_ErrorHandler, Zend_Controller_Dispatcher_Exception, Zend_Controller_Request_Abstract, Zend_Controller_Request_HttpTestCase, Zend_Controller_Front)
  • Zend_Layout
  • Zend_Config (incl. Zend_Config_Ini)Zend_Controller_Plugin_Abstract
  • Zend_Log (incl. Zend_Log_Filter_Priority, Zend_Log_Writer_Stream, Zend_Log_Writer_Null)
  • Zend_Session (incl. Zend_Session_Namespace)
  • Zend_Translate
  • Zend_Auth_Result
  • Zend_View (incl. Zend_View_Interface, Zend_View_Helper_Placeholder_Registry)
  • Zend_Feed
  • Zend_Validate_EmailAddress
  • Zend_OpenId_Extension_Sreg
  • Zend_Http (incl. Zend_Http_Client, Zend_Http_Response, Zend_Http_Client_Adapter_Test)
  • Zend_Loader
  • Zend_Test_PHPUnit_ControllerTestCase
  • Zend_Uri::check
  • Zend_Json::decode
  • and maybe more, but I hope this is all

scripts/mod-auth-external/ontowiki.php and scripts/owadmin.php still depend on Zend_Loader_Autoloader, which is replaced by composer in the rest of the application

@shinobu
Copy link
Collaborator

shinobu commented Nov 17, 2016

I've searched through OntoWiki/application, OntoWiki/extensions and Erfurt/library/Erfurt.
This should be a complete list of all dependencies.

Furthermore to those classes that sill depend on Zend_Loader_Autoloader some (I think it were those 2 listed above) still have require_once in the code.


OW

Zend_Application(Zend_Application_Bootstrap_Bootstrap)
Zend_Config (Zend_Config_Ini )
Zend_Log (Zend_Log_Writer_Stream Zend_Log_Filter_Priority Zend_Log_Writer_Stream )
Zend_Session_Namespace
Zend_Translate
Zend_Controller (Zend_Controller_Action Zend_Controller_Action_Helper_Abstract Zend_Controller_Action_Helper_ViewRenderer Zend_Controller_Action_HelperBroker Zend_Controller_Front Zend_Controller_Plugin_Abstract Zend_Controller_Plugin_ErrorHandler Zend_Controller_Request_Http Zend_Controller_Request_Abstract Zend_Controller_Dispatcher_Standard Zend_Controller_Request_HttpTestCase)
Zend_Layout::startMvc
Zend_Test_PHPUnit_ControllerTestCase
Zend_Http_Response
Zend_View_Interface (Zend_View_Helper_Abstract Zend_View_Helper_Placeholder_Registry)
Zend_Cache
Zend_Loader
Zend_Feed (Zend_Feed_Abstract)
Zend_Http_Client (Zend_Http_Client_Adapter_Test)
Zend_Uri::check
Zend_Auth_Result::SUCCESS
Zend_Session
Zend_Json::decode
Zend_Validate_EmailAddress
Zend_OpenId_Extension_Sreg
Zend_Loader_Autoloader
Zend_Console_Getopt
Exceptions (Zend_Config_Exception Zend_Log_Exception Zend_Translate_Exception Zend_Controller_Exception Zend_Controller_Dispatcher_Exception)


OW Extensions

Zend_File_Transfer
Zend_Session_Namespace
Zend_Mail (Zend_Mail_Transport_Smtp)
Zend_Config (Zend_Config_Ini Zend_Config_Writer_Ini)
Zend_Http_Client
Zend_XmlRpc_Server
Zend_Controller_Front (Zend_Controller_Request_Http Zend_Controller_Action_HelperBroker Zend_Controller_Router_Route)
Zend_Translate
Zend_Json_Server (Zend_Json_Server_Smd)
Zend_Feed_Writer_Feed
Zend_Uri::check


Erfurt

Zend_Cache (Zend_Cache_Core Zend_Cache_Backend_Memcached Zend_Cache_Backend Zend_Cache_Backend_Sqlite Zend_Cache_Backend_File Zend_Cache_Backend_Interface )
Zend_Config (Zend_Config_Ini )
Zend_Db (Zend_Db_Adapter_Sqlsrv Zend_Db_Adapter_Mysqli)
Zend_Http_Client (Zend_Http_Client_Adapter_Proxy)
Zend_Http_Response
Zend_Auth ( Zend_Auth_Result Zend_Auth_Adapter_Interface)
Zend_Log (Zend_Log_Writer_Null Zend_Log_Filter_Priority)
Zend_Version::VERSION
Zend_Mail (Zend_Validate_EmailAddress)
Zend_OpenId_Consumer
Exceptions (Zend_Exception Zend_Auth_Adapter_Exception Zend_Db_Adapter_Exception Zend_Config_Exception Zend_Uri_Exception)


All in All

Zend_Application(Zend_Application_Bootstrap_Bootstrap)
Zend_Config (Zend_Config_Ini Zend_Config_Writer_Ini)
Zend_Log (Zend_Log_Writer_Stream Zend_Log_Writer_Null Zend_Log_Filter_Priority Zend_Log_Writer_Stream )
Zend_Session_Namespace
Zend_Translate
Zend_Controller (Zend_Controller_Action Zend_Controller_Action_Helper_Abstract Zend_Controller_Action_Helper_ViewRenderer Zend_Controller_Action_HelperBroker Zend_Controller_Front Zend_Controller_Plugin_Abstract Zend_Controller_Plugin_ErrorHandler Zend_Controller_Request_Http Zend_Controller_Request_Abstract Zend_Controller_Dispatcher_Standard Zend_Controller_Request_HttpTestCase Zend_Controller_Router_Route)
Zend_Layout::startMvc
Zend_Test_PHPUnit_ControllerTestCase
Zend_View_Interface (Zend_View_Helper_Abstract Zend_View_Helper_Placeholder_Registry)
Zend_Cache (Zend_Cache_Core Zend_Cache_Backend_Memcached Zend_Cache_Backend Zend_Cache_Backend_Sqlite Zend_Cache_Backend_File Zend_Cache_Backend_Interface )
Zend_Loader
Zend_Feed (Zend_Feed_Abstract)
Zend_Http_Client (Zend_Http_Client_Adapter_Test Zend_Http_Client_Adapter_Proxy)
Zend_Http_Response
Zend_Auth ( Zend_Auth_Result Zend_Auth_Adapter_Interface)
Zend_Session
Zend_Validate_EmailAddress
Zend_OpenId_Extension_Sreg
Zend_Loader_Autoloader
Zend_Console_Getopt
Zend_File_Transfer
Zend_Mail (Zend_Mail_Transport_Smtp Zend_Validate_EmailAddress)
Zend_XmlRpc_Server
Zend_Json_Server (Zend_Json_Server_Smd)
Zend_Feed_Writer_Feed
Zend_Db (Zend_Db_Adapter_Sqlsrv Zend_Db_Adapter_Mysqli)
Zend_OpenId_Consumer
Zend_Version::VERSION
Zend_Uri::check
Zend_Json::decode
Exceptions (Zend_Exception Zend_Config_Exception Zend_Log_Exception Zend_Translate_Exception Zend_Controller_Exception Zend_Controller_Dispatcher_Exception Zend_Auth_Adapter_Exception Zend_Db_Adapter_Exception Zend_Uri_Exception)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants