Najam Sikander Awan
logs of my work and digital life
logs of my work and digital life
Jul 16th
hi guyz
Sorry for writing after such a long time i guess i am very busy now a days so for a project i needed to read my smtp email settings defined in my web.config file so after some efforts i am able to read these settings direct from my system .net section.
Nov 6th
If you want to know only the directory name not the full path of the page that is currently displaying you can use this code
string sPath = System.Web.HttpContext.Current.Request.Url.AbsolutePath;
System.IO.FileInfo oInfo = new System.IO.FileInfo(sPath);
string sRet = oInfo.Directory.Name.ToString();
Response.Write(“<br><br>Directory name===” + sRet + “<br><br>”);
Happy Coding
Najam Sikander Awan
Nov 6th
If you want to display the filename or page name of the current displaying page just use these two lines and it will show only the filename like default.aspx, najam.aspx or indexas.aspx no matter it these pages are located deep into your site structure.
string pagename = System.IO.Path.GetFileName(Request.ServerVariables["SCRIPT_NAME"]); Response.Write(pagename);
Enjoy coding
Najam Sikander Awan
Oct 19th
Surrounded by computers and internet all the time when at work, in university labs or when browsing internet from your home. During long sessions we come across some really good websites and solutions and add them to our bookmarks but as soon as you switch PC your favorites bookmarks are gone. Its very difficult to manage your bookmarks on multiple PC’s but not anymore if you are a firefox fan. One can easily synchronize his/her bookmars by installing a little extension called foxmarks and signing up for an account in foxmarks.com. You probable already know about other solutions like google browser sync and del.icio.us but both of them are very heavy for a dial up user with a distortion in phone line where foxmarks works like a breeze.
Try foxmarks extension for yourself and give me your feedback on this post.
Bye Everyone
thanks for reading
Sep 30th
With wordpress 2.3 codename dexter wordpress bloggers finally have their hands on most waited features “Tags”. Tags are very much like categories but little convenient then categories. Tags come handy when you are posting and you can put tags onto your post by just typing tag name and comma separate them whereas if you want post under multiple categories you have to select the check boxes for that.
Sep 30th
Hi guyz,
After many days I am back and back for good
recentlly i purchased a domain name and hosting package, so that i can have my own website and I want my settings persistent which was not possible in the case of free hosting like in my case my hosting provider remove the mysql database support.
Can’t tell you how happy I am after getting my website up and running its currently in beta state I will design it from scratch as time permits and planning to use table less design. With my website I have configured a wordpress blog and currently its using a template that I pick form internet after designing my main website I will design my own wordpress template.
Below is the screen shot of my new website.
my blog snapshot is give below
please visit http://www.najamsikander.com and for blog please visit http://www.blog.najamsikander.com
Jun 11th
hi guyz
believe or not safari famous apple browser new beta version is here for both mac and windows users yes u heard it all right its for windows too i have downloaded it and installed it and it works great for me.
Since i never used it and i am a big fan of firefox i am finding a little difficulty to find the features i am used to with like a home page icon history cleaner,no enter or go button,full screen and how to auto complete url for .com and other domains.
I guess it will take time to get used to with that but one thing is for sure this is very good move made by apple they should launch more products for window users.
Regards
Najam Sikander Awan
Apr 14th
Hi,
phew after lots of search finally my acer 1642 ( view specifications ) laptop with suse 10.2 communication with Access Point.
Intel
PRO/Wireless 2200BG is my wireless card and its detected by suse 10.2
but as i turn my wifi on led is not lightening up and nothing works as
i searched i found that suse 10.2 includes driver for my wireless lan
card but firmware is missing so all i have to do is install proper
firmware for my card.
Some forums mentioned that for suse10.2 and Intel PRO/Wireless 2200BG card proper firmware is version 3 and all i have to do is download it and extract it into /lib/firmware. Reboot.
After reboot my led lighten up and i installed some packages like knetworkmanager from yast to manage my wireless connections.
Regards
Najam Sikander Awan
Powered by ScribeFire.
Apr 14th
I liked this article so copying it from source site and pasting it onto my blog you can also visit source website.

A while ago I put this photo on my flickr page and it was chosen to go on the official flickr blog as the photo of that day (September 23rd). To date it has been viewed over 2000 times.
The photo was actually one in a whole series of photos I shot for a
client presentation, detailing the website design / development process
in a manner that was easily understandable and also fun to look at.
This article takes you through that process, using the same photos. We
hope you enjoy the pictures and if it also helps you to manage your
workflow better if you are starting out as a web designer then that’s
cool too
However, as is the organic nature of these things, there are an
infinite amount of variables that can affect the project timeline. For
that reason, projects are never ever as clear-cut as in this
sequence of photos. Things may need to be done over and over, steps may
get jiggled around, you may need more time for CMS / back-end
development etc – so please think of this sequence as merely a basic example of the kind of process that I have grown comfortable with, speaking as a web designer/developer.

Naturally you’re going to want to start your project with a client
chit-chat. At the first meeting you need to establish the basic scope
of the work – what needs to be done, roles and responsibilities, who is
your point of contact for materials (text content, images) etc.

Think about how you are going to structure things. What is
important? What is not? What needs to be on every page? Depending on
the scale of the project you might want to create a visual sitemap for
your client. Preparing a sitemap is essential if you are reorganising
content in any way.

A wireframe is a skeleton website, indicating all the navigation,
function and content elements that will appear on the final website,
but with no graphic design elements. It is used to iron out
any problems or missing elements, and will act as the blueprint for the
content, design and construction work that comes later.
How you create the wireframe is up to you – for small sites it might
be fine to just line-draw it in Illustrator or Photoshop, but for
larger, more complex sites, it might be necessary to actually code the
wireframe into HTML so the client can click around to check everything
is in the right place.

Working from the sitemap and wireframe, you and the client get
together to start planning the content – specifically the text. Content
planning and writing is probably the biggest workload the client will
have during the project – and it can really take some time.

Whilst all this is going on, the designer can be working on the base design – the homepage and main sub-level pages.

When the base design is ready, the client needs to check that you
are heading in the right direction and suggest adjustments to the
design accordingly.

…which will probably involve going back and tweaking things…

…until everyone is happy.
This process of work-feedback-rework is repeated at
various stages in the project. Besides preparing the content, this
confirmation process is also one of the main responsibilities of the
client.

Once the base design is agreed on, you can start working on the layout and design of each of the individual pages of the site.

And once again they are checked, reworked and then finally confirmed.

You can then begin to build the actual HTML pages…

…and the CSS (I guess I could have put that all in one step, but I really like the little robot guy).

Feedback again. You and the client work together – work-feedback-rework – to polish and tweak things until you have a completed site.

The final stage of production is the debug. The site needs to be
tested across all platforms to iron out any technical problems, and
checked thoroughly for content errors. Naturally, throughout the HTML
& CSS development stage you should be checking cross-browser
functionality anyway but you definitely need a big check at the end too – one that you actually set aside a decent amount of time for.

The picture says “The End” – but of course you don’t just grab the
cheque and run for the door – you need to watch the site for at least
around 10 days or so after launch in case of problems, and if necessary
fix things.
Powered by ScribeFire.