Senin, 30 Juli 2012

Advantages and Disadvantages of PHP


Advantages and Disadvantages of PHP





An any case there are always advantages and disadvantages. As Java this one ~

Excess

· Get ​​started quickly: Java is an object-oriented programming language, easy to learn, especially for programmers who are already familiar C or C + +
· Write a program less: The number of classes, number of methods, etc., show that a program written in the Java programming language has a number of 4-fold smaller than the same program written in C + +
· Write a program better: the Java programming language advocating the practice of making a good program, and automatic garbage collection helps you avoid memory leaks. Object orientation, component architecture JavaBeans, and reach broad Yanga, an easily extensible API, allowing you to use your existing code.
· Making programs more quickly: The Java programming language is easier than C + +, programming will be 2 times faster, with far fewer lines.
· Avoid dependence on a specific platform: You can run your program on multiple platforms by using a library written NOT specific to a particular platform.
· Write once, run anywhere: Because applications written in the Java language is compiled into byte code is platform independent, written application can be run consistently on any platform.
· Distribute your software easily: With Java Web Start, the user program will be able to use your applications with ease. Automatic version checking system when the program starts the user ensures you are always running the latest version. If a new version is available, Java Web Start will install automatically.
Shortage

· J2ME: make a J2ME application is a process that is very difficult, we have to develop their own applications, with its own API for each handset, the handset support the J2ME nothing is the same.
· SWING: Very slow, its API is confusing, and tampilanya very different to the existing environment. Just try it, make Swing applications to create a tray icon in windows.
· XML: if you create a J2EE application, you should always edit the file bla2.xml, this adds to the processing time.
· Easy didekompilasi: decompilation is a reverse process of the code so a source code. This is possible because the code is so Java bytecode languages ​​with a lot of high-level attributes, such as the names of classes, methods, and data types. The same thing happened to Microsoft. NET Platform. Thus, the algorithm used the program would be more difficult to hide and direverse-engineer other words is hijacked.
· Uses a lot of memory: Memory usage for a Java-based program is much larger than the previous generation of high-level languages ​​such as C / C + + and Pascal.

Tidak ada komentar:

Posting Komentar