Sunday, March 2, 2008

Embedded web server-more than just an operating system

Embedded web server isn't new term. Web server is jus a method of delivering web pages (or other contents) to the user. Market is full of such systems allowing interconnection of domestic devices and other web-enabled appliances. It is hard to understand how microcontroller can drive web server. Embedded web server usually is highly optimized machine code. Usually implemented in the C language. In order to write optimized embedded web server it is necessary to write code from scratch. What parts need to be implemented while creating embedded web server:; Microcontroller hardware; Network protocols for embedded web server; Implementation and optimisation techniques. Microcontroller hardware is a computer on a chip which has program memory for code storage, EEPROM, RAM, I/O and other peripherals. Network protocols can be used for embedded web server: HTTP-document request/response TCP-reliable communications IP-low-level data transport ICMP-diagnostics (ping) SLIP-serial interface Modem emulation HTTP request is Hyper Transfer Protocol which defines a request - response mechanism for obtaining documents from web server. Web browse sends request to web server in multiline string format like: GET /index.htm HTTP/1.0 User-Agent: Mozilla/4.5 [en] (Win95; I) Pragma: no-cache Host: 10.1.1.11 Accept: image/gif, image/x- xbitmap, image/jpeg, */* Accept-Encoding: gzip Accept-Language: en Accept-Charset: iso-8859-1,*,utf-8 In embedded systems all this information isn't needed. For instance we don't care about browser information, HTTP version isn't important because usually simplest HTTP interface is used. Simply you can trim the rest part of message and send line: GET / HTTP/1.0 because most web servers interpret this as request of index.htm.

Http://www.scienceprog.com - embedded related info. Scientific, embedded, biomedical, electronics articles. Interesting electronics and embedded projects

Labels: , , , ,

Sunday, February 3, 2008

Update Your Entire Website Instantly Using Server Side Includes

Imagine my plight... I have 100+ pages on my website and I have to change my e-mail address and the copyright info on all the pages. The reason...

My mail box is over-flown with junk mails.

My only option is to edit all my web pages offline and then upload each one of them again, not to mention countless errors I make in the process.

100+ pages is still a small website. Imagine what it will be like if my website had 1000+ pages?

Sounds scary right?

If you would like to avoid the kind of mess I'm in right now, you have one option. Start using "Server Side Includes (SSI)"

In technical jargon, Server Side Includes are directives which you can place into your HTML documents to execute other programs or output such data as environment variables and file statistics.

If your only intention is to manage your website more effectively and painlessly, it is more than enough if you learn one "Directive" of SSI - the "Include" directive.

In simple terms, SSI Include is a line of code which you can use in your HTML documents to include contents from other documents. In other words, change just one file (the Include file), and your ENTIRE SITE is instantly updated!

The basic syntax of an Include directive is:

Where PATH_TO is the "VIRTUAL" path to include file on your server.

Here's how to include your copyright info and navigation links using SSI Includes...

First, you need to check with your server administrator whether your server supports SSI or not. Most servers support them.

Second, you need to rename all your HTML files with extension .shtml

-----SIDE BAR-----
You can start with one file and if everything goes fine, rename rest of the files. -----SIDE BAR-----

To keep things organized, you can create a directory at the root level called "includes" to house all of your included files. Now create a HTML document with only your copyright and navigation links. Copy everything that is between the BODY tags of this document and paste it in a new file.

Save this file as nav.html or any name you like with extension .htm or .html. You need not save this file with .shtml extension. Now upload this file to your "include" directory which you created for housing SSI Includes.

To include copyright info and navigation links in a HTML document in your SITE ROOT, place the following code where you want the copyright info to be seen:

Now if you want to include copyright info and navigation links in a HTML document in a folder UNDER your site root, the code will change to:

...and so on.

If you want to change or edit your copyright info or navigation links, just edit and upload your nav.html file and the change will be reflected in all the documents (using the "Include code") instantly!

You can also create your website headers/footers using SSI Includes.

There are host of other cool things you can do with SSI. For more info on SSI, you can visit the following sites:

http://www.useforesite.com/tut_ssi.shtml http://wdvl.com/Authoring/SSI/Intro/index.html http://www.bignosebird.com/ssi.shtml

