Showing posts with label Web Developer's Guide. Show all posts
Showing posts with label Web Developer's Guide. Show all posts

Wednesday, 14 May 2014

Following information may be recorded for security purpose:

Post by; Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Following information may be recorded for security purpose:

Your IP Address - 103.10.197.218

Your Browser - Google Chrome 34.0.1847.131 on Windows

Your Location : Hong Kong

Enjoy Online Compilation

Just follow the following simple steps to compile and execute any of your favorites programming languages online using your favorite browser and without having any setup on your local machine.
  • Step - 1 Select your favorite language which you want to execute.
  • Step - 2 Type your source using available text editor.
  • Step - 3 Finally click compile  button [ Ctrl+E on Windows & Command+E on Mac ] to see the result.
NOTE: If you do not get result, then kindly try clicking compile  button once again.

Advanced Functionality

  • If you are willing to provide input to your program then use input.txt to give input to your program. Internally you will need to read this input.
  • If you know how to use multiple files to implement packages, modules etc. in your favorite language then you can enable multi-file support using available checkbox.
  • If you are willing to provide command line arguments to your program then use below mentioned input box to specify your command line arguments.
    <!DOCTYPE html>
    <html>
    <title>Web Page Design</title>
    <head>
    <style type="text/css">
    div
    {
       width:100px;
       height:75px;
       background-color:red;
       border:1px solid black;
    }
    #div2
    {
       transform:rotate(30deg);
       -ms-transform:rotate(30deg); /* IE 9 */
       -moz-transform:rotate(30deg); /* Firefox */
       -webkit-transform:rotate(30deg); /* Safari and Chrome */
       -o-transform:rotate(30deg); /* Opera */
    }
    </style>
    </head>
    <body>
    <div>Hello, World!</div>
    <div id="div2">Hello, CSS3!</div>
    </body>
    </html>

Posted By MIrza Abdul Hannan3:43:00 pm

Web - Site Popularity and Web - Free Graphics

Post By; Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Web - Site Popularity
ou design a web site and developed it and finally hosted it. Now just think how many site visitors know about this site address and related service.
So if you want to make your site a success then actual work starts after hosting your web site successfully. This includes following actions but to gain popularity is not limited to these actions.
  • Search Engine Inclusion: First step, you should go and include your web site in various search engines like google, yahoo and msn etc. Never trust on automated software to include your site in search engines. There are many fraud companies in this business so be away from them and don't waste your money.
  • Open directory inclusion: This is another way to make your site popular. There are many open directory projects like dmoz.com and yahoo.com etc where you can include your web site to get attention from net surfers.
  • Google Adwords: This is paid program from google where you can register and you can pay based on number of clicks on your web site link or based on number of page impressions.
  • Advertising Programs: If you have big budget then you can go for higher resources like TV ads or News paper or magazine adverting programs. They are most effective and expansive as well.
  • White papers and Article: If you write white papers or articles then you can include your web site link in those white papers or articles to get more traffic on your site.
  • Site Link Exchange: There are many sites including my site, who do site link exchange. So you will keep their site link at your web site and they will keep your site link at their site. This is for then mutual benefit of site link exchangers.

Web - Free Graphics
Let me first tell you that graphics is very important part of any web site. If you have time and talent to design your web graphics then its great. This does not only require time and talent to have web graphics but you need to spend some amount of money as well to buy good graphics software like Paint Shop Pro or Adobe Photoshop etc.
However if you are not blessed with an artist's hand and you don't have money as well to spend on buying graphics software then Internet is the heaven and you should appreciate thousands of graphics designers who have created free web graphics for you.
We also have listed tones of Free Graphics for you which you can use in your web site. You will find it here Free Web Graphics. A sample page is also given here.

Beautiful Flowers Clipart

• Click on any image, it will display you bigger an image
• Right click on image and select "Save Image As" to save image on your PC

Posted By MIrza Abdul Hannan3:30:00 pm

Web - Site Backup And Web - Site Statistics

