Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

FUNCTIONALITY AND APPLICABILITY JAVA LANGUAGE AND PHP

Mauricio Delgado Valderrama

Bogota 20/11/2018
Java is a programming language and an IT platform marketed for
the first time in 1995 by Sun Microsystems. There are many
applications and websites that will not work unless you have Java
installed and more are created each day. Java is fast, safe and
reliable. From laptops to data centers, from game consoles to
super computers, from mobile phones to the Internet, Java is
everywhere.
Java is a semi-compiled language that works with a virtual
machine, which is known as the Java virtual machine, or JVM.
The Java virtual machine is necessary to be able to execute the
programs written in this language, and it is available for various
operating systems, such as OS X, Windows, and various Linux
distributions. This virtual machine what it does is interpret the
Java programs, transform them into machine language for the
PC, and so the PC can run the program. Well the PC does not
execute the program directly, but rather executes the JVM, and
the JVM interprets the pre-compiled program, which is why
Java is considered a semi-compiled language as mentioned
above.
Java has many advantages, among these we have that Java is a multiplatform language, which means that it runs on
most operating systems, including mobile operating systems. Another advantage is that java is a free distribution
software, it is not necessary to pay a license to start developing in this language. Likewise it is a very complete and
powerful language, you can perform many tasks with it, because it has a library and very complete utilities that
facilitate programming.
Before starting to program in Java it is necessary to have a PC
that has installed the following software.

Windows operating system, OS X, Solaris or Linux distribution

Java virtual machine (JVM) - used to execute the programs


compiled in Java, it is also known as JRE (Java Runtime
Enviroment), JDK (Java development kit) - The good JDK or SDK
(software development kit), the Netbeans development
environment, this usually includes the JDK for more
development ease, Development environment - you can
actually write the programs in any text editor, but for more
ease and purpose of the course we will use the NetBeans,
which you can download in the official page of netbeans.
PHP (PHP recursive acronym: Hypertext Preprocessor) is a very popular open source language especially suitable for web
development and that can be embedded in HTML.

