Adnan’s Blog

Archive for July 2008

CSS Compressor

Posted by: adnanrashid on: July 16, 2008

As a web designer, we use resources like CSS and javascript. These files should be optimized using compression for reducing the file size and hence the load time.
To decrease the file size web designers can follow 3 guidelines:

Remove whitespace like tabs, spaces, blank lines, etc.
Remove unused CSS classes and ID’s.
Use shorthand wherever applicable. For example [...]

Tags:

Encypting query string in asp.net

Posted by: adnanrashid on: July 8, 2008

When you pass information from one page to another, you are passing information that anybody can sniff. For example consider a scenario, in which you pass the customer id as a query string:
http://www.yourapplication.com?customer_id=15
Now if somebody replaced 15 with say 10 or any other number, they can pull up other customer information. And thats a bad [...]

Compare Fonts

Posted by: adnanrashid on: July 8, 2008

I was designing a template for a web application and i wanted to try out something new. The user interface revolves around a compatible set of layout, colors, images and fonts. So i was Googling for a tool to help me compare Fonts and thier web compatibility. I came across a great tool called Typetester. [...]

Tags:

Picnik Online Image Editing

Posted by: adnanrashid on: July 7, 2008

Although we cant all be photo image editing experts, tools like this can definitely help you come very close. Picknik provides a clean and easy user interface that will get you started on tweaking your favorite images in no time. With an abundant set of Fonts, special effects and other advanced settings, this tool is [...]

Tags:

Prestashop-Open Source e-Commerce Solution

Posted by: adnanrashid on: July 7, 2008

Prestashop is a welcome addition to the list Open source e-commerce solutions. The solution is completely configured with two sections, the front end; which deals with the online store’s user interface and the back end; which provides various tools to configure products, categories and other usual product related stuff. What sets Prestashop apart is its [...]

ASP.net Reset Password

Posted by: adnanrashid on: July 6, 2008

If you are using Membership Provider in your ASP.net application, you might come across a scenario in which you need to have both Security Question and Answer feature and would also like to programmatically reset the password for an account.
So if you run the code
string username = “user”;
string password = “password”;
MembershipUser mu = Membership.GetUser(username);
mu.ChangePassword(mu.ResetPassword(), password);
You [...]