Post By; Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Web - Site Backup
Your server's hard drive crashed. Your site is hacked and hacker was kind enough who deleted all your files. Your web host disappeared with your money and your data. Even worst case there was earth quack and your ISP building is gone down and everything is lost.
Touch Wood!!! Nobody should face such a situation. But if you are not prepared for these situations, your hard work might be lost forever. That is why it is of the utmost importance that you keep regular backups of your data.
Now there are many questions :
  • How frequently backup should be taken?
  • Where this backup should be preserved?
  • What type of backup should be taken ?
  • Who should take these backup ?
Now let us answer these questions one by one:

How frequently backup should be taken?

If your site is not changing over a period of time then I will say take backup only once and keep it on your floppy or hard disc or data disc or DVD wherever you like. In case you need to restore it, just do it and see your web site up and running.
But if your site is changing over the period of time then it becomes very important to take regular backup. Web sites like amazon.com have very tight backup schedules and very expansive backup infrasturcture.
So it depends on your business and you have to see how much data loss you can bear. If you think it is not affordable to loss even a single day data then I would recommend to schedule daily backup and similarly you can decide if weekly or monthly backup are OK for you or not.

Where this backup should be preserved?

Most of the times backup is taken from one machine and put on different other machines or media. So if possible you should arrange a different backup server where you can FTP your complete data to be backup up. If this is not too much then you can keep it in floppy or data CD or DVD etc.
If possible, I would recommend to keep multiple copy of backup but with a very managed way to avoid any confusion. You should have a proper version control over the different backup.
There are many service providers who provide you different backup server with a very nominal cost and its worth to spend that amount on backup services.

What type of backup should be taken ?

There are two types of backup: incremental and full. This depends on what type of backup tools you are using. There are many backup tools like oracle provides their utilities to take different type of backup.
  • Incremental Backup - The backups controller compares the existing backup to the data that you wish to backup. If it is an exact match between the two, then no additional files will be backed up. However, if you have added or edited any file, these files will be updated in the backup, thus the incremental name.
  • Full Backup - Here all files are written to the backup, even if they already exist in the most current backup.

Who should take these backup ?

Simplest case is that you can login to your web server on monthly or weekly basis and copy all the web site related files on different computer or media. But this goes well if your site is having small amount of data.
If you have huge database and numerous files then it is difficult to manage such backups on everyday and weekly basis. So in that case you may need to have automated scripts to take this backup and to keep them at another machine or media etc.
You can write your shell script or perl script and go into different directories and collect all the files and zip them automatically, assign then a unique backup number and then ftp those files on a designated backup server or media like tap drive etc.

Conclusion:

So now you decide how do you want to take your backup but I will say if you are web site owner then its is your religion to take regular backup without a failure otherwise.....results are very serious

Web - Site Statistics
Your site is up and running. But this is very important for you to know who is coming on your site and what they using. There are following components which should be available to you.
  • Who is visitor ? You should have your site visitor IP address available with you to know the geographical location and identity of that visitor.
  • Visitors Timestamp: This is important to know what time most of the visitors are visiting your site so in case if you plan a server down then you can decide it very easily. Second timestamp and IP address will help you to identify your site visitor in case an investigation is required against a site visitor.
  • What visitor is using ? What pages did the site visitor view on your web site will give you an idea about the importance of various sections of your web site.
  • How visitors came ? This is another important information you should be aware of. How you are getting your site visitors. Are they coming directly or coming through some other web site or advertising program
  • How long stay ? - How long a site visitor is staying at your site. This is important for you to know this duration if visitors are leaving your site just after browsing 1 or 2 pages then you should think some way to retain them for long time on your site.
  • Visitors Browser : This information is important to improve your web site for that type of web browsers.

Statistics Programs:

There are many web sites who help you to find out all these information. You just need to keep a small piece of code in the <head>....</head> section of your web pages and you will have not only all the above mentioned information but also a complete analysis of your site.
  • You can try Googles Analytics Program to capture your web site statistics.
  • Another good program is Webalizer. This is will give you all the basic site statistics you need.
  • There is a site from sourceforge which gives you opportunity to collect your web site statistics. So you can try it as well AWStats.