Instead of using many commands to display HTML (as in C or Perl), PHP pages contain HTML with embedded code that
does "something" (in this case, show "Hello, I'm a PHP script!). The PHP code is enclosed in the special start and end tags <?
Php and?> That allow entering and exiting the "PHP mode".

What distinguishes PHP from something on the client side like Javascript is that the code is executed on the server, generating
HTML and sending it to the client. The client will receive the result of executing the script, although the underlying code that
it was will not be known. The web server can even be configured to process all the HTML files with PHP, so there is no way
for users to know what is up their sleeve. The best thing about using PHP is its extreme simplicity for the beginner, but in turn
offers many advanced features for professional programmers. Do not be afraid to read the long list of PHP features. In a few
hours you can start writing your first scripts.
1,Large extension of documentation

Whether created officially or by users, PHP has the advantage of being used by millions of users in many projects. Facing the new programmer is a great advantage because there is nothing better than a language with
a large community behind, especially for those not so related to the Anglo-Saxon language.

2. Variety of tools to learn

We have several methods to get started: we can hire a remote server to upload our files, as we would with any web, which is logical because if you have your site on the network you already have this resource with
you; we can create a local server with a virtual machine, or the most popular among students: download the free WAMP tool (XAMP or LAMP depending on whether it is for Mac OSX or Linux). This tool simulates
that your local machine is a web server to be able to execute PHP files. That is, whatever your situation, it is impossible for you to stay out, especially considering that it does not require a complex development
environment, as with Titanium.

3. Many job offer

Nowadays the most complex websites work under PHP, so there are many companies that require the services of a developer of this language.

4. Allows object-oriented programming

This means that you can divide your scripts into methods, classes, etc. to make the processing of data more agile for the server.

5. External modules to improve the web application

Thanks to this, you can implement features that do not exist by themselves, being a great solution to your needs. For example, instead of programming a registration screen from scratch, you can use an already done
module. This would not be possible if it were not object oriented, as I mentioned in the previous point.

6. The structure can be separated

By this I mean that you can independently have the code that is responsible for moving the data that is linked to the interface. This is known as the Model View / Controller (MVC). Thanks to this feature, we will not
"contaminate" code with unnecessary lines and keep it clean and tidy.

7. Freedom is a precious commodity

Yes, PHP is totally free and multi-platform, so it does not matter what operating system you use. Its development is possible anywhere (as long as the machine is capable of executing the code).

As you can see, when PHP came to light, never a web language became so powerful and full of possibilities, and even today it is used all over the world. Without going any further, how do you think Facebook
manages so much data and is capable of moving such a large dynamic web? Or, to give another example, since many times we have talked about it, Wordpress works under PHP.
BIBLIOGRAPHY

https://www.google.com/search?client=firefox-b&tbm=isch&sa=1&ei=-
Uj0W82eDK3c5gK474-
YDg&q=+php&oq=+php&gs_l=img.3..0l4j0i67j0l2j0i67j0l2.6354.6354..6706...0.0..
0.123.123.0j1......0....1..gws-wiz-img.11BT8BCs_3A#imgrc=7QIKvM1dchRZ9M:
FUNCIONABILIDAD Y APLICABILIDAD
LENGUAJE JAVA Y PHP

Mauricio Delgado Valderrama

Bogotá
20/11/2018
Java es un lenguaje de programación y una plataforma
informática comercializada por primera vez en 1995 por Sun
Microsystems. Hay muchas aplicaciones y sitios web que no
funcionarán a menos que tenga Java instalado y cada día se
crean más. Java es rápido, seguro y fiable. Desde portátiles
hasta centros de datos, desde consolas para juegos hasta súper
computadoras, desde teléfonos móviles hasta Internet, Java está
en todas partes.
Java es un lenguaje semicompilado que funciona con una
maquina virtual, la cual se conoce como la Java virtual machine,
o JVM. La maquina virtual de Java es necesaria para poder
ejecutar los programas escritos en este lenguaje, y se encuentra
disponible para diversos sistemas operativos, como son OS X,
Windows, y diversas distribuciones de Linux. Esta maquina
virtual lo que hace es interpretar los programas de Java,
transformarlos a lenguaje maquina para la PC, y asi la PC puede
ejecutar el programa. Bien la PC no ejecuta directamente el
programa, si no que ejecuta la JVM, y la JVM interpreta el
programa pre compilado, razón por la cual Java se considera un
lenguaje semicompilado como se menciono anteriormente.
Java tiene muchas ventajas, entre estas tenemos que Java es un lenguaje multiplataforma, lo que quiere decir que se
ejecuta en la mayoria de los sistemas operativos, inclusive en sistemas operativos mobiles. Otra ventaja es que java es un
software de distribución libre, no es necesario pagar una licencia para poder comenzar a desarrollar en este lenguaje. Asi
mismo es un lenguaje muy completo y poderoso, se pueden realizar muchas tareas con el, pues posee una libreria y
utilidades muy completas que facilitan la programación.
Antes de comenzar a programar en Java es necesario contar con
una PC que tenga instalados el siguiente software.

Sistema operativo windows,OS X,Solaris o distribución de linux

Maquina virtual de Java(JVM) – usada para ejecutar los


programas compilados en Java, tambien se le conoce como
JRE(Java Runtime Enviroment), JDK(kit de desarrollo de Java)-
El bien JDK o SDK(software development kit), el entorno de
desarrollo Netbeans, este suele incluir el JDK para mas facilidad
de desarrollo, Entorno de desarrollo – en realidad se pueden
escribir los programas en cualquier editor de texto, pero para
mas facilidad y fines del curso utilizaremos el NetBeans, el cual
puedes descargar en la pagina oficial de netbeans.
PHP (acrónimo recursivo de PHP: Hypertext Preprocessor) es un lenguaje de código abierto muy popular especialmente
adecuado para el desarrollo web y que puede ser incrustado en HTML.

En lugar de usar muchos comandos para mostrar HTML (como en C o en Perl), las páginas de PHP contienen HTML con
código incrustado que hace "algo" (en este caso, mostrar "¡Hola, soy un script de PHP!). El código de PHP está encerrado entre
las etiquetas especiales de comienzo y final <?php y ?> que permiten entrar y salir del "modo PHP".

Lo que distingue a PHP de algo del lado del cliente como Javascript es que el código es ejecutado en el servidor, generando
HTML y enviándolo al cliente. El cliente recibirá el resultado de ejecutar el script, aunque no se sabrá el código subyacente que
era. El servidor web puede ser configurado incluso para que procese todos los ficheros HTML con PHP, por lo que no hay
manera de que los usuarios puedan saber qué se tiene debajo de la manga, Lo mejor de utilizar PHP es su extrema simplicidad
para el principiante, pero a su vez ofrece muchas características avanzadas para los programadores profesionales. No sienta
miedo de leer la larga lista de características de PHP. En unas pocas horas podrá empezar a escribir sus primeros scripts.
1. Gran extensión de documentación

Ya sea creada de manera oficial como por los usuarios, PHP tiene la ventaja de ser usado por millones de usuarios en muchos proyectos. De cara al nuevo programador es una gran ventaja porqué no hay nada mejor
que un lenguaje con una gran comunidad detrás, sobre todo para los no tan afines al idioma anglosajón.

2. Variedad de herramientas para aprender

Tenemos varios métodos para iniciarnos: podemos contratar un servidor remoto para subir nuestros archivos, como haríamos con cualquier web, lo cual tiene lógica ya que si tenéis vuestro sitio en la red ya tenéis
este recurso con vosotros; podemos crear un servidor local con una máquina virtual, o lo más popular entre los alumnos: descargar la herramienta libre WAMP (XAMP o LAMP en función de si es para Mac OSX o
Linux). Esta herramienta simula que vuestra máquina local es un servidor web para poder ejecutar los ficheros PHP. Es decir, sea cual sea vuestra situación, es imposible que os quedéis fuera, sobretodo teniendo en
cuenta que no requiere un entorno de desarrollo complejo, como ocurre con Titanium.

3. Mucha oferta de trabajo

Hoy en día las webs más complejas funcionan bajo PHP, por lo que son muchas las empresas que requieren los servicios de un desarrollador de este lenguaje.

4. Permite programación orientada a objetos

Esto significa que podréis dividir vuestros scripts en métodos, clases, etc. para hacer más ágil de cara al servidor el procesamiento de los datos.

5. Módulos externos para mejorar la aplicación web

Gracias a esto, podréis implementar funcionalidades que de por sí no existen, siendo una gran solución a vuestras necesidades. Por ejemplo, en vez de programar de cero una pantalla de registro, podéis usar un
módulo ya hecho. Esto no sería posible si no fuese orientado a objetos, como menciono en el punto anterior.

6. Se puede separar la estructura

Con esto quiero decir que podéis tener de manera independiente el código que se encarga de mover los datos del que se enlaza a la interfaz. Esto se conoce como Modelo Vista/Controlador (MVC). Gracias a esta
característica, no “contaminaremos” código con líneas innecesarias y lo mantendremos limpio y ordenado.

7. La libertad es un bien muy preciado

Si, PHP es totalmente libre y multi-plataforma, por lo que no importa que sistema operativo uséis. Su desarrollo es posible en cualquier sitio (siempre y cuando la máquina sea capaz de ejecutar el código).

Como podéis ver, cuando PHP salió a la luz, nunca un lenguaje web llegó a ser tan potente y lleno de posibilidades, y aún hoy en día se usa en todo el mundo. Sin ir más lejos, ¿cómo creéis que Facebook maneja
tantos datos y es capaz de mover una web dinámica tan grande? O, por poner otro ejemplo, ya que muchas veces hemos hablado de él, Wordpress funciona bajo PHP.
BIBLIOGRAFIA

https://www.deustoformacion.com/blog/programacion-diseno-web/7-caracteristicas-lenguaje-php-que-lo-
convierten-uno-mas-potentes

https://www.google.com/search?client=firefox-b&tbm=isch&sa=1&ei=-Uj0W82eDK3c5gK474-
YDg&q=+php&oq=+php&gs_l=img.3..0l4j0i67j0l2j0i67j0l2.6354.6354..6706...0.0..0.123.123.0j1......0....1..g
ws-wiz-img.11BT8BCs_3A#imgrc=7QIKvM1dchRZ9M:

https://www.java.com/es/download/faq/whatis_java.xml

https://www.google.com/search?client=firefox-b&tbm=isch&sa=1&ei=-Uj0W82eDK3c5gK474-
YDg&q=+php&oq=+php&gs_l=img.3..0l4j0i67j0l2j0i67j0l2.6354.6354..6706...0.0..0.123.123.0j1......0....1..g
ws-wiz-img.11BT8BCs_3A#imgrc=7QIKvM1dchRZ9M:

You might also like