PHP Language and its Benefits

Posted by Bhavesh Joshi On Friday, May 27, 2011 0 comments
PHP Language and its Benefits
PHP is a server side language that can be used in web browsers. PHP was developed by Rasmus Lerdorf in 1995. It has many benefits that range from workload, to alloying dynamic content. PHP can be embedded into regular html code, just like JavaScript and CSS, if you change the file's extension to php.

It allows a developer to perform more complicated operations possible within the web environment. Because PHP is server side, it offloads much of the computations from a visitor's web browser, to the internet server.

PHP is a flexible language, and some people prefer to Place the PHP construct directly next to PHP code, like this:
             Hello World. Today is. How are you? 

The Point is that with PHP, web developers have a scripting language that although not as fast as compiling your code in C or a similar language, is incredibly speedy and that also integrates seamlessly with HTML code. 

The visitor's computer is not required to do much of the processor-intensive work. This allows a page to load many times faster than it generally would. In addition, the language is highly optimized, so it does not put a strain on the server hosting the website. PHP is also must cheaper to find hosting because it is open sources, unlike ASP.NET, Visual B.asic.net, and Java.

PHP allows for more centralized data, which allows date to be easily stored in databases. PHP also gives developers much more freedom to create light, feature rich web sites that reuse common elements while still being connected to extended data sources. Being able to store data in databases in tern allows a developer to create dynamic content that can be changed easily without rewriting the entire website.

PHP is executed exclusively by the server and therefore requires nothing from the end user. While servers must have PHP installed, developers would not use the code on servers unable to implement it.

Using PHP, you have unlimited control over you web server. Whether you need to modify your HTML on the fly, process a credit card, add user details to a database, fetch information from a third party web-site, you can do it all from the same PHP files in which the HTML itself resides.

Finally, PHP is very important language, plays unique role in web-page creation…
READ MORE

C++ vs. Java Language

Posted by Bhavesh Joshi On Wednesday, March 23, 2011 0 comments
C++ vs. Java Language
C++

C++ is a popular programming language. It was first developed by Bjarne Stroustrup (a computer scientist) in 1979 at Bell labs. In 1983, it was named ‘C++’. It is literally refers to modification of the C language. C++ is very simple and efficient language. It is considered as middle level language. It comprises combination of both high level and low level language features. It is based on object oriented programming language (OOP) as OOP is based on our daily life activities. 


Java
Java is a computer programming language developed by James Gosling at Sun Microsystems and appeared in 1995. Java is high-level object-oriented programming language. Java is advanced efficient language. It can be used to create video games, interactive web-pages, really anything that is loosely coded. The origins of the name 'Java' is not clear as all texts are dissimilar about Java. 


C++ vs. Java
If you are into programming and computer science, you no doubt have been exposed to C++. The industry standard is C++ because of its easy expandability and because it is a difficult language to learn when you get into memory management. Many teachers favor it in college, with the attitude of "once you have learned C++, you can learn anything else because everything else is easier." Many everyday applications people use have been programmed in C++.

On the other hand, Java is very object oriented, and offers one thing that helps with the dreaded memory management issues of C++. Java includes a "trash collector" that takes the tedious task of worrying about memory off of the programmer. Many Java critics claim that Java is a bad language to use, because of its slow speed. This may have been the case when Java was first introduced, but with latest releases Java has been proven to run almost as fast as the same application made in C++. Java also includes many packages that aid in graphics coding. In order to achieve these things in C++, you need to fool around with the internal GUI, or learn different languages such as DirectX or OpenGL to accomplish what is already included in Java.

The choice still comes down to the coder. If they prefer a language that is used more they can choose to code in C++. If they want to offload difficult tasks and focus on graphics and GUI interfaces, they can choose Java.

Similarities of Both (C++ & Java): ---

Both have certain similarities. The most remarkable are:

1. Object-oriented programming

Both are based on OOP

2. Portability

You can practically compile the same both (C++ and Java) codes in almost any type of computer and operating system without making any changes. Both are the most used and ported programming language in the world.

3. Shortness

Codes written in both are very short in comparison with other languages, since the use of special characters is preferred to key words.

4. Speed

Speeds of C++ & Java are marvelous as compilation speed is very better.

