Professional Documents
Culture Documents
Aprendiz SENA
28 de enero de 2018
Tabla de Contenido
Objetive……………………………………….……………………………………………3
Exercise...……..…………...………………………………………………………………4-12
Objetivo
Con su crecimiento, surgieron proyectos asociados, como Frameworks, IDE (Entorno de desarrollo
integrado), que le proporcionaron robustez y consistencia.
Otro aspecto a tener en cuenta y que agrega confianza a este lenguaje es el hecho de que muchas de las
páginas con el mayor número de visitas se han desarrollado con esta tecnología.
Por otro lado, Java como lenguaje de programación, a diferencia de PHP, no se puede tratar de manera
superficial, porque es necesario enfocarse específicamente en JSP, Servlets y otros.
Tanto PHP como Java son predominantes e integrales a la web moderna; y, dado que se pueden usar
para realizar algunas de las mismas tareas, puede que no haya dos idiomas que estimulen tanto el
debate sobre sus fortalezas y debilidades relativas. En términos de resultados o eficiencia, ambos tienen
las mejores referencias porque se han utilizado para respaldar algunos de los sitios web más grandes y
rentables del mundo.
SEGÚN LAS NECESIDADES
Con frecuencia, los desarrolladores, especialmente aquellos que trabajan principalmente
con PHP o Java, discuten sobre la superioridad de un idioma u otro, concluyendo que
dichos idiomas son estructuralmente iguales y mutuamente excluyentes; sin embargo, la
forma en que funcionan es diferente, y decidir dónde uno u otro es más eficiente
depende en gran medida de la tarea a realizar, los objetivos y el plan de desarrollo.
Entre las principales diferencias estructurales entre PHP y Java, la diferencia entre un
lenguaje de tipeo fuerte y otro, débil se destaca.
Java es fuerte, porque requiere que las declaraciones explícitas funcionen y esto es
respaldado por el compilador, es decir, tiene expectativas estrictas de cómo se expresan
las entradas y salidas, y si no se cumplen, el desarrollador fallará y el programa no
funcionará hasta que se resuelvan estos errores.
PHP, por otro lado, es de tipeo débil, lo que lo hace más flexible y tiende más al sentido
común de cómo llevar a cabo una tarea. Si bien esto puede ser una ventaja, ya que requiere
menos conocimiento formal, otros lo consideran para complicar ciertas tareas,
particularmente en la programación orientada a objetos, con su falta de estándares.
Finalmente, estas características pueden favorecer a Java como una buena opción cuando el
desarrollo es complicado y se basa en equipos de desarrolladores profesionales; ya que en
lugar de dificultar el trabajo, los estándares definidos con precisión permiten una
comprensión más fácil y una mayor eficiencia. Por otro lado, PHP es más accesible para
programadores inexpertos.
Es importante señalar que la nube Facilcloud, conocida como una plataforma políglota, es
compatible con la mayoría de los lenguajes de programación populares, sobre todo estos
dos; para que los desarrolladores que se inclinan por uno u otro, puedan disfrutar de las
ventajas de esta nube elástica, así como una gran cantidad de oportunidades y
configuraciones para sus aplicaciones.
Gracias
Aprendiz
AP7-AA5-EV3-WRITTEN IN ENGLISH
Ronald David Lara Hernández
Apprentice SENA
Santa Lucia-Atlántico
January 28, 2018
Table of Contents
Objetive……………………………………….……………………………………………3
Exercise...……..…………...………………………………………………………………4-12
Objective
• It is very flexible: Java is a language specially prepared for code reuse; it allows its users
to take a program that they have developed some time ago and update it very easily,
whether they need to add functions or adapt it to a new environment.
• It works on any platform: unlike programs that require specific versions for each
operating system (such as Windows or Mac), applications developed in Java work in any
environment, since it is not the system that executes them, but the machine Virtual (known
as Java Virtual Machine or JVM).
• Its use does not involve economic investments: programming in Java is absolutely free; it
is not necessary to acquire any license, but simply download the development kit (Java
Development Kit or JDK) and give free rein to the imagination.
• It is open source: Java offers the code of almost all its native libraries so that developers
can know and study them in depth, or expand its functionality, benefiting themselves and
others.
• It is an expandable language: continuing with the previous point, each programmer has
the freedom to review and improve the native Java code, and his work can become the
solution to the problems of many people around the world. Countless developers have
taken advantage of this virtue of language and continue to do so.
General description of the programming language
PHP
PHP is an interpreted programming language, originally designed for the creation of
dynamic web pages. It is used mainly in server-side interpretation (server-side scripting) but
can currently be used from a command line interface or in the creation of other types of
programs including applications with graphical interface using the Qt or GTK + libraries.
PHP is a recursive acronym that stands for PHP Hypertext Pre-processor (initially PHP
Tools, or, Personal Home Page Tools). It was originally created by Rasmus Lerdof in 1994;
however the main PHP implementation is now produced by The PHP Group and serves as
the de facto standard for PHP in the absence of a formal specification. Published under the
PHP License, the Free Software Foundation considers this license to be free software.
Functionality of the PHP programming language:
•Programming of dynamic web pages, usually in combination with the MySQL database
engine, although it has native support for other engines, including the ODBC standard,
which greatly expands its connection possibilities.
•Programming in console, in the style of Perl or Shell scripting.
•Creation of graphic applications independent of the browser, through the combination of
PHP and Qt / GTK +, which allows developing desktop applications in the operating
systems in which it is supported.
similarities and / or differences between JAVA and
PHP
PHP and Java are two technologies that, since their respective releases, have been the
subject of debates about their advantages and disadvantages. From the point of view of the
developers, there is no opinion on which is better; each one has its followers and detractors.
These so-called programming languages are available to you in our elastic Cloud Facilcloud,
you can get modifiable computing capacity in an incredibly easy and real-time in the cloud
with total flexibility.
You have to take into account a lot of variables when choosing Java or PHP, so let's take a
look at its benefits and peculiarities.
A LOOK AT PHP AND JAVA
PHP (PHP Hypertext Pre-processor), is a programming language interpreted on the server.
With its growth, associated projects emerged, such as Frameworks, IDE's (Integrated
development environment), which have provided it with robustness and consistency.
Another aspect to take into account and that adds confidence to this language, is the fact that
many of the pages with the highest number of visits have been developed under this
technology.
On the other hand, Java as a programming language, unlike PHP, can not be treated in a
superficial way, because it is necessary to focus specifically on JSP, Servlets and others.
In a generic way, it is an object-oriented programming language developed by Sun
Microsystems in the early 90s. Currently, Java has become one of the languages most used
and most demanded by developers.
Both PHP and Java, are predominant and integral to the modern web; and, since they can be
used to achieve some of the same tasks, there may not be two languages that encourage so
much debate about their relative strengths and weaknesses. In terms of results or efficiency,
both have the best references because they have been used to support some of the largest and
most profitable websites in the world.
ACCORDING TO THE NEEDS
Frequently, developers, especially those who work mainly with PHP or Java, argue over
the superiority of one language or another, concluding that such languages are
structurally equal and mutually exclusive; however, the way in which they work is
different, and deciding where one or the other is more efficient depends largely on the
task to be carried out, the objectives, and the development plan.
Among the main structural differences between PHP and Java, the difference between a
strong typing language and another, weak one stands out.
Java is strong, because it requires explicit statements to work and this is supported by
the compiler, that is, it has strict expectations of how the inputs and outputs are
expressed, and if they are not met, the developer will fail and the program will not work
until these errors are resolved.
PHP, on the other hand, is of weak typing, which makes it more flexible and more
tending to the common sense of how to carry out a task. While this may be a strength,
because it requires less formal knowledge, others consider it to complicate certain tasks,
particularly in object-oriented programming, with its lack of standards.
Finally, these features can favor Java as a good option when the development is
complicated and is based on teams of professional developers; since instead of making
work difficult, precisely defined standards allow for easier understanding and greater
efficiency. On the other hand, PHP is more accessible to inexperienced programmers.
It is important to note that the Facilcloud cloud, known as a polyglot platform, supports
most popular programming languages, most notably these two; so that developers who
are inclined to one or the other, can enjoy the advantages of this elastic cloud, as well as
a large number of opportunities and configurations for their applications.
Thank you