J2EE vs ASP.NET vs PHP
In this article, I wanted to compare the web application development
platforms which I have been using for recent years. My comparison has
no aim to make one platform better than others, or vice versa. These
are all my own thoughts and what I have experienced during the
development of web applications using the three platforms. It is open
to you to express your opinions and stands as a comment.

Scores mean
10 – Best.
9 – Very Good.
8 – Good.
Syntax
I
love Java syntax, a real object oriented syntax. PHP have some odd
characters like “->, ::” and function calls are made directly like
“substr, strreplace” which makes me feel like using procedural
language. For ASP.NET, I have been using VB.NET.
J2EE: 10, ASP.NET: 9, PHP: 8
Easy to Learn
Believe
or not, I learned PHP in two weeks. One day I decided to learn PHP and
visited PHP official website. The website had one question explaining
what is PHP and how and where to start. Manuals, documentation and
samples were all there and ready to download. To prepare development
environment was straight easy. ASP.NET was also easy to learn but bit
difficult than PHP. J2EE was the most difficult and long process for me.
J2EE: 8, ASP.NET: 9, PHP: 10
Development Speed
For
simple, small-size and CRUD applications, ASP.NET is the fastest one
because of the pre-implemented controls, components and APIs. In PHP,
if you use the right framework, it is also fast process.
J2EE: 8, ASP.NET: 10, PHP: 9
Platform
Although
PHP works best on LAMP (Linux, Apache, MySQL and PHP) environment, you
can deploy PHP web applications on other platforms such as Windows,
Solaris etc…
ASP.NET have only one choice; Windows. There is a Mono
tool for development and deployment of ASP.NET on Linux, but not ready
for enterprise use. J2EE runs best everywhere.
J2EE: 10, ASP.NET: 8, PHP: 9
Database
Simplest
theory is MySQL for PHP, Oracle for J2EE and MSSQL for ASP.NET. There
are many other good databases out there. You can use most of them with
all three languages by adding or installing appropriate drivers.
J2EE: 10 , ASP.NET: 10, PHP: 10
IDE – Integrated Development Environments
ASP.NET
has only one choice, Visual Studio which is very cool IDE but costs
puff ;) PHP have commercial and open source IDE-s. Most known PHP IDEs
are Zend Studio and PHP Coder as far as I know. J2EE has nice open
source choices as well as commercial. Eclipse is the most used and best
IDE I have ever used. With its plug-in structure, you can use Eclipse
almost for all purposes, even for PHP development. Beside Eclipse,
there are some more good IDE-s like IntelliJ, Netbeans, Sun Studio etc…
J2EE: 10 , ASP.NET: 10, PHP: 9
OOP – Object Oriented Support
J2EE and ASP.NET win here. PHP have OOP support in its latest versions.
J2EE: 10, ASP.NET: 10, PHP: 9
AOP – Aspect Oriented Support
J2EE have some AOP frameworks one of which I have used. I don’t know whether ASP.NET and PHP supports AOP or not.
J2EE: 10 , ASP.NET: 9, PHP: 9
Security
J2EE
is the most secure one I guess. Once, I had my PHP web application
hacked by someone. So PHP is secure only when you code secure ;) For
ASP.NET, people have some doubts because of previous versions of
windows security holes and hells. I didn’t experience any security
problem of ASP.NET till now.
J2EE: 10, ASP.NET: 9, PHP: 9
Performance
I
liked PHP Performance. For web applications I have ever developed, the
most satisfied application was written in PHP. J2EE was little bit
heavier to start, and consumes huge system resources. I have not tested
my ASP.NET applications against huge loads in real life. Till now, I
didn’t have any complaint about performance of my ASP.NET applications.
J2EE: 9 , ASP.NET: 9, PHP: 10
Web Server
ASP.NET
has only one choice; IIS. For PHP and J2EE, you have plenty of choices;
commercial and open source. Apache is the most popular one for PHP. Sun
AS, JBoss AS, Oracle AS, Weblogic, Tomcat, and some more are for J2EE.
Most of the J2EE servers cost high.
J2EE: 10, ASP.NET: 9, PHP: 10
Libraries and Frameworks
All
of three languages have third party libraries and frameworks. In PHP
and J2EE, most of the frameworks and libraries are open source or free.
In ASP.NET, most of the libraries and components out there are
commercial.
J2EE: 10, ASP.NET: 9, PHP: 10
Support and Community
There
are plenty of forums, mailing lists, user groups, communities,
developers, blogs and websites for all of three platforms. Most of the
ASP.NET support, documentation and forums are managed by Microsoft,
while PHP support is given by developers itself. J2EE have both
commercial and open source support groups.
J2EE: 10, ASP.NET: 10, PHP: 10
Cost
PHP
have big advantage on cost, both TCO and Maintenance. You can have IDE,
Web Server, Operating System and Database all for FREE ;)
For
ASP.NET development, first you have to pay for Visual Studio, then for
Windows Server and for MSSQL. I don’t how much it costs total because
my company already paid for them. For J2EE, you have choices. As I
mentioned before, there are commercial and open source tools and
software available. It depends on you and your company whether to use
commercial, supported alliances or not. For example, if you plan not to
pay, you can use Eclipse as an IDE, Tomcat or JBoss as a server, MySQL
as a database.
Vía: http://www.plentyofcode.com/2007/07/j2ee-vs-aspnet-vs-php.html
J2EE: 9, ASP.NET: 8, PHP: 10
Conclusion
These
three platforms are the most popular platforms for web development (of
course, here we should mention Ruby On Rails, Django and few more ;)
and they all have some advantages and disadvantages against each
others. You have to choose the right platform according to the project
behavior, size and scope, but also the criteria I listed above. I will
not sum the total scores which will be unfair since I didn’t list all
the available features of the platforms.
SourceForge.net es el directorio más grande de proyectos de software libre, organizaron el Sourceforge 2008 Community Choice Awards, que escoje a los mejores proyectos en diferentes categorías.
La lista de los ganadores es:
- Mejor proyecto: OpenOffice.org
- Mejor proyecto para la empresa: OpenOffice.org
- Mejor proyecto para educación: OpenOffice.org
- Proyecto que más probablemente será la próxima adquisición milmillonaria: phpMyAdmin
- Mejor proyecto para multimedia: VLC
- Mejor proyecto para jugones: XBMC
- Proyecto que más probablemente vaya a cambiar el mundo: Linux
- Mejor nuevo proyecto: Magento
- Proyecto que más probablemente vaya a ser acusado ambiguamente de infringimiento de patentes: WINE
- Proyecto que más probablemente conseguirá que sus usuarios sean demandados: eMule
- Mejor herramienta o utilidad para administradores: phpMyAdmin
- Mejor herramienta o utilidad para desarrolladores: Notepad++
http://www.genbeta.com/2008/07/25-lista-de-ganadores-de-los-premios-sourceforge-2008
Profesor de Sistemas y Tecnologías de Información, Instituto de Empresa
Doctor (Ph.D.) en Management (Information Systems), The John E. Anderson
Graduate School of Management at UCLAMaster en Dirección de Empresas (MBA), Instituto de Empresa
Estudios posdoctorales (CPCL), Harvard Business School
Licenciado en Ciencias Biológicas, Universidade de Santiago de Compostela
If you're an AdWords advertiser, Google Advertising Professional, or just interested in learning more about AdWords, you can use our free training to sharpen your AdWords knowledge. We offer both multimedia and text lessons to match your preferred learning style. While lessons are organized to build upon previous ones, you can skip between topics and take them in any way you like. After each lesson, test your knowledge by taking a quiz. Because so much is covered, you probably can't complete training in one sitting (without the help of caffeine), so return often. Content is updated regularly to keep you current.
http://www.google.com/adwords/learningcenter
- Desactivar la Sidebar: Dependiendo de la cantidad de gadgets que tengamos, la Sidebar de Vista puede ocupar desde 15 y hasta 80 MB de RAM (e incluso más), además de un porcentaje de procesador que variará de acuerdo a la clase de artilugios que tengamos instalados. Y a pesar de que en Genbeta ya os hemos mostrado algunos gadgets prácticos para hacer de la Sidebar un complemento útil y no un simple adorno, bien conviene desactivara si no le encontramos un buen uso. Además al tenerla configurada para que se inicie con Windows se aumenta considerablemente el tiempo de carga del sistema. Y también cabe recordar que la Sidebar esta diseñada para aprovechar mejor el espacio en pantallas panorámicas, por lo que al tenerla abierta con resoluciones del orden de 1024x800 más bien se convierte en un estorbo. Aquí en Genbeta ya os explicamos como desactivarla.
- Desactivar las vistas en miniatura: Así como Windows XP nos muestra miniaturas de nuestras imágenes para que tengamos una idea del contenido de ellas sin abrirlas, Windows Vista hace lo mismo pero con casi todos archivos de uso frecuente (PDF, documentos de Word, vídeos, música, etc.), lo cual resulta muy práctico en la mayoría de los casos, pero que en PCs con procesadores antiguos ralentiza notablemente la velocidad de carga en el Explorador de Windows. Para desactivar esta función vamos al Panel de Control, hacemos clic en Apariencia y Personalización, vamos a las Opciones de Carpeta, y en la pestaña Ver activamos la casilla “Mostrar siempe íconos, nunca vistas en miniatura”.
- Elegir un antivirus que ocupe pocos recursos: El antivirus que vamos a usar es más bien una elección personal, pero trata de no decantarte por aquellos que casi caen en la categoría de whaleware (como Norton o Panda). Es preferible usar antivirus livianos como NOD 32 y avast!. Tampoco se recomienda instalar “suites de protección total” (aquellas que integran antispyware, firewall, etc.) ya que Windows Vista ya incluye excelentes herramientas de seguridad, solo le falta que le instalemos un antivirus (e incluso si tenemos el Vista de 64-bits podemos dejar el PC sin antivirus, según los desarrolladores de Microsoft, claro).
- Usar una unidad de memoria con ReadyBoost: A pesar de que algunos ponen en duda su eficacia, diversos Benchmarks han comprobado que al usar una unidad de memoria externa de 2GB con ReadyBoost se puede incrementar el rendimiento del sistema hasta en un 10%. Para estos fines podemos usar tarjetas SD, pendrives, memorias flash y dispositivos similares (siempre y cuando sean de rápido acceso y compatibles con ReadyBoost).
- Desactivar procesos que se inicen junto con Windows:
Desde mi opinión esta es, por lejos, la medida más efectiva. Resulta
que a medida que vamos instalando aplicaciones muchas de estas se van
tomando “atribuciones que no les corresponden” y se creen con el
derecho de poder iniciarse junto a Windows sin que las hayamos
autorizado. Windows Defender suele avisarnos de los cambios en la
configuración de inicio, pero cuando las aplicaciones están firmadas
todo ocurre a espaldas del usuario. La solución a esto es muy fácil,
vamos al menú inicio, escribimos
msconfigen la caja de búsqueda y abrimos la Utilidad de Configuración del Sistema, ahí vamos a la pestaña Inicio de Windows y vamos desactivando todos aquellos elementos que no queremos que se abran automáticamente al iniciar el sistema. - Activar el modo de rendimiento avanzado: Vista incluye un “modo de rendimiento avanzado” que podemos activar en los discos duros SATA para hacer que la escritura de datos sea más rápida, esto gracias a que se pasan los datos a la caché de la memoria RAM antes de escribirlos en el disco rígido. Para activarlo debemos ir al Administrador de dispositivos (escribe “dispositivos” en la caja de búsqueda del Menú Inicio), seleccionamos el Disco Duro en el que deseamos activar la opción, hacemos clic en Propiedades y vamos a la pestaña Directivas. Ahí activamos la casilla que dice “Habilitar rendimiento avanzado”. Ten en cuenta que al hacer eso se aumenta el riesgo de perder información frente un corte de energía, asi que si no cuentas con un sistema de respaldo es conveniente dejarla desactivada.
Vía: http://www.genbeta.com/2008/06/23-mejorando-el-rendimiento-de-windows-vista-cuales-trucos-sirven-y-cuales-no

