Archive | Javascript RSS feed for this section

[CakePHP] Build javascript widget for affiliate sites using CakePHP

TweetRecently I had a requirement from client. Additionally, it went on, that the snippet should be very simple like PLAIN TEXT HTML: <script src="http://baseurlhere/test/test"></script> Simple I thought I will just document write an iframe and be done with it but quickly discovered that if you want the CSS of the parent document to get applied [...]

Read full story · Comments { 0 }

jCrop Demo using PHP

TweetThis is one more post in my 'image manipulation using PHP' series. This one uses jCrop, a jQuery plugin, which provides the quick and easy way to add image cropping functionality to your web application. Most of the people understand what the image cropping is, hence I am jumping to the demo of it by [...]

Read full story · Comments { 1 }

Introduction to jqGrid jQuery plugin

Tweet‘Data’ is an important term and a backbone for any dynamic web applicaiton. And for that reason, there are no two ways to say that data representation has been a crucial factor in web application development. As we know that there are enormous methods to represent data in any system but what matters is efficiency, [...]

Read full story · Comments { 14 }

[CakePHP] Passing data from controller to javascript files

TweetThese days javascript is becoming the indispensable tool for a web developer. Each and every web application uses javascript for one or the other purpose. While working with CakePHP based projects, we need to pass variables from PHP (controller) to javascript a lot of times. To pass a variable from controller to view, Controller::set() method [...]

Read full story · Comments { 2 }