Site Statistics Terminology:

There is a very basic terminology related to your web site statistics. Go through the following terms to become more comfortable with your site statistics report and analysis.
  • Unique Visits - The number of unique visitors you had for the given time period. Example: if there was only a single person who visited your web site, and visited 1,000 separate times in a day, the unique visits would just be one. The uniqueness is counted based on the IP address of the visitor.
  • Total Visits - The total number of visits including duplicate visits, that a web site receives in a given time period. Each time a site visitor reaches to your site it is counted one visit.
  • Page Views or Page Impressions - Each time a web page is loaded it is referred to as a page view. If you are counting a web site link available on this page then it will be counted as a page impression.
  • Hits - This is very similar to page views and will be counted every time a visitor will click any link related to your web site.
  • Direct Access : - This amount refers to the people who accessed your web site through their bookmarks or typed in your URL manually in the URL box of the browser.
  • Referrer & Referral URL - The web address where the visitor followed a link to reach your web site. For example if someone finds your web site in google search and click over the link then google will be referrer.

Posted By MIrza Abdul Hannan3:26:00 pm

Web - Ecommerce Hosting

Post By; Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Web - Ecommerce Hosting
Ecommerce is a way of doing business through Internet. Specially when you are selling your product or services through Internet then you are doing ecommerce.
So if you planning to put a web site which will have transactions likes buying or selling items or services then it means you are going to setup an ecommerce web site. If this is the case then I don't think this guide will help you upto a level where should be able to setup an ecommerce site because there are many more things which should be considered while setting up an ecommerce web site.
Still you can start from here : E-commerce hosting are bit expansive but they should not be treated as expansive that you can not start an ecommerce web site. Now a days it is very easy to set up an ecommerce site only thing is that just get in touch of any good service provider and start gathering basic information.
There many service providers who help you to setup your virtual store and charge you unexpectedly very low. Even now google also has started google account service in which you can sell your products through them and all the money will come in your account without any hassle.
While finalizing your ecommerce hosting setup, to avoid any future risk you should be very clear on how to handle the followings:
  • Customer Registrations
  • Customer Transactions
  • Product Catalogs
  • Customer Orders
  • Order Security
  • Server Security
  • Server Maintenance
  • Server Backup
  • Server downtime
  • Inventory Control
  • Shipment Methods
  • Payment Methods
  • Foreign currency
  • Credit Cards
  • Taxes issues
You should take this list and discuss it with your service provider as well to understand how they will support you to handle all these items.

Posted By MIrza Abdul Hannan3:23:00 pm

Web - Hosting Concepts

Post By; Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Web - Hosting Concepts
Web hosting means to put your web site content on a Web server. Hosting your web site on your own server could be an option. But this will become very much expansive unless you are hosting a site like yahoo.com or google.com. So this tutorials does not cover how to set up your own hosting server.
Buying a server space or renting a complete server from an Internet Service Provider (ISP) are most widely used options. This section guides you to choose a hosting type and makes you aware of other related concepts.

Hosting Platforms:

You can go for any of the following two most widely used hosting platforms:
  • Windows Hosting Servers : If you are a Windows lover then you will find many hosting servers running different flavors of Windows and you can buy space from these servers. NormallyWindows hosting server are more expansive because of lot of software incensing costs are involved with these servers
  • Linux Hosting Servers: If you want to go for Linux then opportunities are unlimited and they will have to pay less then what you will pay for Windows Hosting Server. There are many ISP who provides Hosting Servers with different flavors of Unix.

Hosting Types:

