Transcript odp
An abstraction development layer JAB14 Kristijan Živčec Kristijan Živčec • • • • 10 years Experiance 6 years C# / 4+ years PHP Siemens d.d. 1st time JAB redCORE • • • • • • What is redCORE? redCORE vision What does it do? What does it do again (demo please)? Where to get it and how to contribute? Questions What is redCORE • • • • • • • • redCORE „core” Another framework? Abstraction layer... How do you spell that? Does redCORE work as standalone extension? YES redCORE – Vision • • • • • • Common payment plugin class redCORE Extension manager Improved ACL Selenium testing integration Dependancy handler ... redCORE – What does it do? • Joomla multi version support – Joomla 2.5.x – Joomla 3.x Example: Joomla 2.5.x JDispatcher::getInstance(); Joomla 3.x JEventDispatcher::getInstance(); redCORE $dispatcher = RFactory::getDispatcher(); redCORE – What does it do? • Layouts – Default layouts – Support in Joomla 2.5.x – redCORE – What does it do? • Installer – One package deal • • • • • • Libraries Media Modules Plugins Templates Translations – Custom tasks – Dependancy redCORE – What does it do? • Libraries – Javascript • Bootstrap – Checkbox – Timepicker • • • • Flexslider Font-awesome jQuery-UI select2 redCORE – What does it do? • Font awesome redCORE – What does it do? • • • Native Joomla Translations? – – • • • • • • • Manual of 60 pages PDF (how to „easily” set it up) Duplicate everything? Big unused duplicated data Very hard to maintain Slow 3rd party extensions? • – Easy to set up? Yes • – One table? • • • • • One table to rule them all 1 translatable column = 1 table row?? Slow redCORE – What does it do? • Translation system – Current situation – Benefits • • • • • • • • • • Multiple primary keys (they do not have to be named ID) More than one translation table in the same query Complex queries with expressions, constants, subqueries, in-lists, brackets, ... Each Content Element have its own table JDatabase is not replaced but extended Original value change notification (for each column) Define where you don’t want your translations to be (on what views/layouts) Unpublish each item for specific language Install through redCORE installer or from redcore translation Manager Existing Content elements from Falang and Joomfish • • • • Only one query No duplicate column values Separate tables with indexes Triggers – Faster redCORE – Where to get it • • • • • • GitHub • https://github.com/redCOMPONENT-COM/redCORE redCORE – What does it do? • DEMO redCORE – Questions Thank you Kristijan Živčec