Monthly Archives: March 2011

JsonStore Vs Ext.data.Store

You Need to give proxy with Ext.data.Store but in json store you don’t need the Proxy // create the data store var store = new Ext.data.JsonStore({ // store configs autoDestroy: true, autoLoad :true, url: ‘api/index.php?_command=getresellers’, storeId: ‘getresellers’, // reader configs … Continue reading

Posted in UI Js | Leave a comment

static keyword in php

Static Keyword Declaring class properties or methods as static makes them accessible without needing an instantiation of the class. A property declared as static can not be accessed with an instantiated class object (though a static method can). Visibility-Protected Members … Continue reading

Posted in PHP | Leave a comment

Design Patterns

Behavioural Pattern >>Command Pattern : Very Nice patter and the example here is so nice and want to these kind of pattern in my code . http://www.oodesign.com/command-pattern.html      

Posted in OOP | Leave a comment

mysql_pconnect vs mysql_connect

However, if you read the manual page for mysql_pconnect it states: If PHP and MySQL are on the same server or local network, the connection time may be negligible, in which case there is no advantage to persistent connections.

Posted in Mysql, PHP | Leave a comment

Generating Documentation by phpdoc

For Generating document of a directory : phpdoc -o HTML:frames:earthli -d ryapi -i uploads/,url/ -t docs –parseprivate Please go through the link for tags -o,-d etc. http://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#using.command-line.output here rypai is my directory name uploads url directory i want to ignore … Continue reading

Posted in PHP, Project Management | Leave a comment