CakePHP and jQuery problems.

Reading time ~1 minute

This issue plagued me for way longer than it should. Due to lack of documentation online I figured it would be best to represent it here.

I kept getting Black-holed. The most common answer I found online was to disable security altogether. (Seriously, don't do that). Rather, the correct answer via consensus in the #CakePHP IRC, as well as multiple other hidden forum posts was to disable it on a per hidden field basis.

Easy answer. Make this:

<?
echo $this->Form->input('w', array('type' => 'hidden'));
Into this:

<?
echo $this->Form->input('w', array('type' => 'hidden', 'security => false));
(The last one didn't work for me as was vastly suggested, but the following worked for me and should be an alternate)

<? $this->Form->unlockField('Purchase.x');
Happy coding!

Asyncio Basics Python 35

# Asyncio basics in pythonPython 3.5 brought with it asyncio. An event loop based paradigm previously available as a library but now it i...… Continue reading

Quick Laravel/Lumen install with Docker!

Published on March 02, 2016

PHP To Python

Published on February 24, 2016