Finally both are beneficial languages plays an important role in computer programming...
READ MORE

Introduction of UNIX

Posted by Bhavesh Joshi On Wednesday, February 16, 2011 0 comments

Unix

Pronounced yoo-niks, a popular multi-user, multi-tasking operating system developed in the 1960s at the bell laboratory. Created by just a handful of programmers, UNIX was designed to be a small, flexible system used exclusively by programmers. UNIX is a highly programmable language (an operating system) and still regarded as one of the most powerful, versatile, and flexible operating system (OS) in the computer world. UNIX Systems have Graphical User Interface (GUI) facility like Microsoft Windows which to easy to use. The most famous varieties of UNIX are Sun Solaris, GNU/Linux, and MacOS X.

It was designed for a programmer not for a casual end-user. A programmer can easily operate UNIX operating system.

Multi-tasking Facility
Many computers do just only one thing at a time, as anyone who uses a PC or laptop can attest. But, on the other hand, UNIX lets a computer do several things at once, such as printing out one file while the user edits another file. This is a major feature for users, since users don’t have to wait for one application to end before starting another one.

Multi-user Facility
The computer can take the commands of a number of users, determined by the design of the computer to run programs, access files, and print documents at the same time. This is the best facility of UNIX.

It has fast speed with respect to others and it is mainly divided in three parts as follows -
1. The Kernel
2. The shell and
3. The programs

The Kernel
It controls the hardware and turns part of the system on and off at the programmer’s command. If you ask the computer to list all the files in a directory then, the kernel tells the computer to read all the files in that directory from the disk and display them on your screen.

The Shell
Shell is used to act as an interpreter between the user and the computer as its purpose is same like Kernel. There are several types of shell as most notably the command driven Bourne Shell, the C Shell (no pun intended), and menu-driven shells that make it easier for beginners to use.

The Programs
There are hundreds of programs available to UNIX users. Typically, they are grouped into categories for certain functions, such as word processing, business applications, or programming.

The main features of UNIX are—
• Multitasking capability
• Multiuser capability
• Portability
• UNIX programs
• Library of application software

Finally, UNIX is the best operating system, very admired as today it is using by billions of peoples…
READ MORE

Introduction of C Language

Posted by Bhavesh Joshi On 0 comments

Introduction of C LanguageC language is the first language of the PC system which was developed between 1969 and 1973 by Dennis Ritchie at Bell Telephone Laboratories. The primarily development of ‘C’ occurred in AT&T Bell Laboratories. In 1978 Brain Kernighan and Ritchie printed a definitive description of the language observed to as K & R version of C. Various C compilers and interpreters had been written for various operational systems. This created some minor incompatibilities among totally different implementations of the language. That's reason, the ANSI (American National Standard Institute) worked on a typical (standard) version of C language.
C has diverse data types for diverse types of data and can be broadly classified as:

1. Primary data types
2. Secondary data types

These above broadly classified data types are well illustrated at below Image…

C Data Types

C is an all purpose programming language. It is equally suitable for generating higher level applications and lower level applications. C language encourages the users to write their own library function so that they can extend the features of the language and C program can be executed on any type of computers. The program written in C language can be converted into machine language more efficiently. Computer games can be generated in C language which is accomplished through the usage of sound graphics. Both low and high level programming can be done in C language. C language is the address manipulation which can be done through the usage of pointers. C is simple, fast, and efficient, the first stage for a programmer. C is close to hardware.

Why we have a tendency to use C firstly?

In today’s world of computer languages, there are several high-level languages to decide on from, like Pascal, BASIC, and Java. However C stands excluding of these languages. This is often owing to its several fascinating qualities. It's a strong language whose wealthy set of constitutional functions and operators is wont to write any complicated logic program. The C language compiler combines the capabilities of an occasional (low) level language with the options of a high level language. so the language is appropriate for writing each system code still as business packages & different code. You'll several compilers offered within the market written in C.

The general way to write program in ‘C’ as-

void main ()
{
   printf (“Hello”);
   getch();
}

Here, output will - Hello

Through this way, programs can be written in “C Language”. Programs are of several types in ‘C’ as switch case programs, array programs, pointer programs, functions programs etc. All have different uses on different places.

Finally, C is the primary common language of Computer System…
READ MORE