There are many options available and you can select any hosting type based on your requirement and budget. Following are most widely used hosting types:
  • Free Hosting: Yes, this is true there are many service providers who will give you free space on their web server with a condition that you will allow them to run their advertisement at your web pages. So if you are OK with this option then you have nothing to pay for a space. There are some web sites like geocities.com, lycos.com, myspace.com etc. who give you space to build your web pages.
  • Shared Hosting: With shared hosting, your web site is hosted on a powerful server along with other web sites. On a shared host you will have your own user ID and password to login to the shared host and you will be allowed to work in your work area. You would not be able to touch any file or directory belonging to other host partner. Even you would not know how many sites are hosted on your shared host. This type of hosting is very cost effective and good for small web site where your space and speed are not very important. Here traffic on one site will affect the speed of all other hosted sites.
  • Virtual Dedicated Hosting: This type of hosting is better for medium size business. With virtual dedicated hosting you will have a dedicated bandwidth and dedicated RAM for your site. You will be given root ID and password to maintain your Web server. You will be complete owner of your virtual dedicated server and will be able to install or de-install any software. This type of hosting is created on a single server but it is managed in such a way that every user will have dedicated speed and bandwidth. This is bit more expansive but really good one for medium size business.
  • Dedicated Hosting: This type of hosting is very similar to virtual dedicated hosting but here complete machine will be allotted for you. They are more expansive than virtual dedicated hosting and should be considered when you have a very high traffic requirement.
  • Collocated Hosting: This is very difficult to set you dedicated resources like high-security against fire and vandalism, regulated backup power, dedicated Internet connections and more. So collocation is the option which allows you to put your machine in a service provider's premises to avail all the available facilities. This is also a very expansive option and should be opted when you have very high traffic requirement.

Hosting Components :

When you buy a Web server space then you should be clear about the follows. You should do price comparison between different service providers based on the following components:
  • Disc Space: A small or medium web site will need between 10 and 100MB of disk space. If you plan to keep lot of audio and Video on your web site then you need plan to buy more space. Before buying server space you should check the options available to expand your disc space if you need it in future.
  • Monthly Traffic: A small or medium web site will need between 1GB and 10GB of data transfer on monthly basis. If you plan to keep lot of audio and Video on your web site then you need plan to look for more data transfer capacity. Check different options based on your requirements. What are other options available in case you cross the given data transfer limit. Your site should not be stopped in case you reach to the given limit.
  • Processing Speed: If you are buying space on a shared machine then you can not guess how much speed will be given to you. In that case only way is to see other hosted sites with the same service provider to know about their hosting quality. But if you are buying virtual dedicated server or dedicated server then you should consider how much RAM is being allocated to you. Your pricing will depend on the given processing power to you.
  • Connection Speed: Now a days very fast connection speed is available from most of the service providers. So choose a service provider who is giving better connection speed in terms of bits per second. You can have connection speed ranging from 64Kb per second to 2.488Gb per second.
  • Email Accounts: Make sure you are going to get sufficient number of e-mail accounts. There are many other options available which come along with your e-mail account. Like, will you get IMAP, POP and E-mail Forwarding options available along with your e-mail facilities.
  • Emailing Support: Apart form having email accounts it is also very important that your web server should have a facility to send emails from back-end. In case your site visitors want to contact to you using a form provided by you then you will be able to use that emailing facility to send email to your designated account. In simple terms you should make sure that SMTP Server is setup and working on your Web server.
  • Latest Technologies: You should make sure that your web server is equipped with all the latest technologies. It should have latest version support for PHP, PERL, ASP and JAVA etc.
  • Databases: There are many databases available MySQL, Oracle, SQL Server etc. So you should choose your server based on your database requirement. If you are buying space on a shared server then you need to verify how much space will be allocated for your database. Many ISP does not give more than a limited space for databases. So if your site needs lot of database size then you should go for virtual dedicated server.
  • Server Uptime: This is very important to buy a web server from a reliable and reputed ISP. You should make sure your ISP is giving you 99.99% server uptime. If there is server down then there are many service providers who gives you compensation in case your sites goes down more than a limited time.
  • Backup & FTP: Make sure your Service Provider is giving you or more ways of taking regular backup of your web site. If your site is changing everyday then it becomes very important that you should take regular backup of your web site. Many service providers do it on your behalf but they charge very little cost for this service.
  • Control Panel: Just make sure what type of facilities you will get to maintain your hosting account. If your service provider is providing your an easy to use control panel or some other similar tool. Using a control panel you should be able to maintain basic operations related to your web site specially like log your service request, your reboot request or any other problem.
  • Customer Support: Before finalizing a deal with your service provider you should make sure they will provide your required support. You can get this information using Internet forums or from your friends. There are many service providers who give you 24x7 support for any technical or non technical problem.

