Breaking News

Link List

Friday, November 21, 2014

C TUTORIAL E-Book

                                  C TUTORIAL E-Book


I would like to express my special thanks of gratitude to my teacher Mrs.Anita mam  who gave me the golden opportunity to do this wonderful job to write E-book on C which also helped me in doing a lot of Research and i came to know about so many new things. I am really thankful to them. 

Secondly i would also like to thank my parents and friends subhash ,Vivesh who helped me a lot in finishing this project within the limited time. 



I am making this e-book not only for marks but to also increase my knowledge . 




THANKS AGAIN TO ALL WHO HELPED ME. 
you can follow me on Sunil Saini



You can Download E-book from here :-
C.pdf

                                             

For latest updates follow us on:-

                                                                                                                                   Subhash

Read more ...

C PROGRAM

                                C PROGRAMMING




C is a general-purpose programming language with features economy of expression, modern
flow control and data structures, and a rich set of operators. C is not a ``very high level''
language, nor a ``big'' one, and is not specialized to any particular area of application. But its
absence of restrictions and its generality make it more convenient and effective for many tasks
than supposedly more powerful languages.

                                                             Sunil Saini



Some Important pogramms In C

 

You can download it from the given link :- C programming


WE are happy to help you....!!!

YOU CAN FOLLOW US ON FACEBOOK  Twitter
Read more ...

Tuesday, November 18, 2014

Visual Basic

               Visual Basic





Introduction to Visual Basic

    Visual Basic is a programming language and development environment created by Microsoft.

    Visual Basic provides a graphical user interface GUI that allows the developer drag and drop objects into the program as well as manually write program code.

    Visual Basic, also referred to as "VB," is designed to make software development easy and efficient

Visual Basic 6.0

—1. Visual Basic is a programming language and integrated development environment.

—2. It derives from the much older BASIC programming language, and so is considered useful and easy programming language for the beginner to learn.
—3. Visual Basic 6.0 was the final edition of Visual Basic.


Feature Of visual basic 6.0
1. Learning Consists of all necessary tools required to build main stream Windows Applications
2. Professional Includes advanced features such as tools to develop ActiveX and Internet controls.
3. Enterprise In addition to all Professional features, it also includes tools such as Visual

Features of visual basic
GUI Interface

Modularization

Object Oriented

Debugging

Macros IDE

Data access feature

Guo Interface: - VB is a Graphical User Interface language. This means that a VB program will always show something on the screen that the user can interact with to get a job done.

Modularization: - It is considered good programming practice to modularize your programs. Small modules where it is clearly indicated what comes into the module and what goes out makes a program easy to understand.

Object Oriented: - Object Oriented Programming is a concept where the programmer thinks of the program in "objects" that interact with each other. Visual Basic forces this good programming practice.

Debugging: - Visual Basic offers two different options for code debugging:- Debugging Managed Code Runtime Debugger The Debugging Managed Code individually debugs C and C++ applications and Visual Basic Windows applications. The Runtime Debugger helps to find and fix bugs in programs at runtime.

Data Access Feature: - By using data access features, we can create databases, scalable server-side components for most databases, including Microsoft SQL Server and other enterprise-level database.

Macros IDE: - The Macros integrated development environment is similar in design and function to the Visual Studio IDE. The Macros IDE includes a code editor, tool windows, the properties windows and editors.
 


List of Some Solved Example :-
click here:
Visual basics




                        Vivesh Tyagi








for latest updates YOU can follow us on :- Facebook Twitter
Read more ...

Monday, November 17, 2014

Remove Windows.old folder in Windows 8 / 7


     Remove  Windows.old folder in Windows 8 / 7

 

 First you will need to take ownership of this folder, so at the command prompt, type

takeown /F C:\Windows.old\* /R /A
and hit Enter.
Next, in the command prompt, type
cacls C:\Windows.old\*.* /T /grant administrators:F



and hit Enter. When you run this command, administrators are granted full rights to all files and to all folders.
Finally, type
rmdir /S /Q C:\Windows.old\
and hit Enter. This will delete the windows.old folder.


 

 

Read more ...

COMPUTER NETWORKING

                          COMPUTER NETWORKING


I would like to express my special thanks of gratitude to my teacher Ravinder Swami sir  who gave me the golden opportunity to do this wonderful job to write E-book on Computer Networking which also helped me in doing a lot of Research and i came to know about so many new things. I am really thankful to them. 

