background preloader

Cakephp

Facebook Twitter

Cakephp 2.x User Management Free Plugin. Slywalker/cakephp-plugin-boost_cake. DATATABLE - A component for working with jQuery DataTables. CakePHP-Datables provides server-side interoperability between CakePHP 2.x and the jQuery DataTables plugin.

DATATABLE - A component for working with jQuery DataTables

Features: Takes paginated data and converts into json response compatible with datatablesAccepts dataTables ORDER BY requestsAccepts dataTables WHERE conditionsAccepts dataTables paginationWorks LinkableBehavior and to a lesser extent Containable Dependancies: - PHP 5.x - CakePHP 2.x - LinkableBehavior is recommended but not required - and ofcourse the latest version of DataTabes. Installation You can either clone the project, download the project, or just copy & paste DataTableComponent.php into your projects Controller/Component directory Demo See for full documentation or. QR Code Helper. Using composer with CakePHP 2.x - Ceeram.

Lately i have been hacking on Opauth and finally was forced to learn more about composer.

Using composer with CakePHP 2.x - Ceeram

Within the CakePHP community composer has not been adopted really, altough composer-installer supports an easy way for installing cakephp-plugin already. Many plugin maintainers have not added composer.json files to their repositories, as CakePHP itself is not using it as well. There is no need to stop you from using composer with your CakePHP application. You can install both plugins and 3rd party libraries easily. Currently you would clone/download required libraries to the vendors/ or app/Vendor/ directory. For libraries that support composer install, here is the way to go: Note: the following would also work, but would not add the vendor-dir to composer.json This will create a composer.json file with the required dependencies for your application.

When running install it would produce the following output Opauth would be instantiated in your UsersController.php. String Generator. Number Generator. If some device was not following the WiFi Alliance WPA specification by not hashing the entire printable ASCII character set correctly, it would end up with a different 256-bit hash result than devices that correctly obeyed the specification.

Number Generator

It would then be unable to connect to any network that uses the full range of printable ASCII characters. Since we have heard unconfirmed anecdotal reports of such non-compliant WPA devices (and since you might have one), this page also offers "junior" WPA password strings using only the "easy" ASCII characters which even any non-fully-specification-compliant device would have to be able to properly handle.

If you find that using the full random ASCII character set within your WPA-PSK protected WiFi network causes one of your devices to be unable to connect to your WPA protected access point, you can downgrade your WPA network to "easy ASCII" by using one of these easy keys. Packages home. CakePHP Captcha Component and Captcha Helper. An Issue Tracker On the Way For WordPress Documentation An Issue Tracker On the Way For WordPress Documentation As we all know that Word...

cakePHP Captcha Component and Captcha Helper

PSD to Mobile Template: Latest Fad to Boosting Business Growth PSD to Mobile Template: Latest Fad to Boosting Business Growth Nowadays, more ... 10 Best Examples of Engaged Responsive Web Design Responsive web design or I call RWD, is a new trend of website designing especia... The Guide to WordPress Custom Posts WordPress has become a place for solid content management for past several years... The best jQuery Plugins that you must make use of when designing websites When it comes to jQuery, it is a known fact that it has revolutionized the web d... Trending 31 January, 2014 24 January, 2014 22 January, 2014 CakePHP Articles Recent Posts An Issue Tracker On the Way For WordPress Documentation 31 January, 2014 Leave a Comment PSD to Mobile Template: Latest Fad to Boosting Business Growth 31 January, 2014 Leave a Comment 24 January, 2014 Leave a Comment Scroller.

BotDetect CAPTCHA. How to implement Captchas properly « DerEuroMark. 09.

How to implement Captchas properly « DerEuroMark

Aug. 2010 What is a captcha? They protect forms on websites from spammers and bots (@see Wikipedia for details). The main idea: Display some kind of code a human can easily read and submit but a computer can not. How NOT to implement captchas This part is even more important, because there is not only one correct way, but even more wrong ways to go here. Don’t use sessions unless you really have to. More helpful are captchas which use the current form and some hash values based on the fields + current timestamp. Why do we need captchas First of all, they make sure that there is no bot (automatic program) posting “spam” or whatever. A good example what happens if you dont use captchas, is bakery.cakephp.org. Passive Captchas I already talked about using some hash values based on the fields + current timestamp. Both are invisible to the user – they dont even notice the passive captcha.

Active Captchas Those are the most commonly used ones. I decided to use math captchas. Captcha Behavior. Tools Plugin – Part 2: Contact Form « DerEuroMark. 15.

Tools Plugin – Part 2: Contact Form « DerEuroMark

Dec. 2011 I want to show how easy it is to make a solid and universal contact form in Cake(2). The full code can be found in the github rep of the Tools plugin. Model The most important part first: We need a solid validation for the form. Class ContactForm extends ToolsAppModel { protected $_schema = array( 'name' => array('type' => 'string' , 'null' => false, 'default' => '', 'length' => '30'), 'email' => array('type' => 'string' , 'null' => false, 'default' => '', 'length' => '60'), 'subject' => array('type' => 'string' , 'null' => false, 'default' => '', 'length' => '60'), 'message' => array('type' => 'text' , 'null' => false, 'default' => ''), ); public $useTable = false; public $validate = array( 'name' => array( 'notEmpty' => array( 'rule' => array('notEmpty'), 'message' => 'valErrMandatoryField', 'last' => true ) ), ... ); The _schema var mocks a database table so that we don’t really need one.

Controller The logic takes care of the validation on POST. <? Last but not least: View.