Vishal Rao publishes an informative e-zine: iNet Profits. Subscribe to his e-zine and get his free e-mail course: "11 Killer Strategies To Explode Your Online Profits", by sending a blank e-mail to => sub@inetprofits.par32.com

Labels: , , ,

Thursday, January 17, 2008

Dedicated Hosting Servers

Dedicated hosting servers are specialized computer servers or storage units that are stationed somewhere away from or at your office. They are extremely helpful in that they can hold and operate datat that you need for a given website or application, without slowing anything else down. One can understand the significance of the cyber technology that has become a crucial part of our daily lives. There has been a major increase in the number of Websites. Jobs that were dependant on the physical presence of the customer or the client in an office or service center can now be done over the Internet. Dedicated servers offer faster processing and more disk space and RAM than shared hosting. A dedicated server not only allows an individual or user to customize and individualize settings for their unique requirements, it also augments all kinds of Web-based works with faster delivery and maximum performance.

There are many Web hosting providers who have quality operating system servers to ensure the proficiency of your business and the necessary programs to run it. The most trustworthy are those who provide a Linux operating system. For the past few years there has been a gradual shift from Microsoft Windows operating systems to Linux. This is because Linux has a certain number of advantages compared to Windows. For one, Linux is far less likely to be infected by a virus. Getting a Linux operating system can be of immense benefit to the concerned individual who wants to set up his or her own business on the Web.

Dedicated Hosting provides detailed information on Dedicated Hosting, Dedicated Web Hosting, Dedicated Hosting Servers, Dedicated Web Server Hosting and more. Dedicated Hosting is affiliated with FTP Site Hosting.

Labels: , , , , ,

Tuesday, November 27, 2007

Dedicated Server: A Smart Choice for Web Site Hosting by www.vipwh.com

Hosting your personal or business web sites on your own dedicated server may seems expensive choice in comparison to shared web hosting, but at the end, it proves a smart choice. Shared web hosting, no matter how well managed, cannot be 100% reliable and stable. However if you have your own dedicated server you can manage to avoid most of the variables affecting the reliability and stability of a server, commonly experienced by shared hosting accounts; variables such as: overload, bad codes and scripts from other users (especially beginners); and, too many applications and components uploaded, and so on.

On a dedicated server you will install only software and applications you want to use, while on a shared hosting server you will find a host of other software and applications installed for other users.

By the very nature of the account, a dedicated server: reduces your dependency on the web host; and bypasses time delays and possible expenses incurred from these. With dedicated server hosting you can provide instant support to your own clients whenever required, which is not possible if you are on a shared server. A reliable and fast support service is vital for your own business growth just like the stability and reliability you wish for your own website. In business, reliability is reflected through word-of-mouth as one of the most effective promotional activities.

For people with clients, such as Graphic Designers and Web Designers a dedicated server is invaluable. A dedicated server will bring extra income into the studio, not just as a hosting facility, but, as a designer knows only too well, for the extra bread and butter income value. If you have 24hour access to your own dedicated server then you can adjust, correct or update a clients website in minutes, allowing you to keep the dollar back in your studio and not in someone elses. Ready availability results in reduced labour costs for the client, but higher studio-income frequency for the designer. Hence you will see the return of all your regular offline clients, bringing their web work with them.

The need for a dedicated server to your average shared server user is realized when stats tell you: how quickly people left your site because it was taking too much time to download; or how many daily visitors you are down by, because your site was not up. The true negative is the worry of how many lost visitors could have been your future paying-customers. The loss could easily equal the value of the upgrade to a Dedicated Server!

For a business, a website that is quickly downloadable and up all the time gives the visitor encouragement that your service is just as reliable, hence you will be more likely to make a sale. It will also enhance the companys image and encourage existing customers to refer your service to others. This will result in more sales for less promotion.

If you are serious about your online presence you need to get a Dedicated Server.
Paras Shah
Chief Technology Officer
VIP PowerNet, Inc.
Ph: (713)787-6501
Email: paras@vippowernet.com
http://www.vipwh.com
http://www.vippowernet.com
http://www.thehostingguide.com

Labels: , , ,