Secondly i would also like to thank my parents and friends who helped me a lot in finishing this project within the limited time. 


I am making this e-book not only for marks but to also increase my knowledge . 

THANKS AGAIN TO ALL WHO HELPED ME. 
you can follow me on vivesh


You can Download E-book from here :-

password for ppt:-vivs





                                                                                Vivesh Tyagi

Read more ...

JAVA E-Book

                          JAVA TUTORIAL E-Book


I would like to express my special thanks of gratitude to my teacher Maninder Singh Bhui  , Ashish , Yogender sir  who gave me the golden opportunity to do this wonderful job to write E-book on JAVA which also helped me in doing a lot of Research and i came to know about so many new things. I am really thankful to them. 

Secondly i would also like to thank my parents and friends subhash ,sunil who helped me a lot in finishing this project within the limited time. 



I am making this e-book not only for marks but to also increase my knowledge . 

THANKS AGAIN TO ALL WHO HELPED ME. 
you can follow me on Vivesh Tyagi



You can Download E-book from here :-

                                             

password for ppt:- vivs










                                                                                                                                 Vivesh Tyagi 

Read more ...

Wednesday, November 12, 2014

Learn Java in easy way

                                     Beginning  Java

                                            

What is java

Java is a set of several computer software and specifications developed by SunMicrosystems, later acquired by Oracle Corporation, that provides a system for developing  application software and deploying it in a cross-platform Computing environment. Java is used in a wide variety of computing Platforms from embedded devices and Mobile Phones to enterprise Servers and supercomputers. While less common, JAVA APPLETS run in secure, sand-boxed environments to provide many features of native applications and can be embedded in HTML pages.
Writing in the Java Programming Language is the primary way to produce code that will be deployed as byte code in a Java Virtual Machine(JVM) byte code compilers are also available for other languages, including Ada, JavaScript,Python ,and Ruby. In addition, several languages have been designed to run natively on the JVM, including Scala, Clojure and Groovy.Java syntax borrows heavily from C and C++ but object-oriented features are modeled after Smalltalk and Objective-c Java eschews certain low-level constructs such as pointers and has a very simple memory model where every object is allocated on the heap and all variables of object types are references. Memory management is handled through integrated automatic garbage collection performed by the JVM.
On November 13, 2006, Sun Micro systems made the bulk of its implementation of Java available under the GNU General Public License (GPL).

Introduction to Java

First of all download JDK(Java Development Kit) on your computer, Clcik Here to download JDK and instal JDK on your computer

After installation click on start menu after that click on run and type cmd and press enter, Now open the folder where your java programs saved. For example suppose my programs are saved in java folder in c, Now type on command prompt : -
cd java and press enter, Now you will automatically enter the java folder on c drive, After that you have to give the path where your JDk is installed after this you are ready to make and execute your program in java 

Java Programms

Some Important pogramms In Java

 

You can download it from the given link download here

WE are happy to help you....!!!

Read more ...

Monday, November 10, 2014

ASCII

ASCII CODING

 


































File:ASCII-Table.svg

































 Standard ASCII set, HTML Entity names, ISO 10646, ISO 8879, ISO 8859-1 Latin alphabet No. 1
 Browser support: All browsers


ASCII HTML HTML
Dec Hex Symbol Number Name

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
20
21
22
23
24
25
26
27
28
29
2A
2B
2C
2D
2E
2F

!
"
#
$
%
&
'
(
)
*
+
,
-
.
/
 
!
"
#
$
%
&
'
(
)
*
+
,
-
.
/


"



&









space
exclamation point
double quotes
number sign
dollar sign
percent sign
ampersand
single quote
opening parenthesis
closing parenthesis
asterisk
plus sign
comma
minus sign - hyphen
period
slash


ASCII HTML HTML
Dec Hex Symbol Number Name

48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
30
31
32
33
34
35
36
37
38
39
3A
3B
3C
3D
3E
3F
0
1
2
3
4
5
6
7
8
9
:
;
<
=
>
?
&#48;
&#49;
&#50;
&#51;
&#52;
&#53;
&#54;
&#55;
&#56;
&#57;
&#58;
&#59;
&#60;
&#61;
&#62;
&#63;












&lt;

&gt;

zero
one
two
three
four
five
six
seven
eight
nine
colon
semicolon
less than sign
equal sign
greater than sign
question mark


