Site Layout Architecture 1. Ensure content is clear and upfront – Content should be front and centre on any web page. At a minimum the page’s title should be ‘above the fold’; that is visible without the visitor having to scroll. 2. Avoid too many ads above the fold – While …
Read More »Find Control in .NET
It is a way of handling Nested control (NET controls on NET Container Controls) because these nested controls are never available in coding hence we need to find them before using them like normal controls. Suppose you have a Asp.NET Linkbutton named “lnkSubCategory” and you have placed that in a …
Read More »Drupal and Varnish a short introduction
Varnish is a HTTP accelerator (or reverse proxy). Its very much capable of processing 100,000 requests in a sec. Most likely quicker then Drupal, even with page caching on. Want to see how it works? Cache hit User requests a URL Varnish checks it’s cache Varnish retrieves the data …
Read More »Install Git 1.6.1 on Reckspace Centos 5.2
This is best shortest and definitely working method i found. First you need to install the dependencies yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel Then get the git source code from online repo wget http://193.198.184.21/software/scm/git/git-1.6.1.tar.gz untar the git source code wget http://193.198.184.21/software/scm/git/git-1.6.1.tar.gz Finally install git cd git-1.6.1.tar.gz make prefix=/usr/local all …
Read More »Drupal Profiling & Performance Analysis for Optimization: Finding Bottlenecks in Your Application
This is the age of information technology. There are two most crucial & critical factors which could make or break any online business are availability and super faster loading of web pages. Hence, as a webmaster, you must need to ensure that the end-user experience of your website is robust, …
Read More »How To Detect Shake Motion Gesture On you iPhone or iPad
Today we are going just to detect Shake Motion gesture on iPhone or iPad. We are going to create a new Universal application. Just create a new project, select single view and select “Universal” on devices option Now you have a delegate and one “ViewController”. Open the .xib file and …
Read More »Bad Request Your browser sent a request that this server could not understand
I faced the problem when I was configuring the Drupal for Facebook module to add a Facebook registration form. I tried couple of things but none of them worked. So after banging my head I found out that this is due to “GET request limit” set in your server …
Read More »Difference between Asp.NET Profile Properties and Session State Properties?
First of all, there are a lot of similarities between both of them as both monitor a specific user’s action on your site on server side and every user has his different session state and Profiles. The biggest difference is that Session state is lost when user end his session …
Read More »Adding dynamic form elements using AHAH in Apply for for role Module
In Drupal AHAH is the best practice for adding removing from elements dynamically I am not going to explain the basics if anyone want to learn what is AHAH go to http://drupal.org/node/331941. I have been using apply for role module in the registration form. I got a task form my client …
Read More »How to create a new project in XCode
This post is just to let you guys know how to create a new project in Xcode 4.x. So First of all open the Xcode from your Applications folder or search “Xcode” in spotlight. When xcode is opened now you have to follow these steps Click on “File” available in …
Read More »