Smarty 3.1.28 released with support for PHP 7

Smarty 3.1.28 recently released, is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation. This release comes with a tone of bug fixes and new features, namely PHP 7 support and run-time inheritance compiling. Smarty 3.1.28 changelog bugfix {foreach} and {section} with uppercase characters in name attribute did not work bugfix $smarty-debugging_ctrl = ‘URL’ did not work bugfix Debug Console could display incorrect data when using subtemplates optimize filepath normalization rework of template inheritance speed and size optimizations bugfix under HHVM temporary cache file must only be created when caches template was updated fix compiled code for new {block} assign attribute update code generated by template function call handler size optimization move some runtime functions into extension optimize inline template processing optimization merge inheritance child and parent templates into one compiled template file load seldom used Smarty API methods dynamically to reduce memory footprint cache template object of {include} if same template is included several times convert debug console processing to object use output buffers for better performance and less memory usage optimize nocache hash processing remove not really needed properties optimize rendering move caching to Smarty::_cache remove properties with redundant content optimize Smarty::templateExists() optimize use_include_path processing relocate properties for size optimization remove redundant code See changelog for full list Download it here

Brackets 1.2 Open Source Code Editor released

Brackets 1.2 has just been released and this release has a bunch of really fantastic features that users have been asking for for a while. A notable new feature in the UI is the Split View – The editor pane that is inactive is no longer dimmed. To restore the dimming behavior, install the Zen Pane extension. Brackets 1.2 changelog: Code Editing Drag & drop to move selected text: Enable the dragDropText preference to drag and drop any selected text.

How to fetch data from XML file using php

I am sharing below PHP code to a project I was working on. This project was based on extracting data from an FTP server xml file and output the result on HTML using PHP code. The result will be outputted into a tabular form with column headings. XML File: Name file as “ftpxml.xml“ [code lang=”xml”] <?xml version=“1.0” encoding=“ISO-8859-15”?> [/code] PHP Code: [code lang=”php”] <?php // Loading the XML file