Latest Useful Web Resources and Links #1, March 2016

I created this page as a running repository of useful, miscellaneous web notes for later reference. Javascript & JQuery How to get the latest version of JQuery: Useful info about Javascript and JQuery source maps -- an explanation about what they are and how they are used: http://elijahmanor.com/the-magic-of-the-jquery-1-9-source-map/ Parsley -- A reliable and easy…

How to show or access cookie values in Symfony Twig views

Strange how obscure it is to find a clear example of how to just access or show the value of a cookie in Twig, so here it is! Twig is the templating engine that powers Symfony views.  Symfony is the PHP framework from Sensio Labs. If you are a company that uses open-source software…

Symfony Framework: Calling on other controllers from your TWIG views handy and efficient

In the newest versions of Symfony greater than 2.2 you can embed output from controller by calling it with this handy TWIG snippet: Check out Sensio Lab's documentation to learn more. This is especially useful if you want to create a snippet that will deliver content independent of the controller you are calling the…

Upgrading Symfony from 2.3 to 2.6 introduces few pitfalls in test run

Besides making sure your server is running PHP 5.4 or higher, after updating from Symfony 2.3 to 2.6.3, I had to roll back a few dependency packages I found were conflicting and weren't tested and cleared to work with the newest version of Symfony.  Some of the latest compatibility requirements are found here.  The latest…

Accessing dynamic field names in Symfony’s TWIG using attribute and the tilde(~)

At last, a framework has finally given the tilde (~) a little respect. Hash tag (#) usually gets all the glory, but not this time!  Not is in this case.  Granted, the tilde might be happy to be used at all and chances are, this obscure solution to another view issue doesn't mean tilde's ready…