CakePHP

  • afterSave: A Great Callback Method for Soft Deleting Related Model Data( hasOne, hasMany, belongsTo)

    Published on: March 1, 2012

    Author:


    I never like to “Hard Delete” data. Some one will make mistake deleting something. Then they will tell you retrive...

  • Should I Use Database For Storing sessions in CakePHP?

    Published on: August 24, 2011

    Author:


    Session handling is a important part of any web app. CakePHP offers 4 storage facilities for session storage. I will...

  • Prevent CakePHP App From XSS Attacks

    Published on: August 11, 2011

    Author:


    By default Cakephp will protect app against SQL Injection if you use CakePHP’s ORM methods (such as find() and save())...

  • CakePHP and facebook SDK as Vendor

    Published on: July 28, 2011

    Author:


    For most of the application on Facebook is simple but sometimes you have such a big application to develop you...

  • Disable Browser Cache in Cakephp

    Published on: July 22, 2011

    Author:


    When developing web apps, sometimes it is better to disable browser cache. We can do it in php by following...

    • 1
    • 2