paulredmond / chosen-cakephp Goto Github PK
View Code? Open in Web Editor NEWCakePHP plugin for Harvest's Chosen library
Home Page: http://paul.goredmonster.com/chosen-cakephp/
License: MIT License
CakePHP plugin for Harvest's Chosen library
Home Page: http://paul.goredmonster.com/chosen-cakephp/
License: MIT License
Based on notable changes in https://github.com/harvesthq/chosen/releases/tag/1.0.0 the default CSS class prefix needs updated in the Helper configuration.
This variable is outdated in the new jQuery.
By convention of CakePHP SecurityComponant it is strongly recommended that the from must be created using FormHelper. http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#security. Here what it says:
When using the Security Component you must use the FormHelper to create your forms. In addition, you must not override any of the fields’ “name” attributes. The Security Component looks for certain indicators that are created and managed by the FormHelper (especially those created in create() and end()). Dynamically altering the fields that are submitted in a POST request (e.g. disabling, deleting or creating new fields via JavaScript) is likely to trigger a black-holing of the request. See the $validatePost or $disabledFields configuration parameters.
Now, if I use ChosenHelper will I face security issues or is there any possibility that the security of the website may hamper? Kindly explain it clearly. :)
Should the Chosen assets be installed through another source? (E.g. Bower, Composer). Would be nice to see the vendor package decoupled from this plug-in. At the very least, if someone didn't want to use a package manager, they could always download the archive of the release and follow instructions to drop the contents in the /webroot directory, or wherever would be best.
Thoughts?
I'm going to experiment with using the FriendsOfCake/travis package on this to get some practice with it. I'll post whatever I find out here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.