Posted On Friday, March 1st, 20132
jQuery
jQuery is wonderful javascript library out there for developers. It has came to an extent that we can say Pre jQuery and Post jQuery era of web. jQuery has simplified DOM Manipulation, events etc.. I completely agree with its quotes saying – Write less and Do More. jQuery been a boon for developers till date. This post is all about three methods offered by jQuery parent, parents and closest to traverse the DOM. Usually we get confuse with this three
Read More.
Posted On Friday, February 8th, 20130
Twitter Bootstrap
Bootstrap is one of the best and awesome front-end framework i have used till date. This post is on typehead javascript component that comes along with framework. The typeahead component process data provider ( json ) and set the label to the value of the element. But it doesn’t fit in the case where you have json in id->value pair and you want to set another element to id based on value you selected from the typeahead. I
Read More.
Posted On Tuesday, December 4th, 20121
PHP
Problem Its impractical to use DOM extension or SimpleXML extension to parse large XML documents in PHP. Usually will get Time-out error or script executes for longer than usual. As DOM and SimpleXML extensions loads the entire XML document into memory while parsing, it just dosen’t work for Large XML documents. How to solve it ? Its as easy as using extension, but not DOM or SimpleXML. Its XMLReader Extension. Bit of theory behind it. In PHP there are
Read More.