Liberado oficialmente PHP 5.4

Desde hace años esperabamos una actualizacion de php, por fin con nosotros PHP 5.4.

Principales características de PHP 5.4

Introducción de Traits, un nuevo método para la reutilización de código para reducir las limitaciones de la herencia simple propias de este lenguaje. Ahora los desarrolladores podrá reutilizar a su gusto métodos sobre varias clases independientes y pertenecientes a clases jerárquicas distintas.

Sintaxis corta para los arreglos, ya no será necesario usar el constructor array() de manera explicita para crear arreglos o vectores.

La etiqueta < ?= ahora estará disponible en todo momento. Está permitido el acceso a miembros de la clase en la instanciación, como por ejemplo, (new Foo)->bar().

La sintasix Class::{expr}() está soportada a partir de ahora.

Agregado el formato de número binario, e.j. 0b001001101.

Ahora es posible dar seguimiento a la carga de archivos gracias a una extensión en la variable de sesión.

PHP 5.4 cuenta con un servidor web integrado lo que facilitará enormemente el trabajo de los desarrolladores. Se recomienda su uso únicamente en fase de desarrollo más no así en la de producción.

Código base más limpio, ya que fueron removidas múltiples características que habían sido deprecadas anteriormente.

Incremento en la velocidad y menor consumo de memoria. Los sitios desarrollados con PHP 5.4 cargarán mucho más rápido.

Sigue leyendo

Open Source Journalism: Journalism as a network

Journalism can, should, and will work when we can all join in. This isn’t about citizens or amateurs vs. professionals. We’re all in this together. Journalism is a collaborative venture. Journalism is a network.–“#5w@www: viejas reglas para un nuevo periodismo”I Jornadas de redacción periodística en medios digitales

Ver en Youtube: Open Source Journalism: Journalism as a network. (Prof. MA Joseph McMahon,USJ)

Opensource Development, Open source For Small Business

Opensource is widely accepted solutions for big to small businesses. The lure for opensource is its price. Opensource software is software that is developed by people with a real interest in developing applications for everyone to use for free.

It is free to use and usually distributed for free. Some companies packages it up so it can be easy to install and for this they charge small fees. While some companies sell the product and give support for limited time.

Most of the opensource product develop for the Linux platform. Before accepting Linux as operating system assure that Linux support is adequate if needed. Taking support from the same person who sold you the software is not a good sign after all. He’ll end up owing your business.

Operating cost of opensource is extremely low. You need not to spend anything on license fee or server fees. Voluntary nature of developers further reduce the cost. There is no need of any secrecy for the matter such as audits with the opensource. There are no pesky encryption or activation code to download. You need not worry about to pay for any upgrade or for improved version which is already free.

If you want to evaluate opensource for small businesses you have to establish an evaluation system for opensource. The first step is to set up a test bed server. This can be older server which can be reliable and fast enough to approximate in real world results. Most of the opensource software is Linux based so you have to decide on Linux distribution. Red Hat Linux and Suse Linux are two of the best and both are supported by the companies that distribute them.

Now, you need a development environment and a SQL server. MySQL is the best choice. You need a distribution package. The best for Apache, MySQL and PHP is XAMPP which can be downloaded at apachefriends.org. Just install in piece by piece. Make sure that application you are considering has external support. Also assure that application has user manual. Many open source packages are released with nothing more than a few sentences describing the installation process.

Read more: Opensource Development – Open source For Small Business