Blog Detail
Programming Solutions
http://www.amityadav.name
This blog talks about solution to various technical problems, the work that the author of this blog is being doing and what are the new stuff that one can reuse. Please feel free to comment and ask questions if you are facing technical problems. So looking forward for you.
Recent Posts
Creational design patterns
Singleton - Ensure that only one instance of a class is created and Provide a global access point to the object. Factory (Simplified version of Factory Method) - Creates objects without exposing the instantiation logic to the client and Refers to the...
Application Architecture Patterns
All applications follow one of the following industry-standard Application Architecture Patterns Client-Proxy Server: Acts as a concentrator for many low-speed links to access a server. Customer Support: Supports complex customer contact across mult...
Retrieving nth Salary from DB
This query lets you find the nth highest salaries employees. Select * From @Table [T1] Where (2 = (Select Count(Distinct [ESalary]) From @Table [T2] where [T1]।[ESalary] <= [T2].[ESalary])) Replace 2 with 3,4 ,5,6 etc to get the 3,4 ,5,6 etc hi...
PHP Custom DateFiff Function
[Copy to clipboard][+]View CodePHPfunction datediff($interval, $datefrom, $dateto, $using_timestamps = false) { /* $interval can be: yyyy - Number of full years q - Number of full quarters m - Number of full months ...
Pipes.deri.org
Pipes.deri.org: Deri.org admits they were inspired by Yahoo Pipes, but it certainly looks like they learned from the big Y and changed things up enough to keep it interesting. You can pull in information using RDF, XML, Microformats, JSON or a bina...
5 Essential Google Cheat Sheets Which Surely Will Come in Handy
http://www.cssreflex.com/2009/07/5-essential-google-cheat-sheets-which-surely-will-come-in-handy.html...