ASCII HTML HTML
Dec Hex Symbol Number Name

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
40
41
42
43
44
45
46
47
48
49
4A
4B
4C
4D
4E
4F
@
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
&#64;
&#65;
&#66;
&#67;
&#68;
&#69;
&#70;
&#71;
&#72;
&#73;
&#74;
&#75;
&#76;
&#77;
&#78;
&#79;
















at symbol

















ASCII HTML HTML
Dec Hex Symbol Number Name

80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
50
51
52
53
54
55
56
57
58
59
5A
5B
5C
5D
5E
5F
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
&#80;
&#81;
&#82;
&#83;
&#84;
&#85;
&#86;
&#87;
&#88;
&#89;
&#90;
&#91;
&#92;
&#93;
&#94;
&#95;



























opening bracket
backslash
closing bracket
caret - circumflex
underscore


ASCII HTML HTML
Dec Hex Symbol Number Name

96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
60
61
62
63
64
65
66
67
68
69
6A
6B
6C
6D
6E
6F
`
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
&#96;
&#97;
&#98;
&#99;
&#100;
&#101;
&#102;
&#103;
&#104;
&#105;
&#106;
&#107;
&#108;
&#109;
&#110;
&#111;
















grave accent

















ASCII HTML HTML
Dec Hex Symbol Number Name

112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
70
71
72
73
74
75
76
77
78
79
7A
7B
7C
7D
7E
7F
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~

&#112;
&#113;
&#114;
&#115;
&#116;
&#117;
&#118;
&#119;
&#120;
&#121;
&#122;
&#123;
&#124;
&#125;
&#126;




























opening brace
vertical bar
closing brace
equivalency sign - tilde
(not defined in HTML 4 standard)


ASCII HTML HTML
Dec Hex Symbol Number Name

128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
80
81
82
83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F
















































(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)


ASCII HTML HTML
Dec Hex Symbol Number Name

144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
90
91
92
93
94
95
96
97
98
99
9A
9B
9C
9D
9E
9F
















































(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)
(not defined in HTML 4 standard)


ASCII HTML HTML
Dec Hex Symbol Number Name

160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
A0
A1
A2
A3
A4
A5
A6
A7
A8
A9
AA
AB
AC
AD
AE
AF

¡
¢
£
¤
¥
¦
§
¨
©
ª
«
¬
­
®
¯
&#160;
&#161;
&#162;
&#163;
&#164;
&#165;
&#166;
&#167;
&#168;
&#169;
&#170;
&#171;
&#172;
&#173;
&#174;
&#175;
&nbsp;
&iexcl;
&cent;
&pound;
&curren;
&yen;
&brvbar;
&sect;
&uml;
&copy;
&ordf;
&laquo;
&not;
&shy;
&reg;
&macr;
non-breaking space
inverted exclamation mark
cent sign
pound sign
currency sign
yen sign
broken vertical bar
section sign
spacing diaeresis - umlaut
copyright sign
feminine ordinal indicator
left double angle quotes
not sign
soft hyphen
registered trade mark sign
spacing macron - overline


ASCII HTML HTML
Dec Hex Symbol Number Name

176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
B0
B1
B2
B3
B4
B5
B6
B7
B8
B9
BA
BB
BC
BD
BE
BF
°
±
²
³
´
µ

·
¸
¹
º
»
¼
½
¾
¿
&#176;
&#177;
&#178;
&#179;
&#180;
&#181;
&#182;
&#183;
&#184;
&#185;
&#186;
&#187;
&#188;
&#189;
&#190;
&#191;
&deg;
&plusmn;
&sup2;
&sup3;
&acute;
&micro;
&para;
&middot;
&cedil;
&sup1;
&ordm;
&raquo;
&frac14;
&frac12;
&frac34;
&iquest;
degree sign
plus-or-minus sign
superscript two - squared
superscript three - cubed
acute accent - spacing acute
micro sign
pilcrow sign - paragraph sign
middle dot - Georgian comma
spacing cedilla
superscript one
masculine ordinal indicator
right double angle quotes
fraction one quarter
fraction one half
fraction three quarters
inverted question mark


ASCII HTML HTML
Dec Hex Symbol Number Name

192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
C0
C1
C2
C3
C4
C5
C6
C7
C8
C9
CA
CB
CC
CD
CE
CF
À
Á
Â
Ã
Ä
Å
Æ
Ç
È
É
Ê
Ë
Ì
Í
Î
Ï
&#192;
&#193;
&#194;
&#195;
&#196;
&#197;
&#198;
&#199;
&#200;
&#201;
&#202;
&#203;
&#204;
&#205;
&#206;
&#207;
&Agrave;
&Aacute;
&Acirc;
&Atilde;
&Auml;
&Aring;
&AElig;
&Ccedil;
&Egrave;
&Eacute;
&Ecirc;
&Euml;
&Igrave;
&Iacute;
&Icirc;
&Iuml;
latin capital letter A with grave
latin capital letter A with acute
latin capital letter A with circumflex
latin capital letter A with tilde
latin capital letter A with diaeresis
latin capital letter A with ring above
latin capital letter AE
latin capital letter C with cedilla
latin capital letter E with grave
latin capital letter E with acute
latin capital letter E with circumflex
latin capital letter E with diaeresis
latin capital letter I with grave
latin capital letter I with acute
latin capital letter I with circumflex
latin capital letter I with diaeresis


ASCII HTML HTML
Dec Hex Symbol Number Name

208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
DA
DB
DC
DD
DE
DF
Ð
Ñ
Ò
Ó
Ô
Õ
Ö
×
Ø
Ù
Ú
Û
Ü
Ý
Þ
ß
&#208;
&#209;
&#210;
&#211;
&#212;
&#213;
&#214;
&#215;
&#216;
&#217;
&#218;
&#219;
&#220;
&#221;
&#222;
&#223;
&ETH;
&Ntilde;
&Ograve;
&Oacute;
&Ocirc;
&Otilde;
&Ouml;
&times;
&Oslash;
&Ugrave;
&Uacute;
&Ucirc;
&Uuml;
&Yacute;
&THORN;
&szlig;
latin capital letter ETH
latin capital letter N with tilde
latin capital letter O with grave
latin capital letter O with acute
latin capital letter O with circumflex
latin capital letter O with tilde
latin capital letter O with diaeresis
multiplication sign
latin capital letter O with slash
latin capital letter U with grave
latin capital letter U with acute
latin capital letter U with circumflex
latin capital letter U with diaeresis
latin capital letter Y with acute
latin capital letter THORN
latin small letter sharp s - ess-zed


ASCII HTML HTML
Dec Hex Symbol Number Name

224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
E0
E1
E2
E3
E4
E5
E6
E7
E8
E9
EA
EB
EC
ED
EE
EF
à
á
â
ã
ä
å
æ
ç
è
é
ê
ë
ì
í
î
ï
&#224;
&#225;
&#226;
&#227;
&#228;
&#229;
&#230;
&#231;
&#232;
&#233;
&#234;
&#235;
&#236;
&#237;
&#238;
&#239;
&agrave;
&aacute;
&acirc;
&atilde;
&auml;
&aring;
&aelig;
&ccedil;
&egrave;
&eacute;
&ecirc;
&euml;
&igrave;
&iacute;
&icirc;
&iuml;
latin small letter a with grave
latin small letter a with acute
latin small letter a with circumflex
latin small letter a with tilde
latin small letter a with diaeresis
latin small letter a with ring above
latin small letter ae
latin small letter c with cedilla
latin small letter e with grave
latin small letter e with acute
latin small letter e with circumflex
latin small letter e with diaeresis
latin small letter i with grave
latin small letter i with acute
latin small letter i with circumflex
latin small letter i with diaeresis


ASCII HTML HTML
Dec Hex Symbol Number Name

240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
F0
F1
F2
F3
F4
F5
F6
F7
F8
F9
FA
FB
FC
FD
FE
FF
ð
ñ
ò
ó
ô
õ
ö
÷
ø
ù
ú
û
ü
ý
þ
ÿ
&#240;
&#241;
&#242;
&#243;
&#244;
&#245;
&#246;
&#247;
&#248;
&#249;
&#250;
&#251;
&#252;
&#253;
&#254;
&#255;
&eth;
&ntilde;
&ograve;
&oacute;
&ocirc;
&otilde;
&ouml;
&divide;
&oslash;
&ugrave;
&uacute;
&ucirc;
&uuml;
&yacute;
&thorn;
&yuml;
latin small letter eth
latin small letter n with tilde
latin small letter o with grave
latin small letter o with acute
latin small letter o with circumflex
latin small letter o with tilde
latin small letter o with diaeresis
division sign
latin small letter o with slash
latin small letter u with grave
latin small letter u with acute
latin small letter u with circumflex
latin small letter u with diaeresis
latin small letter y with acute
latin small letter thorn
latin small letter y with diaeresis


 HTML 4.01, ISO 10646, ISO 8879, Latin extended A and B,
 Browser support: Internet Explorer > 4, Netscape > 4


HTML HTML
Dec Hex Symbol Number Name

338
339
352
353
376
402
152
153
160
161
178
192
Œ
œ
Š
š
Ÿ
ƒ
&#338;
&#339;
&#352;
&#353;
&#376;
&#402;






latin capital letter OE
latin small letter oe
latin capital letter S with caron
latin small letter s with caron
latin capital letter Y with diaeresis
latin small f with hook - function


HTML HTML
Dec Hex Symbol Number Name

8211
8212
8216
8217
8218
8220
8221
8222
8224
8225
8226
8230
8240
8364
8482
2013
2014
2018
2019
201A
201C
201D
201E
2020
2021
2022
2026
2030
20AC
2122














&#8211;
&#8212;
&#8216;
&#8217;
&#8218;
&#8220;
&#8221;
&#8222;
&#8224;
&#8225;
&#8226;
&#8230;
&#8240;
&#8364;
&#8482;













&euro;

en dash
em dash
left single quotation mark
right single quotation mark
single low-9 quotation mark
left double quotation mark
right double quotation mark
double low-9 quotation mark
dagger
double dagger
bullet
horizontal ellipsis
per thousand sign
euro sign
trade mark sign



















































































Read more ...

Saturday, November 8, 2014

how c++ is different from c

   how C++ is more then C

       C++ is derived from C Language. It is a Super set of C. 

  • Earlier C++ was known as C with classes. 
  • In C++, the major change was the addition of classes and a mechanism for inheriting class objects into other classes. 
  • Most C Programs can be compiled in C++ compiler. 
  • C++ expressions are the same as C expressions. 
  • All C operators are valid in C++.     
       

                                C                              C++
1. C is Procedural Language.1. C++ is non Procedural i.e Object oriented Language.
2. No virtual Functions are present in C2. The concept of virtual Functions are used in C++.
3. In C, Polymorphism is not possible.
3. The concept of polymorphism is used in C++.
Polymorphism is the most Important Feature of OOPS.
4. Operator overloading is not possible in C.4. Operator overloading is one of the greatest Feature of C++.
5. Top down approach is used in Program Design.5. Bottom up approach adopted in Program Design.
6. No namespace Feature is present in C Language. 6. Namespace Feature is present in C++ for avoiding Name collision.
7. Multiple Declaration of global variables are allowed.7. Multiple Declaration of global varioables are not allowed.
8. In C
  • scanf() Function used for Input.
  • printf() Function used for output.
8. In C++
  • Cin>> Function used for Input.
  • Cout<< Function used for output.
9. Mapping between Data and Function is difficult and complicated.9. Mapping between Data and Function can be used using "Objects"
10. In C, we can call main() Function through other Functions 10. In C++, we cannot call main() Function through other functions.
11. C requires all the variables to be defined at the starting of a scope.11. C++ allows the declaration of variable anywhere in the scope i.e at time of its First use.
12. No inheritance is possible in C.12. Inheritance is possible in C++
13. In C, malloc() and calloc() Functions are used for Memory Allocation and free() function for memory Deallocating.13.In C++,  new and delete operators are used for Memory Allocating and Deallocating.
14. It supports built-in and primitive data types.14. It support both built-in and user define data types.
15. In C, Exception Handling is not present.15. In C++, Exception Handling is done with Try and Catch block.

 





Read more ...

Friday, November 7, 2014

Difference between Java and PHP !!!

                      Difference between Java and PHP

  Key difference: Java is a programming language, which has been influenced by the C language. It derives much of its  syntax from C and C++, however it has fewer low-level facilities than either. Java is a general-purpose programming   language that is designed to have fewer implementation dependencies as compared to previous languages. PHP, on the   other hand, is a server-side scripting language that has its main implementation in web development. However, it can be  used as a general-purpose programming language.
Java is a programming language, which has been influenced by the C language. It derives much of its syntax from C and C++, however it has fewer low-level facilities than either. Java is a general-purpose programming language that is designed to have fewer implementation dependencies as compared to previous languages. It is concurrent, class-based, and an object-oriented language.
Java was developed by James Gosling at Sun Microsystems and was released in 1995. It was originally released as a core component of Sun Microsystems' Java platform. Sun has since re-licensed most of its Java technologies under the GNU General Public License. This means that all the technology licensed under GNU General Public License is open source and generally available free of cost. Sun Microsystems eventually merged into Oracle Corporation.

Java is designed to allow the same code to run on various platforms. i.e., developers are allowed to “write once, run anywhere” (WORA). Hence, Java applications are typically compiled to bytecode. A class file which contains a Java bytecode can then be run on any Java Virtual Machine (JVM). This would be regardless of computer architecture.

As of 2012, Java has become one of the most popular programming languages for use. This is especially true for client-server web applications. Many other systems have developed alternative implementations of Sun technologies, such as GNU Compiler for Java and GNU Classpath.



 PHP, on the other hand, is a server-side scripting language that has its main implementation in web development. However, it can be used as a general-purpose programming language. PHP was originally created by Rasmus Lerdorf in 1995 and it is currently managed by The PHP Group. PHP originally stood for Personal Home Page, however it was later renamed. It now stands for PHP: Hypertext Preprocessor, a recursive acronym. PHP is free software released under the PHP License, as is incompatible with the GNU General Public License (GPL) due to restrictions on the usage of the term PHP.

PHP is an open source, server-side, HTML embedded scripting language. It can basically perform any task that other CGI programs can, but it is mainly used to create dynamic Web pages. Its main advantage is that it is compatible with many types of databases. Furthermore, PHP can talk across networks using IMAP, SNMP, NNTP, POP3, or HTTP.

PHP includes a command-line interface capability and can be used in standalone graphical applications. PHP commands can be embedded directly into an HTML source document rather than calling an external file to process data. In the HTML document, the PHP script is enclosed within special PHP tags. Due to these tags, the programmer can alternate between HTML and PHP instead of having to rely on heavy amounts of code to output HTML. Also, as PHP is executed on the server, the client cannot view the PHP code.

Some differences between Java and PHP:

  • Every variable in Java needs to be prepended with a data type. This includes primitive types such as boolean, int, double and char, as well as Object data-types, such as ArrayList, String, and own objects.
  • In Java, every variable can only hold a value of its type.
  • In Java, equality on objects checks for object identity.
  • In Java, arrays are the classic C arrays. They can only hold variables of one particular type, and need to be created with a fixed length.
  • Java contains a series of collection Objects, one of which is named ArrayList. ArrayList will act more like PHP arrays.
  • In Java, one cannot get the array like syntax; all manipulation must be done through methods.
  • In Java, ArrayLists and other collections are implemented with generics.
  • Java has no pointers. However, all Objects are actually references, similar to PHP 5, and dissimilar to PHP 4.
  • All method parameters are passed by value in Java.
  • The main code entry point in Java is a method to a class, as opposed to PHP where it is not.
  • In Java, variable names do not usually start with a sigil ($).
  • Class names in Java are case sensitive.
  • Strings are not mutable in Java.
  • The Java Class library provides a mechanism to implement threads. PHP has no such mechanism.
  • PHP methods and functions allow for optional parameters. In Java, a separate method must be defined for each possible list of parameters.
  • PHP requires an explicit $this be used when an object calls its own methods. Java does not.
  • Java programs tend to be built from a "program runs, stays running, processes requests" kind of way, whereas PHP applications are built from a "run, handle the request, stop running" kind of way.
  • Java is compiled to bytecode, PHP is interpreted.
  • Java is strong and statically typed, while PHP is rather weakly and dynamically typed.
  • PHP is mostly used to dynamically generate Webpages. Java can do that too, as well as Applets, mobile phone software, Enterprise stuff, desktop application with and without GUI, 3d games, Google Web Toolkit, etc.
  • PHP offers OOP (object oriented programming) as an option that is ignored in most projects. In, Java, OOP is the default.
  • String constants in PHP are declared using single or double quotes. Double quotes will evaluate variables embedded in the text. All Java String constants use double quotes and have no such variable evaluation.
  • PHP object method calls use the -> operator. Java uses the . operator
  • Constructors in Java are named after the class name. In PHP they are called __construct()
  • Method overriding and overloading is quite natural in Java but a bit of a kludge in PHP
  • PHP code is embedded in what is otherwise largely an HTML document, much like how JSPs work
  • In PHP, there is no method overloading, but methods and functions can have optional parameters.
 
 
Read more ...
Designed By Published SVStutorial