Create Custom Side Menus
Frodo's Ghost | Bridging Legacy Session Storage with Silex and PHP
post-template-default,single,single-post,postid-50654,single-format-standard,eltd-core-1.0.1,ajax_fade,page_not_loaded,,borderland - frodosghost-child-ver-1.0.0,borderland-ver-1.2, vertical_menu_with_scroll,smooth_scroll,side_menu_slide_with_content,width_470,paspartu_enabled,paspartu_on_bottom_fixed,wpb-js-composer js-comp-ver-4.4.4,vc_responsive

Bridging Legacy Session Storage with Silex and PHP

A legacy application in PHP. It is a monster. It has the php looping inside database until all the data has loaded. No primary keys on the tables. It is scary. It is going slow, and there is no other way than to continue building.

Over time we will make it stable. God willing. But until then there will be a lot of bringing in outside components to make it stable. Silex has been helpful for that, a framework that is small, light and allows us to expand step by step.

Getting Between the Base Session and Silex Session Provider was an issue we had. The problem being that the system was saving data into the $_SESSION variable – like in the olden days. After working with Symfony for so long, and having HttpFoundation extend the base $_POST, $_GET and $_SESSION variables, it was strange to see them occur in code.

You never know what you will inherit.

Bridging the gap will be important for future changes, and here is how we had done it.

No Comments

Sorry, the comment form is closed at this time.