Posted By MIrza Abdul Hannan3:21:00 pm

Web - Site Construction

Post by: Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Web - Site Construction
Now you are ready for a web site construction. Before proceeding ahead you have to take many factors into consideration. I can not list out each and everything but I have described major factors in this tutorial which will help you to have a better web site:

What to put on your web site ?

This totally depends on your business and nature of your web site. Here is a list of pages that you might want to create for your web site.
  • Attractive Home Page : Always required for every web site.
  • List of Product and Services along with complete detail.
  • Complete Pricing Information.
  • About your company and nature of business including your achievements.
  • About your staff and if possible their experience.
  • Your complete contact information.
  • Frequently Asked Questions.
  • Success Stories and Feedback from Customers.
Finally, make your site useful and interesting for your customers. Your site visitors are your customers and they should find each and every thing they are looking for. Customer satisfaction should be prime concern.

How to design your web site ?

You should not simply start developing your web site otherwise you will end up with a bogus web site. First you should put a complete plan and your design on a paper or in an electronic document.
Here are few points which can help you to design a better web site:
  • Consider what technology you are going to use to develop your web site. Adopt one which gives you better flexibility and rapid development opportunities and then design it accordingly.
  • Design a generic framework so that in future you can enhance and modify your web site by putting minimal effort.
  • Design a site to keep required performance in your mind. If you are designing database driven web site then lot of effort has to put to design good database schemas.
  • Keep your design as simple as possible so that any new developer should become familiar with your design as soon as possible.
  • Identify repeatable components of your web site and then keep them separate and try to use them wherever possible.
  • Identify the nature and qualification of your site visitors and give importance to look and feel accordingly.
  • Think in a way, if you are a site visitor then what and how would you like to see this web site? If same site belongs to somebody else then would like to spend some time on such site ?
  • You should create a search engine friendly web site.
  • Once again....your presentation should be unique and attractive otherwise there are lot of web sites available on the Internet and it will be difficult for your to retain a site visitor for more than a minute.

How to make web site interactive ?

Many statistics shows that if you are able to retain your site visitors for a long time then they do bigger shopping and comes again and again.
So make sure you have done something for your site visitors to do on your web site. Though offering a lot of quality information can also serve as a great visitor magnet and will generate more repeat visits. Here is a list of interactive tools you can add to your web site completely FREE and without any programming skills:
  • Poll
  • Forum
  • Guest book
  • Chat room
  • Greeting cards
  • Tell-a-friend about this site
  • Feedback form
  • Live customer service
  • Daily joke or daily cartoon
  • Daily news headlines
  • Site Search Engine
  • Mailing List
  • Automated Frequently Asked Questions
The list can go on and on, depending on what will attract your type of visitors.

How to code your web site ?

Finally, when you start coding for your web site you should be well aware of the following tips for a better web site:
  • You site should meet all the quality requirements defined by W3C. Today we are using XHTML to develop any web site. XHTML is just a cleaner version of HTML.
  • You should keep validating your source code using W3C Validator.
  • Keep your source code very clean and understandable.
  • Do use appropriate comments but avoid using to many comments inside HTML files.
  • Keep your style sheets and JAVA or VB scripts into separate files and then include them where ever is required.
  • Do not use to much graphics in your web pages.
  • Try to keep your web pages static instead of generating them dynamically.
  • Make sure there is no broken link on any web page.
  • Test your developed web page in major browsers like Internet Explorer, Firefox, Mozilla, Netscape etc.
  • Test your all the scripts for all the possible scenarios. Do not host any page without complete testing.

How to create search engine friendly web site ?

This is very important for you to make your web site search friendly otherwise you will be away from a large chunk of your customer base which comes from search engines like google and yahoo.
This subject is so important that we have put a complete tutorial on Search Engine Optimization and I will strongly recommend you to go through this tutorial before your start developing your web site.

Securing your source code frequently:

While developing your web site it is very important to keep a backup of your complete source code. Many times it happens that you may delete any file by mistake so if you are keeping its backup then you can restore previous file and start doing your work.
This is a very good practice to take backup on hourly basis or at least on daily basis. Keep this backup on different machine or media. This is very likely that machine may crash anytime and it will result in a very serious situation if you are keeping your backup on different machine or media.

Posted By MIrza Abdul Hannan3:20:00 pm

Web - Domain Names

Post By; Hanan Mannan
Contact Number: Pak (+92)-321-59-95-634
-------------------------------------------------------

Web - Domain Names
A domain name is the part of your Internet address that comes after "www". For example, in www.tutorialspoint.com the domain name is tutorialspoint.com.
A domain name becomes your Business Address so care should be taken to select a domain name. Your domain name should be easy to remember and easy to type.

How to get a domain name ?

When you plan to put a site online, this is one of the important steps to buy a domain name. This is always not necessary that whatever domain name you are looking that is available so in that case you will have to opt for any other good domain name.
When you buy a domain name it is registered and when domain names are registered they are added to a large domain name register, and information about your site - including your Internet IP address is stored on a DNS server and your contact information etc is registered with your registrar.
You can buy domain name from any domain registrar like GoDaddy.com etc.

Domain Extension Types:

There are many different types of domain extensions you can choose for your domain name. This depends on your business nature. If you are going to register a domain name for educational site purpose then you can go for .edu extension. Below is a reference of the correct usage of certain extensions. But there is no hard and fast rule to go for any extension. Most commonly used is .com
  • .com - Stands for company/commercial, but it can be used for any web site.
  • .net - Stands for network and is usually used for a network of sites.
  • .org - Stands for organization and is supposed to be for non-profit bodies.
  • .us, .in - They are based on your country names so that you can go for country specific domain extensions.
  • .biz - A newer extension on the Internet and can be used to indicate that this site is purely related to business.
  • .info - Stands for information. This domain name extension can be very useful, and as a new comer it's doing well.
  • .tv - Stands for Television and are more appropriate for TV channel sites.
Newer domain extensions such as .biz .info and .us etc. have more name choices available as many of the popular domains have yet to be taken and most of the them are available at very nominal prices.

Choosing Domain Name:

This is very important step to name your web site. As I have told you that your domain name will be your business address so very much care should be taken while choosing a domain name.
Many people think it is important to have keywords in a domain. Keywords in the domain name are usually important, but it usually can be done while keeping the domain name short, memorable, and free of hyphens.
Using keywords in your domain name give you a strong competitive advantage over your competitors. Having your keywords in your domain name can increase click through rates on search engine listings and paid ads as well as make it easier to Using your keywords in get keyword rich descriptive inbound links.
Avoid buying long, and confusing domain names. May people separate the words in their domain names using dashes or hyphen. In the past the domain name itself was a significant ranking factor but now search engines have advanced it is not very significant factor anymore.
Keep two to three words in your domain name it will be more memorable. Some of the most memorable web sites do a great job of branding by creating their own word. Few examples are eBay, Yahoo!, Expedia, Slashdot, Fark, Wikipedia, Google...
You should be able to say it over the telephone once and the other person should know how to spell it and they should know what you sell. If you can do that AND work keywords in there, good for you. If you can't, skip the keywords.

What are Sub Domains:

You can divide your domain into many sub domains based on your requirement. If you are doing multiple business using the same domain then its worth to use sub domain for every business. Following are examples of sub domains
You must have seen http://www.google.com as a main domain but google has created many subdomains based on their business. Few of them are as follows:
  • http://adwords.google.com - This sub domain is being used for Google Adwords.
  • http://groups.google.com - This sub domain is being used for Google Groups.
  • http://images.google.com - This sub domain is being used for Google Images.
This way you can present your different business sections in a very good segregated way. This is not a big thing to create a sub domain. If you already have registered a domain your registrar will provide you a way to create your sub domains. You may need to talk to your registrar for more detail.

Posted By MIrza Abdul Hannan3:18:00 pm