|
just another regularban.info web blog |
| MEMBERS: | The Beginners Guide to PHP
What Is PHP? The full form of PHP is Hypertext PreProcessor and is a server-side scripting language. The PHP code can be combined with regular HTML tags and parsed on the server. The creator of PHP, Rasmus Lerdorf first displayed the language in the form of a Perl script . In 1997 it was adapted by Andi Gutmans and Zeev Suraski to use a C-written compiler. They completely reconstructed the original PHP into the web language that we know and use today. Uses of PHP It is used in the creation of dynamic web pages. Web developers like it because of its fast parsing and flexibility and versatility. PHP is a popular tool for managing a form's data after it is submitted and comes built in with many different interfaces and API's. It has database capability built into the language, the most common database being MySQL. Typically the PHP can connect to any SQL enabled database. The Syntax of PHP is similar in structure to Perl and C where curly braces { } define blocks of code and semi-colons specify the end of a statement PHP is as easy to learn as Perl. It maintains all the traditional loops, if/else, and subroutines that are expected in a programming language. One difference between the two is that the code'?' is embedded in with the HTML; you could however, use a separate file. The PHP code is different from HTML code by use of the opening and closing tags. When it finds a PHP file, it tells the server to scan through for these tags, and execute the code in between them. The server recognizes a PHP enabled file by its extension, .php. These are essentially HTML files with PHP codes in them. Getting Started To start PHP requires a server with PHP installed and a simple ASCII text editor such as Notepad or VI, eMacs, Kate, etc. for a UNIX/Linux machine. What are the problems faced by PHP? It is case sensitive. For example if you name a variable $MyVar, you cannot call it as $myvar or $mYvAr. In case you forget to close your curly brackets, then it helps to indent lines inside the curly braces so that any missing braces can be spotted easily.
Website Development - Should You Use A 'Splash Page' For Your Website?
Some people say that using a splash page as your home page is a bad idea. And that's true. You shouldn't use a splash page as your home page for search engine optimization purposes. Search engines love content, and having a splash page as your home page defeats your purpose of ranking well in the search engines, if that is one of your goals. A splash page actually is a good idea - if you don't use it as your home page. For example, a splash page on a traffic exchange is an excellent strategy and it's actually one of the best ways to eke out results from traffic exchanges. You can set your splash page as an extension. For example, yourdomain.com/splash.html. Then use that for appropriate marketing channels. A splash page works well to get a visitor interested in a site because it's consistent two-step marketing. Get someone to do something, and he is likely to follow-up on whatever you tell him to do next! So go and create a simple splash page now and use it for marketing channels like traffic exchanges, classified ads, pay per click ads etc. Splash pages are uncannily effective when the situation calls for something less cluttered and more attention grabbing. For the traffic sources mentioned above, splash pages definitely fit the mold. Hire a graphic designer to create a snazzy graphic for you to use on your splash page. After all, the goal of your page is to capture immediate attention! You can even create a simple Flash movie or even include a video there.
Uses of Servers
Servers are systems which are used to manage computer networks. They are able to perform all kinds of activities and they could be dedicated to a particular job. For instance, a file server stores the files which contain data and information that belong to a certain network. An example of this would be Microsoft's Exchange Server, which is dedicated to handle business mails as well as other types of business communication. Another example would be multiprocessor servers that handle several tasks simultaneously such as managing mailboxes, storing data and other tasks. Servers have been basically created to be able to have better management of data. They make the whole process of information management faster and safer. However, there are also other applications for servers. These would include the provision of access to the Internet. A lot of people make use of a server, which has been provided by a company, which manages the availability of web connectivity and other services for them. This actually makes it a lot cheaper and easier to use so that we can stay connected online. Servers are also useful to manage official communication. Since virtually all offices today are running on LAN servers, companies are able to connect and manage all their computers centrally and conveniently. It also serves as a cheaper, simpler and safer method to keep everything well managed. Servers also permit remote access. If an individual has to access a computer in the main office and he or she is traveling, that individual can access the information that he or she needs from that computer using a computer at the current location which is also connected to the same server where the other one is connected to.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |